Matthias Ringwald
d0c2076983
Merge branch 'master' into ble-api-cleanup
2016-01-17 21:53:13 +01:00
Matthias Ringwald
b3aad8da60
SCO: add hci_get_sco_packet_length to query SCO packet size needed for USB and use in hsp_hs_test
2016-01-16 21:57:34 +01:00
Matthias Ringwald
d210d9c4c0
Merge branch 'master' into ble-api-cleanup
2016-01-14 19:59:05 +01:00
Matthias Ringwald
729ed62ea0
send write sco flow control enable if #HAVE_SCO_OVER_HCI
2016-01-14 14:19:37 +01:00
Matthias Ringwald
eb3a531469
send baud rate command after downloading broadcom init script
2016-01-04 12:24:10 +01:00
Matthias Ringwald
53860077ca
hci: set bd addr after init script to make it work with bcm
2016-01-02 22:32:54 +01:00
Matthias Ringwald
5f26aadcab
implement l2cap timeout check for HAVE_TIME_MS
2015-12-23 16:41:44 +01:00
Matthias Ringwald
8736ab0cf2
prefix linked_list
2015-12-22 21:48:13 +01:00
Matthias Ringwald
ce263fc808
Merge branch 'master' into ble-api-cleanup
2015-11-28 14:50:36 +01:00
Matthias Ringwald
98a2fd1ca4
add hci_remote_eSCO_supported. use HFP S4 settings if eSCO supported
2015-11-27 20:27:53 +01:00
Matthias Ringwald
616edd56bc
replace le_command_status_t with regular Bluetooth uint8_t error codes, add le_command_status_t enums to error list
2015-11-16 22:46:17 +01:00
Matthias Ringwald
b3f90e251f
move btstack OGF and OCF to btstack-defines.h
2015-11-16 15:15:57 +01:00
Matthias Ringwald
941b385515
move btstack events, errors, defines to btstack_defines.h
2015-11-15 22:44:52 +01:00
Matthias Ringwald
8799c04358
collect Bluetooth defines from hci.h
2015-11-15 21:28:35 +01:00
Matthias Ringwald
3edc84c5b6
fix paths after source reorg
2015-11-13 15:04:41 +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
4b3e1e192b
track loopback mode, allow sending SCO packets in loopback mode
2015-11-12 12:22:19 +01:00
Matthias Ringwald
61123c53f6
fix broken init
2015-11-11 17:18:47 +01:00
Matthias Ringwald
ce250f1a12
fix broken init
2015-11-11 17:14:26 +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
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
c951517b89
add hci_set_sco_voice_setting
2015-11-11 13:56:01 +01:00
Matthias Ringwald
d950d659ec
add hci_set_sco_voice_setting
2015-11-11 13:44:13 +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
c133441bcb
avoid returning structs
2015-11-08 17:39:10 +01:00
Matthias Ringwald
693b19d63e
track HCI Connection roles for BR/EDR and LE
2015-11-07 22:07:09 +01:00
Matthias Ringwald
a4c06b2894
avoid returning structs
2015-11-07 17:15:15 +01:00
Matthias Ringwald
5cf766e823
track HCI Connection roles for BR/EDR and LE
2015-10-26 21:41:09 +01:00
Matthias Ringwald
195a80287b
removed btstack/include folder
2015-10-15 16:33:34 +02:00
Matthias Ringwald
7b8f2e5c7a
sm: use IRK prefix for address resolution state
2015-08-19 15:03:15 +02:00
Matthias Ringwald
78b8321e18
sm: central uses stored ltk only when requested by client or peripheral
2015-08-14 18:36:44 +02:00
Matthias Ringwald
0db5c26b03
sm: prefix all ph4 states with responder, finished sorting sm_general_idle
2015-08-13 14:23:36 +02:00
Matthias Ringwald
d7119506d8
added SM_RESPONDER_IDLE state
2015-08-13 12:33:25 +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
190e7c61fe
add states CSRK_LOOKUP_SUCCEEDED and CSRK_LOOKUP_FAILED
2015-08-07 22:39:38 +02:00
Matthias Ringwald
08f532b144
add comment at sm state 50
2015-07-30 16:43:38 +02:00
Matthias Ringwald
79f53f1d06
pass in signaling identifier, use correct signaling identifier for l2cap connection parameter update response
2015-07-29 15:15:41 +02:00
Matthias Ringwald
91915b0b4c
test and fix auto connection establishment
2015-07-29 11:36:36 +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
b04dfa37ba
track le connecting state
2015-07-28 11:09:46 +02:00
Matthias Ringwald
5877c8b7fb
removed 'valid' flag for whitelist as only valid items are in whitelist
2015-07-27 23:11:59 +02:00
Matthias Ringwald
656bec4f48
add memory pool for whitelist entries
2015-07-27 23:06:54 +02:00
Matthias Ringwald
3b6d4121dc
read white list size during init
2015-07-27 22:07:40 +02:00
Matthias Ringwald
4eb412ed88
enumerate sm engine state
2015-07-16 23:26:48 +02:00
Matthias Ringwald
09d6503165
fix enumeration
2015-06-12 20:08:23 +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