103 Commits

Author SHA1 Message Date
Matthias Ringwald
efda0b48f9 sdp_util: extract sdp_create_spp_service into spp_server and use spp_create_sdp_record 2016-03-17 11:24:38 +01:00
Matthias Ringwald
763c9b6f30 sdp_client: rename sdp_query_rfcomm -> sdp_client_query_rfcom 2016-03-17 10:58:11 +01:00
Matthias Ringwald
7fbb5f59ef sdp_client: use sdp_client_query prefix for rfcomm queries 2016-03-17 10:42:14 +01:00
Matthias Ringwald
045013fe99 java: use streamline event names, GAP_LE_EVENT_ADVERTISING_REPORT -> GAP_EVENT_ADVERTISING_REPORT 2016-03-07 17:19:53 +01:00
Matthias Ringwald
80ccb146b2 daemon: fix rfcomm_service_db_memory.c 2016-03-04 15:26:04 +01:00
Matthias Ringwald
ed2540d4a9 java: fix path to binding generator 2016-03-04 14:52:44 +01:00
Matthias Ringwald
463a5e8dac daemon: fix example compile 2016-03-04 14:45:37 +01:00
Matthias Ringwald
a6efb91912 rewrite sscanf_bd_addr to be sscanf free 2016-03-04 14:21:22 +01:00
Matthias Ringwald
8257e5f9e1 java: move binding/java into platform/daemon as it is not a binding for the core stack 2016-02-19 21:15:12 +01:00
Matthias Ringwald
0e2df43f5c event: introduce hci_event_packet_get_type 2016-02-19 14:52:36 +01:00
Matthias Ringwald
fc64f94a83 use hci_con_handle_t more 2016-02-19 13:57:49 +01:00
Matthias Ringwald
711e6c8033 use hci_con_handle_t more 2016-02-19 11:24:51 +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
e2334cdccc daemon: remove unneccessary events 2016-02-18 17:23:42 +01:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +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
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
bdd66e8c7b daemon: fix compile 2016-02-17 21:08:16 +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
Matthias Ringwald
d8e8f12ab0 gap.h: use gap_ instead of le_central_ or gap_le_ 2016-02-12 17:04:41 +01:00
Matthias Ringwald
591423b2a5 att -> att_db 2016-02-11 21:23:06 +01:00
Matthias Ringwald
2d5e09d6d4 hci: set link_key_db via hci_set_link_key_db instead of via hci_init(). 2016-02-11 20:10:17 +01:00
Matthias Ringwald
b83d5eab6c hci: mark most hci_emit_... as private 2016-02-11 16:01:44 +01:00
Matthias Ringwald
8314c363bc introduce log_info_key and log_info_hexdump, move prototypes to btstack_debug.h 2016-02-11 14:53:59 +01:00
Matthias Ringwald
9c80e4cce8 util.h: rename swapX into reverse_x 2016-02-11 14:37:22 +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
746ccb7e4a rename sdp -> sdp_server 2016-02-07 00:16:04 +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
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
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
72b5080138 ancs: fix demo. add SM events. Update to MODULE_event_... scheme 2016-02-03 16:10:30 +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
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
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
24b3c62931 hci_transport: cleanup struct, add init(void *transport_config) 2016-01-24 20:10:17 +01:00