394 Commits

Author SHA1 Message Date
Matthias Ringwald
ed361f5fa1 return true for can send SCO packet now if synchronous flow control is not enabled 2015-11-11 15:53:48 +01:00
Matthias Ringwald
d950d659ec add hci_set_sco_voice_setting 2015-11-11 13:44:13 +01:00
Matthias Ringwald
0480a587e6 use 8 bit signed audio frames in SCO 2015-11-11 12:09:00 +01:00
Matthias Ringwald
8abbe8b588 add hci_register_sco_packet_handler and forward SCO packets to it 2015-11-11 12:02:21 +01:00
Matthias Ringwald
a1bf5ae75a add gap_get_connection_type 2015-11-11 11:51:17 +01:00
Matthias Ringwald
39677e664a make le_handle_advertisement_report accessible to ble_client/advertising_data_parser.c 2015-11-08 20:50:35 +01:00
Matthias Ringwald
a4c06b2894 avoid returning structs 2015-11-07 17:15:15 +01:00
Matthias Ringwald
05ae8de376 fix -Wshadow warnings for libusb target 2015-11-06 20:53:12 +01:00
Matthias Ringwald
7f02f4148e fix all Wmissing-prototype warnings for libusb target 2015-11-06 19:43:35 +01:00
Matthias Ringwald
5d50985801 fix unused warning without HAVE_BLE 2015-11-01 20:35:21 +01:00
Matthias Ringwald
5cf766e823 track HCI Connection roles for BR/EDR and LE 2015-10-26 21:41:09 +01:00
Matthias Ringwald
e21192ab89 set default max le conn latency max to 500 as specified in core 4.2 2015-10-26 21:19:33 +01:00
Matthias Ringwald
42ff5ba190 rework gap le whitelist connections 2015-10-15 22:33:38 +02:00
Matthias Ringwald
9ecbe2016d fix use after free crash 2015-10-15 21:26:27 +02:00
Matthias Ringwald
195a80287b removed btstack/include folder 2015-10-15 16:33:34 +02:00
Matthias Ringwald
a4fe4ae879 fix hci_le_advertisements_set_params and gap_advertisements_set_data to correctly disable advertisement before updating params/data 2015-10-10 22:26:55 +02:00
Matthias Ringwald
5838a2ed38 use PRIu32 for printf of 32-bit integers 2015-09-21 18:10:47 +02:00
Matthias Ringwald
b68d7bc3c3 Add gap_request_connection_parameter_update
l2cap_le_request_connection_parameter_update is obsolete.
It calls gap_request_connection_parameteir_update now.
The l2cap conn param update req ist sent by l2cap_run.
2015-08-12 14:27:30 +02:00
Matthias Ringwald
4ef6443c0f add gap_get_bondable_mode 2015-08-07 22:44:24 +02:00
Matthias Ringwald
84cf6d83a6 fix gap_update_connection_parameters 2015-07-29 14:55:43 +02:00
Matthias Ringwald
4f55143247 fix compile, use bd_addr_type_t 2015-07-29 11:49:12 +02:00
Matthias Ringwald
91915b0b4c test and fix auto connection establishment 2015-07-29 11:36:36 +02:00
Matthias Ringwald
9956955bad implement whitelist management 2015-07-28 14:57:10 +02:00
Matthias Ringwald
e83201bce5 manage internal whitelist 2015-07-28 11:52:40 +02:00
Matthias Ringwald
15d0a15bfe use whitelist instead of white_list internally 2015-07-28 11:17:48 +02:00
Matthias Ringwald
ac9c45e03c added empty gap le auto connection functions 2015-07-28 11:14:10 +02:00
Matthias Ringwald
b04dfa37ba track le connecting state 2015-07-28 11:09:46 +02:00
Matthias Ringwald
3b6d4121dc read white list size during init 2015-07-27 22:07:40 +02:00
Matthias Ringwald
8837e9ef66 emit disconnect events on hci power off 2015-07-08 15:38:34 +02:00
Matthias Ringwald
a0cf2f3fb8 don't retry sending reset on iOS after init with BlueTool 2015-07-02 21:41:16 +02:00
Milanka Ringwald
f1344d4a1c add missing declarations 2015-07-02 10:45:15 +02:00
Matthias Ringwald
cfc59f1b60 trigger hci_run on gap le advertisement commands 2015-06-12 21:51:56 +02:00
Matthias Ringwald
9a2e4658f8 re-enable advertisements after disconnect 2015-06-12 20:08:52 +02:00
Matthias Ringwald
45c102fdda add helper hci_le_advertisements_set_params function to avoid call to sm from hci, gap ddvertisement control complete 2015-06-12 19:28:46 +02:00
Matthias Ringwald
171293d35a track advertisements enable 2015-06-11 22:26:31 +02:00
Matthias Ringwald
a828a7565a skip read buffer size and write le host supported if they are not implemented, e.g. on EM9301 2015-06-10 23:02:49 +02:00
Matthias Ringwald
d23838ec66 added callback for Bluetooth hardware error 2015-05-18 21:13:28 +02:00
Matthias Ringwald
2b65942fc7 add missing format specifier 2015-05-14 12:54:16 +02:00
Matthias Ringwald
71de195ed3 fix c99 warnings for missing argument of functions with no arguments, fix more warnings 2015-05-13 10:30:46 +02:00
Matthias Ringwald
8d29070e3b Send hci reset after setting bd addr on stlc2500d 2015-05-08 22:19:45 +02:00
Matthias Ringwald
2f48d9200b schedule bd addr change before baud change 2015-05-08 21:58:00 +02:00
Sean Wilson
6da48142ef Fix C99 warnings. 2015-04-28 10:31:53 -04:00
Matthias Ringwald
4696bddb90 support baudrate change on STM STLC2500D chipset 2015-04-17 16:08:51 +02:00
Matthias Ringwald
76fcb19bdb call hci_read_local_version_information after hci reset 2015-04-16 15:38:53 +02:00
Matthias Ringwald
1ebf5f9c83 use last google code svn commit in BTSTACK_EVENT_VERSION 2015-04-11 22:26:35 +02:00
Matthias Ringwald
db8bc6ff3e correct check for baud rate change during hci init 2015-04-10 10:10:41 +02:00
Matthias Ringwald
c0c9aacc37 simplify HCI_INIT_W4_SEND_BAUD_CHANGE, too 2015-04-02 17:45:49 +02:00
Matthias Ringwald
a80162e9a6 correct setting custom baudrate or bd_addr during init 2015-04-02 16:38:59 +02:00
Matthias Ringwald
0d3b00a243 fix init for EM9301 module 2015-03-31 21:47:59 +02:00
Matthias Ringwald
e47e68c797 handle CSR Warm Boot 2015-03-31 12:43:57 +02:00