Matthias Ringwald
3b8b648356
relase packet buffer after sending SCO packet via synchronous transport
2015-11-12 23:13:01 +01:00
Matthias Ringwald
ac31f03209
add missing break
2015-11-12 23:12:22 +01:00
Matthias Ringwald
0e1ceea46c
track loopback mode, allow sending SCO packets in loopback mode
2015-11-12 23:11:45 +01:00
Matthias Ringwald
d9bb7d2c96
return true for can send SCO packet now if synchronous flow control is not enabled
2015-11-11 16:28:47 +01:00
Matthias Ringwald
8261ee042f
add hci_register_sco_packet_handler and forward SCO packets to it
2015-11-11 16:15:29 +01:00
Matthias Ringwald
cf288f1ce3
add gap_get_connection_type
2015-11-11 16:15:18 +01:00
Matthias Ringwald
c951517b89
add hci_set_sco_voice_setting
2015-11-11 13:56:01 +01:00
Matthias Ringwald
4b6e439430
make le_handle_advertisement_report accessible to ble_client/advertising_data_parser.c
2015-11-08 18:20:39 +01:00
Matthias Ringwald
c133441bcb
avoid returning structs
2015-11-08 17:39:10 +01:00
Matthias Ringwald
204e94f19f
fix -Wshadow warnings for libusb target
2015-11-08 08:03:57 +01:00
Matthias Ringwald
ebffa4a83a
fix all Wmissing-prototype warnings for libusb target
2015-11-08 08:02:37 +01:00
Matthias Ringwald
8254f5760b
fix unused warning without HAVE_BLE
2015-11-07 22:19:05 +01:00
Matthias Ringwald
693b19d63e
track HCI Connection roles for BR/EDR and LE
2015-11-07 22:07:09 +01:00
Matthias Ringwald
e22306a52c
set default max le conn latency max to 500 as specified in core 4.2
2015-11-07 22:06:05 +01:00
Matthias Ringwald
547765b020
rework gap le whitelist connections
2015-10-15 22:34:27 +02:00
Matthias Ringwald
a4c6d0a0bc
fix use after free crash
2015-10-15 21:27:02 +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