Commit Graph

4932 Commits

Author SHA1 Message Date
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
Matthias Ringwald
fb37a842ea hci: replace hci_register_packet_handler with hci_add_event_handler 2016-02-03 14:09:26 +01:00
Matthias Ringwald
1ef6bb52dc hci: dispatch events via callback registration 2016-02-03 13:47:30 +01:00
Matthias Ringwald
d6b0666115 hci: add hci_add_event_handler, tunnel events through hci_emit_event and acl packets through hci_emit_acl_packet 2016-02-03 12:23:16 +01:00
Matthias Ringwald
8d471f5c5a add btstack_packet_callback_registration_t 2016-02-03 11:59:48 +01:00
Matthias Ringwald
3b1eb0e2e9 Merge branch 'master' into ble-api-cleanup 2016-02-03 11:14:23 +01:00
Matthias Ringwald
bcca056723 hci transport: verify ACL packet payload len 2016-02-03 11:12:57 +01:00
Matthias Ringwald
af204097d5 daemon/ios: use btstack_device_name_db_fs or _cocoa if appropriate 2016-02-02 22:32:29 +01:00
Matthias Ringwald
ea809503bf iOS: fix daemon compile 2016-02-02 22:11:15 +01:00
Matthias Ringwald
a98592bc68 split remote_device_db into btstack_link_key_db and btstack_device_name_db 2016-02-02 21:57:10 +01:00
Matthias Ringwald
c4786d381e btstack_linked_list: remove user data field 2016-02-01 23:06:54 +01:00
Matthias Ringwald
91a977e85b linked_list: stop using linked lit item context in hci, sm,bnep, and rfcomm 2016-02-01 22:18:59 +01:00
Matthias Ringwald
596d62218e sdp_query_rfcomm: fix compile 2016-02-01 22:05:44 +01:00
Matthias Ringwald
fd93975622 run_loop: add context to timer source 2016-02-01 22:03:18 +01:00
Matthias Ringwald
68d15bfc4c Merge branch 'master' into ble-api-cleanup 2016-02-01 16:51:58 +01:00
Matthias Ringwald
8ab4656a5b rfcomm: fix checks for l2cap can send now 2016-02-01 16:51:45 +01:00
Matthias Ringwald
4f396e87e6 remote name caching: moved from hci.c into daemon.c 2016-02-01 12:23:42 +01:00
Matthias Ringwald
2c8dc43e81 conversion: basic find/sed script for renames 2016-01-31 20:38:52 +01:00
Matthias Ringwald
0e537d1e66 move btstack_version.h to platform/daemon and only use by daemon 2016-01-31 20:31:52 +01:00
Matthias Ringwald
591605b768 sdp_query: remove context, update daemon 2016-01-31 20:16:56 +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
a481587475 ancs_client: drop ancs_client_event_t 2016-01-29 22:35:46 +01:00
Matthias Ringwald
36f83f4111 java: fix L length fields to be 16 bit 2016-01-29 22:02:36 +01:00
Matthias Ringwald
4de250b4e0 sdp_parser: rename SDP_QUERY_ATTRIBUTE_VALUE -> SDP_QUERY_ATTRIBUTE_BYTE. Use SDP_QUERY_ATTRIBUTE_VALUE for daemon events 2016-01-29 21:58:46 +01:00
Matthias Ringwald
a874746709 sdp_parser: drop sdp_query_event_t finally 2016-01-29 21:31:07 +01:00