298 Commits

Author SHA1 Message Date
Matthias Ringwald
95d2c8f48d l2cap: avoid potential null dereference in l2cap_rtx_timeout 2016-07-01 11:30:53 +02:00
Matthias Ringwald
288636a2d1 l2cap: correct list of fixed channels supported 2016-05-18 11:15:07 +02:00
Matthias Ringwald
d1fd2a8811 l2cap: fix event forwarding failure by previous commit 2016-04-21 21:23:31 +02:00
Matthias Ringwald
3d50b4ba50 hci: use btstack_packet_handler_t for acl and sco callbacks 2016-04-21 20:47:37 +02:00
Matthias Ringwald
0b9d7e785b don't emit X_EVENT_CAN_SEND_NOW if x_can_send_now returns false 2016-04-01 14:15:39 +02:00
Matthias Ringwald
30725612ca l2cap: add l2cap_request_can_send_now_event and don't send L2CAP_EVENT_CAN_SEND_NOW on channel open 2016-03-31 15:12:40 +02:00
Matthias Ringwald
4ced4e8cb8 gap: pass le_connection_parameter_range_t as pointer 2016-03-23 14:46:47 +01:00
Matthias Ringwald
0e2df43f5c event: introduce hci_event_packet_get_type 2016-02-19 14:52:36 +01:00
Matthias Ringwald
fc64f94a83 use hci_con_handle_t more 2016-02-19 13:57:49 +01:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00
Matthias Ringwald
63fa3374ea hci_transport: send HCI_EVENT_TRANSPORT_PACKET_SENT when buffer can be re-used, send HCI_EVENT_SCO_CAN_SEND_NOW if that's separate 2016-02-18 14:48:41 +01:00
Matthias Ringwald
d8e8f12ab0 gap.h: use gap_ instead of le_central_ or gap_le_ 2016-02-12 17:04:41 +01:00
Matthias Ringwald
073bd0fad0 hci: COMMAND_COMPLETE_EVENT->HCI_EVENT_IS_COMMAND_COMPLETE. COMMAND_STATUS_EVENT->HCI_EVENT_IS_COMMAND_STATUS 2016-02-11 16:12:55 +01:00
Matthias Ringwald
724d70a2cf bt_flip_addr(dest,src) -> reverse_bd_addr(src,dest) 2016-02-11 15:20:08 +01:00
Matthias Ringwald
058e3d6b6b util.h: use lower case for bd_addr_copy and bd_addr_cmp 2016-02-10 17:09:24 +01:00
Matthias Ringwald
773c410630 att_dispatch: forward L2CAP_EVENT_CAN_SEND_NOW to ATT Client & Server 2016-02-05 22:19:38 +01:00
Matthias Ringwald
34e7e5770f l2cap: emit L2CAP_EVENT_CAN_SEND_NOW also for registered fixed channels 2016-02-05 22:10:12 +01:00
Matthias Ringwald
2125de0963 hci: extracted hci_number_free_acl_slots_for_connection_type 2016-02-05 21:38:24 +01:00
Matthias Ringwald
adbe29e86c l2cap: add fixed l2cap channel id to l2cap_can_send_fixed_channel_now 2016-02-05 21:20:17 +01:00
Matthias Ringwald
5628cf69b5 l2cap: use table for fixed channels 2016-02-05 19:59:31 +01:00
Matthias Ringwald
33c40538a6 l2cap: emit L2CAP_EVENT_CHANNEL_CAN_SEND_NOW after open or failed l2cap_can_send_now(..) request 2016-02-05 17:37:51 +01:00
Matthias Ringwald
d9a7306a10 hci/sm: use btstack_packet_handler instead of (*fn)(type,packet,size) for events 2016-02-04 17:45:02 +01:00
Matthias Ringwald
c5b64319fd l2cap: don't forward HCI to l2cap packet handler. Replace l2cap_register_packet_handler with hci_add_event_handler. Fix tests 2016-02-03 21:55:36 +01:00
Matthias Ringwald
17a9b5545c l2cap: replace l2cap_dispatch with l2cap_dispatch_to_channel 2016-02-03 20:21:19 +01:00
Matthias Ringwald
bb4c225d53 l2cap: don't forwared HCI Events to L2CAP Connectionless Packet Handler 2016-02-03 20:10:26 +01:00
Matthias Ringwald
ca7f8243b0 att_dispatcher: register directly for HCI Events 2016-02-03 18:31:40 +01:00
Matthias Ringwald
e03e489a86 sm: register for HCI Events directly. don't forward HCI Events to for SM protocol in l2cap 2016-02-03 17:59:00 +01:00
Matthias Ringwald
fb37a842ea hci: replace hci_register_packet_handler with hci_add_event_handler 2016-02-03 14:09:26 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
5611a760af use for event types 2016-01-30 23:58:36 +01:00
Matthias Ringwald
787071125c Merge branch 'master' into ble-api-cleanup 2016-01-28 15:04:34 +01:00
Matthias Ringwald
83e7cdd948 l2cap: add l2cap_can_send_prepared_packet_now 2016-01-28 14:54:03 +01:00
Matthias Ringwald
a9a4c40924 structure btstack-config.h 2016-01-21 15:33:36 +01:00
Matthias Ringwald
f2924d79ff l2cap: improve header documentation 2016-01-21 12:49:06 +01:00
Matthias Ringwald
add0254b7d drop _internal from doc and remaining places 2016-01-21 12:21:03 +01:00
Matthias Ringwald
ce8f182ecc l2cap: drop _internal 2016-01-21 12:03:39 +01:00
Matthias Ringwald
ec820d7756 prefix data_source_t and timer_source_t with btstack 2016-01-20 16:00:45 +01:00
Matthias Ringwald
528a4a3b3e prefix run_loop_ functions with btstack_ 2016-01-20 15:58:46 +01:00
Matthias Ringwald
8f2a52f4d9 forgot to add files in earlier commit 2016-01-20 15:38:37 +01:00
Matthias Ringwald
16ece13520 prefix debug with btstack_ 2016-01-20 14:52:45 +01:00
Matthias Ringwald
665d90f25e prefixed all linked list types and functions with btstack_ 2016-01-20 14:50:38 +01:00
Matthias Ringwald
2c539f6e7e rename bk_linked_list_t to btstack_linked_list_t 2016-01-20 14:37:23 +01:00
Matthias Ringwald
a449c50a68 remove hand out credit code in l2cap/rfcomm. 2016-01-05 17:21:16 +01:00
Matthias Ringwald
8736ab0cf2 prefix linked_list 2015-12-22 21:48:13 +01:00
Matthias Ringwald
c0be408cdc Merge branch 'master' into ble-api-cleanup 2015-12-18 16:36:10 +01:00
Matthias Ringwald
04c626e393 deamon: remove l2cap_block_credits functionality 2015-12-18 16:27:40 +01:00
Matthias Ringwald
3aff022f9b don't track client packets granted in l2cap and rfcomm 2015-12-18 16:14:23 +01:00
Matthias Ringwald
1e35c04d3c Merge branch 'master' into ble-api-cleanup 2015-12-09 16:44:26 +01:00
Matthias Ringwald
b26c300399 l2cap: do l2cap_run() on DAEMON_EVENT_HCI_PACKET_SENT, too 2015-12-06 22:10:04 +01:00
Matthias Ringwald
29b32c60a3 l2cap: ignore packets_granted for outgoing data 2015-12-06 21:52:25 +01:00