624 Commits

Author SHA1 Message Date
Matthias Ringwald
9c77c9db73 hci: fix handling of le connection complete with ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER as result of hci le create connection cancel command 2018-01-30 18:49:31 +01:00
Jakob Krantz
cbe54ab248 Adds option to set the connection_scan_interval and connection_scan_window. 2018-01-30 16:59:28 +01:00
Jakob Krantz
c4c88f1bc9 Adds functionality for setting the master-slave role policy. Fixes bug when handling HCI_EVENT_ROLE_CHANGE. 2018-01-30 16:54:57 +01:00
Matthias Ringwald
9c6e867ea6 sm: moved sm_encryption_key_size, sm_authenticated, sm_authorization_state into gap.h 2018-01-19 16:08:14 +01:00
Matthias Ringwald
efd3b3273d hci: switch to main baud rate after EM_CpuReset for EM9304 2018-01-16 20:31:45 +01:00
Matthias Ringwald
e021ff1e59 hci: reset baud rate after init script for EM9304 as well 2018-01-16 18:25:59 +01:00
Matthias Ringwald
f41911ede3 hci: use btstack_chipset_result_t enum 2018-01-16 18:03:19 +01:00
Matthias Ringwald
8fca890e08 hci: avoid double free during halting 2017-11-19 19:43:56 +01:00
Matthias Ringwald
384b59de91 hci: check adv_data len when processing advertisement report. review UNUSED-size 2017-09-19 15:46:18 +02:00
Matthias Ringwald
80d7d61834 hci: fix sending of le set event mask 2017-08-28 15:35:30 +02:00
Matthias Ringwald
a004d67489 hci: don't enable all new LE Events 2017-08-28 14:30:31 +02:00
Matthias Ringwald
daabb8b879 hci: send le set event mask during init 2017-08-27 22:10:14 +02:00
Matthias Ringwald
831711da1f hci: fix gap_set_connection_parameter_range and gap_set_connection_parameters (don't reset values on HCI Reset) 2017-08-23 17:08:09 +02:00
Matthias Ringwald
e9f343c878 hci: fix compile for LE Peripheral without Classic 2017-08-22 17:15:56 +02:00
Matthias Ringwald
c439e29667 hci: correct len of hci_write_extended_inquiry_response during init 2017-08-17 14:43:15 +02:00
Matthias Ringwald
8cdc9940ad hci: fix compile 2017-08-17 11:25:26 +02:00
Matthias Ringwald
f868b05943 hci: replace bd_addr placeholder in adv data and scan response data with actual bd addr string 2017-08-17 11:21:25 +02:00
Matthias Ringwald
ad0d11084a hci: create EIR data based on local name if not set 2017-08-17 11:15:45 +02:00
Matthias Ringwald
631685302e hci: use default_classic_name if not set 2017-08-17 10:54:17 +02:00
Matthias Ringwald
29af07f3ba hci: replace '00:00:00:00:00:00' placeholder in EIR data with actual BD ADDR 2017-08-16 17:26:48 +02:00
Matthias Ringwald
1c2a62f598 hci: replace '00:00:00:00:00:00' placeholder in local name with actual BD ADDR 2017-08-16 17:01:11 +02:00
Matthias Ringwald
6ca9a99a26 atwilc3000: support custom bd_addr 2017-08-08 10:56:21 +02:00
Matthias Ringwald
7a85e4f523 hci: fill non-significant part of LE Advertisement Data with zeroes 2017-07-21 10:47:49 +02:00
Matthias Ringwald
b435e06234 hci: require ENABLE_LE_DATA_LENGTH_EXTENSION to enable max packet lenghts 2017-07-07 22:34:48 +02:00
Matthias Ringwald
dcd678ba09 hci: use max le data length if supported by controller 2017-07-07 17:15:14 +02:00
Matthias Ringwald
220006fb3b hci: check if LE Data Length commands are supported 2017-07-07 16:52:16 +02:00
Matthias Ringwald
99ce07abfa gap: gap_set_connection_parameters only available with ENABLE_LE_CENTRAL 2017-07-07 12:03:32 +02:00
Matthias Ringwald
13e645d2ce gap: gap_set_connection_parameters only available with ENABLE_LE_CENTRAL 2017-07-07 11:47:12 +02:00
Matthias Ringwald
6012052bd0 gap: implement gap_set_connection_parameters 2017-07-07 11:42:17 +02:00
Matthias Ringwald
73044eb2d8 hci: move le connection parameters for outgoing connections into hci_stack_t 2017-07-07 11:35:33 +02:00
Matthias Ringwald
ee8a36c873 hci: fix gap_remote_name_request 2017-07-05 17:13:12 +02:00
Matthias Ringwald
ec111c8bcd hci: added hci_get_state() 2017-07-04 17:30:27 +02:00
Matthias Ringwald
0e55bd6930 hci: exit hci_run after sending remote name request 2017-06-09 23:03:04 +02:00
Matthias Ringwald
bf10a32678 gap: gap_pin_code_response fix hci command send 2017-05-22 11:29:53 +02:00
Matthias Ringwald
0a51f88b22 gap: add gap functions for responding to legacy and ssp pairing requests 2017-05-22 10:31:47 +02:00
Matthias Ringwald
b7f1ee76fc gap: provide gap_remote_name_request 2017-05-21 22:44:47 +02:00
Matthias Ringwald
f5875de52c gap: provide gap_inquiry_start + gap_inquiry_stop. emit GAP_EVENT_INQUIRY_COMPLETE 2017-05-21 22:23:03 +02:00
Matthias Ringwald
0014e02c94 avoid warning about incorrect try to avoid warning for link_type 2017-05-18 22:03:43 +02:00
Matthias Ringwald
1cfb383e56 gap: unify inquiry, inquiry with rssi, and extended inquiry response into GAP_EVENT_INQUIRY_RESULT with optional RSSI and name. Update gap_inquiry example 2017-05-17 23:07:55 +02:00
Matthias Ringwald
b3264428f7 ble: fix compile ifndef ENABLE_CLASSIC 2017-04-26 15:38:12 +02:00
Matthias Ringwald
834bce8cfd hci: reset H5/BCSP link for CSR with baud change 2017-04-07 12:39:30 +02:00
Matthias Ringwald
2b8382013c hci: Controller to Host Flow Control + docs 2017-04-01 15:46:16 +02:00
Matthias Ringwald
61f37892ce bluetooth_company_id: use scraped defines instead of small set from bluetooth.h before 2017-03-30 22:19:17 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
429122cc10 hci: log actual and used ACL buffer sizes 2017-03-07 16:17:29 +01:00
Matthias Ringwald
f3b012f9c7 hci: skip SCO over HCI commands if not defined 2017-02-23 14:50:59 +01:00
Matthias Ringwald
559961d085 hci: wait 10 ms after init script download on Broadcom chipsets 2017-02-01 12:23:23 +01:00
Matthias Ringwald
034e9b53bb hci: fix compile 2017-01-23 15:26:05 +01:00
Matthias Ringwald
b55748bb3b Merge branch 'develop' into h2-sco 2017-01-23 15:17:25 +01:00
Matthias Ringwald
fac2e2fe9d hfp: use 16-bit samples for narrow-band / CVSD 2017-01-23 14:59:39 +01:00