833 Commits

Author SHA1 Message Date
Matthias Ringwald
6c927b22a9 sdp_query: pass in packet handler on query instead of global registration. integrate sdp_parser into sdp_client 2016-02-17 20:21:21 +01:00
Matthias Ringwald
66a048ab90 Merge branch 'master' into ble-api-cleanup 2016-02-15 22:06:55 +01:00
Matthias Ringwald
e50ca9fbb8 examples: delete .exe on make clean 2016-02-15 21:07:35 +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
bd23fc3eaf hfp_ag: API review 2016-02-12 15:36:11 +01:00
Matthias Ringwald
9c662c9bc0 gatt_client: drop subclient struct and id. pass in callback for requests. new gatt_client_listen_for_characteristic_value_updates for notifications and indications with client provided storage 2016-02-12 14:22:33 +01:00
Matthias Ringwald
591423b2a5 att -> att_db 2016-02-11 21:23:06 +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
c1d1ac5a3b gap_le_advertisements: fix endianess for services with UUID128 in advertisement 2016-02-11 15:46:51 +01:00
Matthias Ringwald
2b60490204 gap_le_advertisements: fix endianess for services with UUID128 in advertisement 2016-02-11 15:44:35 +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
9c80e4cce8 util.h: rename swapX into reverse_x 2016-02-11 14:37:22 +01:00
Matthias Ringwald
73988a59ce util.h: use functions instead of static inline/macros. sscan_bd_addr -> sscanf_bd_addr 2016-02-11 14:19:26 +01:00
Matthias Ringwald
a4581e677d Merge branch 'master' into ble-api-cleanup 2016-02-11 10:37:19 +01:00
Matthias Ringwald
07fdcd55d7 spp_and_le_counter: allow writes on test characteristic 2016-02-11 10:35:30 +01:00
Matthias Ringwald
e1a125df32 util.h: new names uuid_has_bluetooth_prefix();uuid_add_bluetooth_prefix() 2016-02-10 17:12:50 +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
c9b8fdd998 fix typo in big_endian_read_32 2016-02-10 17:03:30 +01:00
Matthias Ringwald
1b0524c477 util.h: remove printUUID128 2016-02-10 17:01:26 +01:00
Matthias Ringwald
aa4d01c707 util.h: remove print_bd_addr 2016-02-10 13:43:31 +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
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
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
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
65b44ffd3b sm, att_server: don't forward events from lower layers. 2016-02-04 16:47:17 +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
f2e5676f2d le counter example: better console feedback 2016-02-03 18:30:13 +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
fb37a842ea hci: replace hci_register_packet_handler with hci_add_event_handler 2016-02-03 14:09:26 +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
596d62218e sdp_query_rfcomm: fix compile 2016-02-01 22:05:44 +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
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
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
d6549a6e45 fix compile of l2cap/rfcomm-name examples 2016-01-21 21:20:22 +01:00