5157 Commits

Author SHA1 Message Date
Matthias Ringwald
aa4d01c707 util.h: remove print_bd_addr 2016-02-10 13:43:31 +01:00
Matthias Ringwald
b1c4ef5fa8 util.h: move crc8 to rfcomm 2016-02-10 13:38:47 +01:00
Matthias Ringwald
caed94df78 util.h: move some to hci.h and btstack_link_key_db_fs 2016-02-10 13:35:25 +01:00
Matthias Ringwald
8974fcd6cf move Bluetooth related types to bluetooth.h and BTstack types to btstack_defines.h 2016-02-10 11:35:31 +01:00
Matthias Ringwald
ab49db6128 linked_list: drop user data field 2016-02-10 10:57:25 +01:00
Matthias Ringwald
a3a586663a Merge branch 'master' into ble-api-cleanup 2016-02-09 09:34:59 +01:00
Matthias Ringwald
0af43532f7 sm_minimal: fix compile 2016-02-09 09:33:41 +01:00
Matthias Ringwald
746ccb7e4a rename sdp -> sdp_server 2016-02-07 00:16:04 +01:00
Matthias Ringwald
701e3307de hci: notify if SCO can send now - triggered by DAEMON_EVENT_HCI_PACKET_SEND and if can send sco now is true 2016-02-07 00:13:18 +01:00
Matthias Ringwald
3bc639ce9b hci: notify if SCO can send now - if SCO flow control is enabled 2016-02-06 22:58:23 +01:00
Matthias Ringwald
1b89a84bb7 use L2CAP/RFCOMM_EVENT_CAN_SEND_NOW instead of DAEMON_EVENT_HCI_PACKET_SEND 2016-02-05 22:36:46 +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
9d04d3a7d7 hci: add hci_can_send_acl_classic_packet_now and hci_can_send_acl_le_packet_now 2016-02-05 22:07:34 +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
19448c0b45 att_dispatch: wrap calls to l2cap_can_send_fixed_channel for att client/server 2016-02-05 21:15:37 +01:00
Matthias Ringwald
5628cf69b5 l2cap: use table for fixed channels 2016-02-05 19:59:31 +01:00
Matthias Ringwald
b31d33b270 rfcomm: emit RFCOMM_EVENT_CHANNEL_CAN_SEND_NOW after open or failed rfcomm_can_send_now(..) request 2016-02-05 19:33:07 +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
b072ba3345 l2cap: document events, add L2CAP_CAN_SEND_NOW, generate events 2016-02-05 14:38:48 +01:00
Matthias Ringwald
fc376368bd rfcomm: drop rfcomm_register_packet_handler and send events via per channel handler 2016-02-05 12:02:46 +01:00
Matthias Ringwald
ccb8ddfbd8 rfcomm: pass packet handler for create service or channel. store in service and channel structs 2016-02-05 11:50:47 +01:00
Matthias Ringwald
7298da4764 l2cap: clarify l2cap_register_packet_handler docu 2016-02-05 11:12:35 +01:00
Matthias Ringwald
54b584ff87 hci: remove callback for local information - use hci_add_event_handler instead 2016-02-04 18:06:14 +01:00
Matthias Ringwald
b6e96f1452 gatt_client: use btstack_packet_handler instead of (*fn)(type,packet,size) for events 2016-02-04 17:58:00 +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
f3abff6765 gatt_client: don't forward lower layer events to own clients 2016-02-04 17:06:35 +01:00
Matthias Ringwald
dc98f6d35d att_server.h: improve docu 2016-02-04 16:55:48 +01:00
Matthias Ringwald
65b44ffd3b sm, att_server: don't forward events from lower layers. 2016-02-04 16:47:17 +01:00
Matthias Ringwald
406722e45a sm: replace sm_register_packet_handler with sm_add_event_handler 2016-02-04 16:20:00 +01:00
Matthias Ringwald
127fa568c1 test/iopt: fix compile 2016-02-04 16:17:04 +01:00
Matthias Ringwald
acc6806305 hsp_ag: fix compile 2016-02-04 16:16:18 +01:00
Matthias Ringwald
89a78d34c5 sm: add sm_add_event_handler 2016-02-04 11:35:25 +01:00
Matthias Ringwald
95cd7e0a67 hsp hs: fix compile 2016-02-04 11:35:02 +01:00
Matthias Ringwald
357a19ed8d bnep: don't forward lower layer packets to registered packet handler 2016-02-03 22:48:49 +01:00
Matthias Ringwald
0b4d02b7ed panu demo: fix compile 2016-02-03 22:31:39 +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
1a389cdc72 att_dispatch: don't forward HCI Events to ATT Server. ATT Server registers for HCI Events 2016-02-03 19:58:50 +01:00
Matthias Ringwald
361b1363b7 att_dispatch: don't forward HCI Events to ATT Client. GATT Client register for HCI Events 2016-02-03 18:36:45 +01:00
Matthias Ringwald
ca7f8243b0 att_dispatcher: register directly for HCI Events 2016-02-03 18:31:40 +01:00
Matthias Ringwald
f2e5676f2d le counter example: better console feedback 2016-02-03 18:30:13 +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
6f792faabe sm: drop HCI_STATE_WORKING hack 2016-02-03 17:42:42 +01:00
Matthias Ringwald
72b5080138 ancs: fix demo. add SM events. Update to MODULE_event_... scheme 2016-02-03 16:10:30 +01:00
Matthias Ringwald
c6a2767bed Merge branch 'master' into ble-api-cleanup 2016-02-03 15:52:19 +01:00
Matthias Ringwald
7f4e0b55e0 ancs client demo: fix pairing confirm 2016-02-03 15:52:00 +01:00
Matthias Ringwald
09bb527008 libusb: hci dump to file again 2016-02-03 14:55:49 +01:00