2378 Commits

Author SHA1 Message Date
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
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
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
bcca056723 hci transport: verify ACL packet payload len 2016-02-03 11:12:57 +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
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
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
Matthias Ringwald
4225393c87 sdp_parser: replace sdp_query_attribute_value_event_t with regular hci event 2016-01-29 20:47:17 +01:00
Matthias Ringwald
fd2eb611c5 sdp_parser: replace sdp_query_complete_event_t with regular hci event 2016-01-29 18:30:07 +01:00
Matthias Ringwald
7bd8e93b3a sdp_parser: replace sdp_query_rfcomm_service_event_t with regular hci event 2016-01-29 18:06:32 +01:00
Matthias Ringwald
bf1b35bfe3 util: add swap48. don't use array notation in arguments 2016-01-29 17:26:18 +01:00
Matthias Ringwald
3ad6e8fa85 add eHCILL warning to hci_transport_h4_dma 2016-01-28 20:41:09 +01:00
Matthias Ringwald
7e2526228d Merge branch 'master' into ble-api-cleanup 2016-01-28 15:56:33 +01:00
Matthias Ringwald
787071125c Merge branch 'master' into ble-api-cleanup 2016-01-28 15:04:34 +01:00
Matthias Ringwald
92feaef781 rfcomm: release outgoing packet buffer in case of error in l2cap_send_prepared 2016-01-28 14:54:43 +01:00
Matthias Ringwald
83e7cdd948 l2cap: add l2cap_can_send_prepared_packet_now 2016-01-28 14:54:03 +01:00
Matthias Ringwald
24b3c62931 hci_transport: cleanup struct, add init(void *transport_config) 2016-01-24 20:10:17 +01:00
Matthias Ringwald
4af9a48d93 Merge branch 'master' into ble-api-cleanup 2016-01-24 19:11:51 +01:00
Matthias Ringwald
1aba866f2c add SCO handle to HSP_SUBEVENT_AUDIO_CONNECTION_COMPLETE 2016-01-24 19:07:46 +01:00
Matthias Ringwald
9cae807ed4 Merge branch 'master' into ble-api-cleanup 2016-01-24 18:18:54 +01:00
Matthias Ringwald
cd724cb720 hci: better debug output for baud rate change 2016-01-22 22:23:31 +01:00
Matthias Ringwald
c0cdcfe728 hci: added local version information callback to allow for runtime driver selection 2016-01-22 20:55:43 +01:00
Matthias Ringwald
d0b87bef91 ios: fix compile, streamine function names 2016-01-22 17:44:04 +01:00
Matthias Ringwald
fb55bd0acc remove btstack_control_h from hci_init. mark btstack_control, hci_transport, and hci_transport_config as const 2016-01-22 17:16:06 +01:00
Matthias Ringwald
46f70d846f bt_control_t: drop hw error field 2016-01-22 16:38:35 +01:00
Matthias Ringwald
a9d55de2af bt_control_t: drop name field 2016-01-22 16:37:22 +01:00
Matthias Ringwald
289689b72b bt_control: remove valid field 2016-01-22 16:35:02 +01:00
Matthias Ringwald
3fb36a2984 chipset: remove all chipset functions from btstack_control.h and use from hci.c 2016-01-22 15:41:59 +01:00
Matthias Ringwald
c67501cb47 hci: add hci_set_chipset and set it for all ports 2016-01-22 14:55:13 +01:00
Matthias Ringwald
58360f586d chipset: add btstack_chipset to all chipset drivers 2016-01-22 14:33:46 +01:00
Matthias Ringwald
0af2bb27be add btstack_chipset_t 2016-01-22 11:19:59 +01:00
Matthias Ringwald
1f5f40f9ae rfcomm: enable rfcomm_dump_channels even if EMBEDDED 2016-01-21 22:51:11 +01:00