12666 Commits

Author SHA1 Message Date
Matthias Ringwald
f493528674 sm: move sm_pairing_failed_reason from setup into sm_connection_t, use sm_pairing_error more often 2021-05-17 22:35:18 +02:00
Matthias Ringwald
5dbec6b3a3 gap: allow to set security mode 2021-05-17 22:35:18 +02:00
Matthias Ringwald
0c2bf521da l2cap: disconnect hci on l2cap connection request if ssp supported and link not encrypted in security mode 4 2021-05-17 22:35:18 +02:00
Matthias Ringwald
09e305119b l2cap: disconnect hci on l2cap connection request if ssp supported and link not encrypted 2021-05-17 08:54:52 +02:00
Matthias Ringwald
5d5b5d8dd8 l2cap: abort connection in secure connections only mode if legacy connection 2021-05-17 08:54:52 +02:00
Matthias Ringwald
30cdf3c68c gap: add get/set secure connections only mode 2021-05-17 08:54:52 +02:00
Matthias Ringwald
2c041b4232 sm: if sc only mode is enabled, assert sc and key size = 16 2021-05-17 08:54:52 +02:00
Matthias Ringwald
131ef17ae4 hci: start encryption after authentication to increase security level 2021-05-17 08:54:52 +02:00
Matthias Ringwald
1cf0a6c88b hci: reset requested_security_level on security update complete, allow to restart pairing 2021-05-17 08:54:52 +02:00
Matthias Ringwald
cae98c17dd hci: skip mutual authentication for testing 2021-05-17 08:54:52 +02:00
Matthias Ringwald
03f53d81e4 att_server: print signed write status in console for manual testing 2021-05-17 08:54:52 +02:00
Matthias Ringwald
7710ebd2a9 sm: keep le device index if available and new pairing without bonding 2021-05-17 08:54:52 +02:00
Matthias Ringwald
c5a72e3599 sm: fix pairing on hang for legacy responder no-keys-exchanged 2021-05-17 08:54:52 +02:00
Matthias Ringwald
827db6fe01 pbap_client: fix property_selector for X-BT-UID and X-BT-UCI 2021-05-13 16:50:20 +02:00
Matthias Ringwald
fbd9085d67 btstack_cvsd_plc: remove unused function 2021-05-13 16:49:49 +02:00
Matthias Ringwald
8549a61e0d sm: start pairing as Central for already encrypted connection on Slave Security Request 2021-05-10 16:50:00 +02:00
Matthias Ringwald
496bb88446 gap: add gap_inquiry_lap to allow for limited inquiry 2021-05-10 16:49:59 +02:00
Matthias Ringwald
59c9672f30 hci_cmd: fix build with ENABLE_SDP (daemon) 2021-05-09 23:29:14 +02:00
Matthias Ringwald
ea6ff7d62a test/hfp: fix test sequences for '+BTRH:" 2021-05-09 23:27:03 +02:00
Matthias Ringwald
c5753b0375 hfp_ag: fix warning 2021-05-09 23:18:58 +02:00
Matthias Ringwald
ed4f8b7280 fix dependency on .gatt file in CMake builds 2021-05-09 23:18:51 +02:00
Matthias Ringwald
c7747faaec arduino: use git tag/revision for archive 2021-05-09 22:47:16 +02:00
Matthias Ringwald
690999b0e5 arduino: fix ancs example build 2021-05-09 22:35:44 +02:00
Matthias Ringwald
eb4dccece8 arduino: update mkdocs project 2021-05-09 22:24:53 +02:00
Matthias Ringwald
b149c1b927 arduino: rework Makefile and update BTstack C++ wrapper for 1.0 API 2021-05-09 22:14:56 +02:00
Matthias Ringwald
ea7d62f812 add missing c++ guard 2021-05-09 22:13:54 +02:00
Matthias Ringwald
560d2a7afb hci_dump: fix compile for AVR 2021-05-09 22:13:54 +02:00
Matthias Ringwald
e6d6524d17 hci: fix build without ENABLE_CLASSIC 2021-05-09 22:13:54 +02:00
Matthias Ringwald
8221aa8868 remove unused includes 2021-05-09 22:13:54 +02:00
Matthias Ringwald
97862a54ac heart_rate_sevice_server: use mtu from att server 2021-05-09 22:13:54 +02:00
Matthias Ringwald
296289e371 att_dispatch: use ble prefix for includes 2021-05-09 22:13:54 +02:00
Milanka Ringwald
f4950f02ec test/pts: clean test 2021-05-06 19:53:23 +02:00
Matthias Ringwald
1893685558 test/pts: avoid crash in avdtp_sink_test 2021-05-06 19:45:14 +02:00
Milanka Ringwald
ce85d41c47 test/pts: fix avdtp_sink_delay_report params 2021-05-06 19:36:18 +02:00
Milanka Ringwald
e01c8a9937 test/pts: fix test name 2021-05-06 18:44:12 +02:00
Milanka Ringwald
bf9d07620a test/pts: fix compile 2021-05-06 18:43:45 +02:00
Milanka Ringwald
fd9293d815 avrcp_browsing_target: test set browsed player 2021-05-06 18:25:57 +02:00
Milanka Ringwald
bbee15159a avrcp_browsing_target: define AVRCP_SUBEVENT_BROWSING_SET_BROWSED_PLAYER event 2021-05-06 18:25:57 +02:00
Matthias Ringwald
9a9f9fd728 test/pts: add code and sequences for SM test 2021-05-06 17:26:00 +02:00
Matthias Ringwald
bd720188f0 test/pts: fix update_advertisement_params spelling in gatt_client_test 2021-05-06 17:24:23 +02:00
Matthias Ringwald
f5020412da sm: derive BR/EDR key using peer address if address type is public in responder role 2021-05-06 16:54:43 +02:00
Matthias Ringwald
af7ef9d1eb sm: extract sm_key_distribution_complete_initiator 2021-05-06 16:54:43 +02:00
Matthias Ringwald
6f7422f1b3 sm: extract sm_key_distribution_complete_responder 2021-05-06 16:54:43 +02:00
Matthias Ringwald
bbd73538bb sm: move sm_ctkd_from_le up 2021-05-06 16:54:43 +02:00
Matthias Ringwald
79b2612de5 sm: derive BR/EDR key using peer address if address type is public in initiator role 2021-05-06 16:54:43 +02:00
Matthias Ringwald
ad20f0c8b0 hci: handle link key request after remote features are available 2021-05-06 16:54:43 +02:00
Matthias Ringwald
8845ea5cb7 test/pts: document gatt client tests 2021-05-04 22:01:53 +02:00
Matthias Ringwald
9100fe3435 test/pts: use ble_central_test as gatt_client_test 2021-05-04 22:01:53 +02:00
Milanka Ringwald
7a978a372a gatt-clients/scan_parameters_service_client: fix compile 2021-05-04 16:17:08 +02:00
Milanka Ringwald
b4e308ae8f test/pts: update test sequences 2021-05-04 16:17:08 +02:00