12892 Commits

Author SHA1 Message Date
Matthias Ringwald
7ca4a7ed24 gap: emit GAP_EVENT_PAIRING_STARTED and GAP_EVENT_PAIRING_COMPLETE for OOB Pairing 2021-06-28 19:44:52 +02:00
Milanka Ringwald
d7d354cb40 hfp_ag: fix compile 2021-06-28 12:06:27 +02:00
Milanka Ringwald
c415dc9873 changelog: HFP API status code 2021-06-28 11:59:16 +02:00
Milanka Ringwald
c5fa3c94ae hfp_ag: return status code 2021-06-28 11:56:32 +02:00
Milanka Ringwald
3c65e7053e hfp_hf: return status code 2021-06-28 11:56:32 +02:00
Milanka Ringwald
5ca6cd567f hfp: update docu 2021-06-28 11:56:32 +02:00
Milanka Ringwald
657bc59fff hfp: return status for release_service_level_connection 2021-06-28 11:56:32 +02:00
Milanka Ringwald
1ffa0dd910 hfp: rename functions 2021-06-28 11:56:32 +02:00
Milanka Ringwald
4eb3f1d888 hfp: return status code for establish_service_level_connection 2021-06-28 11:56:32 +02:00
Milanka Ringwald
b4df802803 hfp_hf: return status on service registration in hfp_hf_init 2021-06-28 11:56:32 +02:00
Milanka Ringwald
6846619981 hfp: assert wrong input params 2021-06-28 11:56:32 +02:00
Milanka Ringwald
8562184021 l2cap: update API docu and log messages 2021-06-28 11:56:32 +02:00
Milanka Ringwald
374709acf1 rfcomm: update API docu and log messages 2021-06-28 11:56:32 +02:00
Milanka Ringwald
c3b97dcd33 rfcomm: handle l2cap_register_service status 2021-06-28 11:56:32 +02:00
Matthias Ringwald
7dfe4b1c91 HCI Dump RTT STDOUT: drop messages if RTT buffer is full and RTT is configured for non-blocking 2021-06-25 20:42:14 +02:00
Matthias Ringwald
eb0d557942 hci_dump: define HCI_DUMP_MAX_MESSAGE_LEN for use in POSIX implementation 2021-06-25 18:28:32 +02:00
Matthias Ringwald
9620d15fc7 hci_dump_posix_fs: add HCI_DUMP_BTSNOOP 2021-06-25 11:34:49 +02:00
Matthias Ringwald
a9b0ec79f4 hci_dump: add hci_dump_setup_header_btsnoop 2021-06-25 11:31:52 +02:00
Matthias Ringwald
4ddcd9eabe gatt-service: fix unused warning 2021-06-25 09:28:45 +02:00
Matthias Ringwald
0e109a1689 btstack_memory: fix malloc counter check in btstack_memory_deinit 2021-06-23 23:04:06 +02:00
Matthias Ringwald
95a9521e8d test/pts/gap_peripheral: update sequences 2021-06-23 22:59:12 +02:00
Matthias Ringwald
3817f9dfcd CVE-2020-26555: ignore NULL link key 2021-06-22 17:26:01 +02:00
Matthias Ringwald
79e0fa07b4 CVE-2020-26555: reject connections to and from devices with same BD ADDR (fix) 2021-06-22 17:16:34 +02:00
Matthias Ringwald
72cf8859b1 CVE-2020-26555: reject connections to and from devices with same BD ADDR 2021-06-22 17:05:30 +02:00
Matthias Ringwald
0265874907 CVE-2020-26558: abort LE Secure Connection pairing if remote uses the same public key 2021-06-22 15:22:17 +02:00
Matthias Ringwald
a50d6f9c6a ble/att_db: reduce number of paths in handle_read_by_type_request2 2021-06-21 18:35:12 +02:00
Matthias Ringwald
b6e793c0e2 ble/att_db: extract att_validate_security_get_settings 2021-06-21 18:35:12 +02:00
Matthias Ringwald
4eb382490a gatt-service-client/battery_service_client: extract battery_service_client_handle_query_complete 2021-06-21 18:35:12 +02:00
Matthias Ringwald
e115a09f7c gatt-service-client/ancs_client: split hci and gatt client handlers, extract ancs_client_handle_notification 2021-06-21 18:35:12 +02:00
Matthias Ringwald
21a309a4d7 posix/le_device_db_fs: fix db read from file 2021-06-21 15:33:53 +02:00
Matthias Ringwald
edf70fbf9f example: use #define for constants instead of const uint8_t to fix build 2021-06-21 11:35:31 +02:00
Matthias Ringwald
acadfdd023 hci: fix c++ build 2021-06-21 10:55:02 +02:00
Milanka Ringwald
c0dd2f5cbd l2cap_signaling: add LCOV_EXCL_BR_LINE to exclude va_arg branch line 2021-06-21 10:40:22 +02:00
Milanka Ringwald
22b6e67bdd test/embedded: add hci_cmd tests 2021-06-21 10:40:22 +02:00
Milanka Ringwald
c56de76b13 hci_cmd: split cases for better coverage count, add LCOV_EXCL_BR_LINE to exclude va_arg branch line 2021-06-21 10:40:22 +02:00
Matthias Ringwald
23e56acec0 hci: fix c++ build 2021-06-20 23:23:48 +02:00
Matthias Ringwald
5a56192085 gap: check if minimal service security level can be reached in responder role 2021-06-20 22:58:10 +02:00
Matthias Ringwald
8ad4dfff8d l2cap: track minimal security level 2021-06-20 22:46:36 +02:00
Matthias Ringwald
18660401fc l2cap: don't trigger hci disconnect if l2cap security requirements are insufficient 2021-06-20 19:39:38 +02:00
Matthias Ringwald
d79819418a changelog: document gap security changes 2021-06-20 12:34:53 +02:00
Matthias Ringwald
d7387af38d l2cap: streamline secure connections only mode
If SC Only Mode is enabled, map all security levels to level 4 unless it is level 0
2021-06-20 12:34:53 +02:00
Matthias Ringwald
bc00e12c3f gap: secure connections only mode requires level 4 for all non-secure services 2021-06-20 12:34:53 +02:00
Matthias Ringwald
367aedc0e9 gap: send user confirmation negative reply if required security level cannot be met 2021-06-20 12:34:28 +02:00
Matthias Ringwald
9671e61529 gap: send IO Capabilities Negative Reply if Level 4 required but remote does not support SC 2021-06-20 12:34:28 +02:00
Matthias Ringwald
128825c3b0 hci: extract hci_remote_sc_enabled 2021-06-20 12:34:28 +02:00
Matthias Ringwald
50dcc63caa gap: reject pin code request if secure connections only mode is active 2021-06-20 12:34:28 +02:00
Matthias Ringwald
b54464ca65 hci: delete unused authentication flags 2021-06-19 18:55:42 +02:00
Matthias Ringwald
8daf94bc5a hci: prefix authentication flags with AUTH_FLAG_* 2021-06-18 21:06:57 +02:00
Matthias Ringwald
77208d9020 gap: emit GAP_EVENT_PAIRING_STARTED and GAP_EVENT_PAIRING_COMPLETE 2021-06-18 21:06:57 +02:00
Matthias Ringwald
1714cbbd1f hci: funnel pairing operation via hci_pairing_started and hci_pairing_complete 2021-06-18 21:06:57 +02:00