634 Commits

Author SHA1 Message Date
Matthias Ringwald
7fd7aa6f98 gap: ignore gap_disconnect if already disconnected 2018-03-16 15:50:28 +01:00
Milanka Ringwald
895f6685f2 hci: fix debug output for incomming SCO connection 2018-03-14 12:59:31 +01:00
Matthias Ringwald
451d6789e1 GAP: allow to limit number of connections in LE Peripheral role with gap_set_max_number_peripheral_connections (fix) 2018-03-02 11:55:59 +01:00
Matthias Ringwald
d4e4907bbd GAP: allow to limit number of connections in LE Peripheral role with gap_set_max_number_peripheral_connections (fix) 2018-03-02 11:53:30 +01:00
Matthias Ringwald
2b6ab3e64e GAP: allow to limit number of connections in LE Peripheral role with gap_set_max_number_peripheral_connections 2018-03-01 17:45:42 +01:00
Matthias Ringwald
0b36101d42 hci: reset num_cmd_packets on vendor specific event for CSR controllers 2018-02-20 09:28:06 +01:00
Matthias Ringwald
6fab74db98 GAP: LE scanning enabled not reset on HCI Reset -> can be enabled before HCI Power Up 2018-02-08 15:51:36 +01:00
Matthias Ringwald
ceecb9d95a gap: add gap_delete_all_link_keys 2018-02-05 18:31:36 +01:00
Matthias Ringwald
1b6fb31be8 gap: add link key iterator functions 2018-02-05 18:25:09 +01:00
Matthias Ringwald
004902f13e hci: reset num cmd packets after sending baud rate command and receiving vendor event on Toshiba chipsets 2018-02-03 23:15:52 +01:00
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