853 Commits

Author SHA1 Message Date
Matthias Ringwald
0e2df43f5c event: introduce hci_event_packet_get_type 2016-02-19 14:52:36 +01:00
Matthias Ringwald
591e55515a ancs_client: use btstack_packet_handler_t 2016-02-19 14:05:39 +01:00
Matthias Ringwald
711e6c8033 use hci_con_handle_t more 2016-02-19 11:24:51 +01:00
Matthias Ringwald
a59bfbf79c events: enable HCI, HSP, HFP events 2016-02-19 11:11:57 +01:00
Matthias Ringwald
2531c97e16 daemon: move examples from example/daemon to platform/daemon/example. fix mtk compile 2016-02-19 10:33:52 +01:00
Matthias Ringwald
3e8ca98812 examples: add quick readme 2016-02-19 09:56:53 +01:00
Matthias Ringwald
bcf00d8fa4 examples: move out of embedded subfolder 2016-02-19 09:46:37 +01:00
Matthias Ringwald
e10ce42608 introduce meta event for ANCS Client events 2016-02-18 20:59:42 +01:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00
Matthias Ringwald
313e337b78 event: support Service, Characteristic, Characteristic Descriptor in event generator needed for GATT Events. use new getter in examples 2016-02-18 16:16:46 +01:00
Matthias Ringwald
6ba2ad2202 gatt_client: extract functions to deserialize gatt client structs and provide in gatt_client 2016-02-18 15:46:17 +01:00
Matthias Ringwald
d25c33e5a2 gatt_client: prefix gatt structs with gatt_client 2016-02-18 15:29:33 +01:00
Matthias Ringwald
f31a71cf4b sco: have h2_libusb emit HCI_EVENT_SCO_CAN_SEND_NOW when outgoing buffer available, send as long as can_send_now is true 2016-02-18 15:05:38 +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
827b1c43e5 use DAEMON prefix for daemon events 2016-02-18 12:24:44 +01:00
Matthias Ringwald
023f27646b sdp_query_util: inline into sdp_util and sdp_client 2016-02-18 12:10:47 +01:00
Matthias Ringwald
eda0480f01 Merge branch 'master' into ble-api-cleanup 2016-02-18 10:30:06 +01:00
Matthias Ringwald
e505764193 sdp_query: emit SDP_EVENT_QUERY_COMPLETE with error SDP_QUERY_BUSY 2016-02-17 20:38:37 +01:00
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
Milanka Ringwald
fe9c0a514f Merge branch 'master' of https://github.com/bluekitchen/btstack 2016-02-17 12:09:46 +01:00
Milanka Ringwald
0ebf25ba54 hsp docu, documented event types in hci_cmds.h 2016-02-17 12:07:24 +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