591 Commits

Author SHA1 Message Date
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
Matthias Ringwald
2c68f1640c hci: fix compile without ENABLE_BLE 2017-01-21 17:38:59 +01:00
Matthias Ringwald
ee752bb8db hci_transport: add set_sco_config and call when nr. of SCO connections changes 2017-01-19 17:05:43 +01:00
Matthias Ringwald
a42798c331 hci: configure Broadcom chipsets to send SCO data via HCI transport 2017-01-19 14:19:30 +01:00
Matthias Ringwald
640687766b hci: call gap_advertisments_changed only with le peripheral support 2017-01-18 12:40:25 +01:00
Matthias Ringwald
06e5cf96d4 hci: make hci_le_set_own_address_type available for central-only builds 2017-01-18 12:35:50 +01:00
Matthias Ringwald
d3365dbef3 hci: make hci_le_set_own_address_type available for central-only builds 2017-01-18 12:33:45 +01:00
Matthias Ringwald
903ea03a2f hci: fix init sequence if le central not supported 2017-01-18 12:09:35 +01:00
Matthias Ringwald
e691bb38f1 hci: fix reading whitelist size 2017-01-18 11:56:52 +01:00
Matthias Ringwald
b95a5a357a gap_le: cleanup use of own address for scanning, advertisements, and connection creation 2017-01-18 11:50:45 +01:00
Matthias Ringwald
e8c8828ea5 hci: advertisements only for central 2017-01-15 23:07:24 +01:00
Matthias Ringwald
d70217a228 gap: require ENABLE_LE_CENTRAL for adv scans and outgoing connections, ENABLE_LE_PERIPHERAL for advertisements 2017-01-15 22:32:52 +01:00
Matthias Ringwald
0e6f3837b0 hci: mark more code as Classic only 2017-01-13 18:32:02 +01:00
Matthias Ringwald
1c9e5e9dcc hci: mark more code as Classic only 2017-01-13 18:21:43 +01:00
Matthias Ringwald
76f27cff63 hci: mark more code as Classic only 2017-01-13 18:18:14 +01:00
Matthias Ringwald
cd77dd3850 hci: fix ios build 2017-01-10 11:41:40 +01:00
Matthias Ringwald
06b9e82047 hci: reduce init code (skip baud rate and bd addr changes) for SoC ports 2017-01-10 11:39:50 +01:00
Matthias Ringwald
9ec2630ce4 fix unused parameters warning 2016-12-22 22:16:16 +01:00
Matthias Ringwald
755bc58582 hci: remove hci_set_local_version_information_callback (use hci_add_event_handler instead) 2016-12-14 11:50:46 +01:00
Matthias Ringwald
6bef4003fb hci: limit num hci commands to 1 to reduce complexity 2016-12-01 22:46:30 +01:00
Matthias Ringwald
94be1a6633 provide _va_arg type variants for hci_send_cmd and hci_dump_log 2016-11-30 22:15:40 +01:00
Matthias Ringwald
5106e6dc65 hci: try to re-enable advertisements in slave role 2016-11-22 15:23:42 +01:00
Matthias Ringwald
9e263bd760 hci: log local name during init 2016-11-14 15:10:59 +01:00
Matthias Ringwald
e90bae0148 hci: read local name during init 2016-11-12 22:53:26 +01:00
Matthias Ringwald
33373e4028 sm: use fake public addresss of nRf5 chipsets as random static address 2016-11-10 21:51:01 +01:00
Matthias Ringwald
52b551c3a3 sm: fix Random Address generation when enabled before HCI is working 2016-11-08 15:13:36 +01:00
Matthias Ringwald
52db98b2a8 hci: disable connection timeout check for BLE-only 2016-10-19 17:00:23 +02:00
Matthias Ringwald
3545469685 hci: disable parts of classic code if ENABLE_CLASSIC is not defined 2016-10-19 16:06:11 +02:00
Matthias Ringwald
202c8a4c4c fix warnings/bugs reported by eclipse static analyzer 2016-10-19 10:49:33 +02:00
Matthias Ringwald
f04a0c3191 fix warnings for using %u with int vars 2016-10-09 21:59:50 +02:00
Matthias Ringwald
3905afbfd9 hci: skip write synchronous flow control enable and write default erroneos data reporting if commands not supported 2016-10-03 12:50:23 +02:00
Matthias Ringwald
f064e0bb1b hci: fix LE skipping if SCO over HCI is used 2016-10-03 12:15:26 +02:00
Matthias Ringwald
148ca237ee hci_init: use log_debug for init script output 2016-10-03 12:12:38 +02:00
Matthias Ringwald
8a1144706a hci: set substate when setting EIR data 2016-09-30 11:41:23 +02:00