240 Commits

Author SHA1 Message Date
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
871e126195 sdp_client: remove sdp_parser.c references 2016-02-17 20:54:21 +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
66a048ab90 Merge branch 'master' into ble-api-cleanup 2016-02-15 22:06:55 +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
724d70a2cf bt_flip_addr(dest,src) -> reverse_bd_addr(src,dest) 2016-02-11 15:20:08 +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
0ca398bf08 util.h: rename swapX into reverse_x 2016-02-11 14:33:35 +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
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
746ccb7e4a rename sdp -> sdp_server 2016-02-07 00:16:04 +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
54b584ff87 hci: remove callback for local information - use hci_add_event_handler instead 2016-02-04 18:06:14 +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
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
09bb527008 libusb: hci dump to file again 2016-02-03 14:55:49 +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
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
2a989d8add Merge branch 'master' into ble-api-cleanup 2016-01-28 20:42:00 +01:00
Matthias Ringwald
787071125c Merge branch 'master' into ble-api-cleanup 2016-01-28 15:04:34 +01:00
Matthias Ringwald
b86fe33f44 libusb: make compile without SCO 2016-01-27 15:30:31 +01:00
Matthias Ringwald
fa8a3a246f libusb: remove unused define 2016-01-27 15:29:54 +01:00
Matthias Ringwald
24b3c62931 hci_transport: cleanup struct, add init(void *transport_config) 2016-01-24 20:10:17 +01:00
Matthias Ringwald
67e0331a16 libusb: fix compile 2016-01-24 19:12:10 +01:00
Matthias Ringwald
80b9a8caa6 add ENABLE_CLASSIC to all examples 2016-01-24 18:09:29 +01:00
Matthias Ringwald
2c2bf480af posix-h4: autodetect TI CC256x, CSR, STM STLC2500d, TC2566x chipsets 2016-01-22 21:07:13 +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
19084a7dda add missing const specifiers 2016-01-22 17:52: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
faa6c1f625 renamed bt_control_chipsetname into btstack_chipset_chipsetname. fix some builds 2016-01-22 17:01:08 +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