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 |
|
Matthias Ringwald
|
2026696cf0
|
btstack_defines: add GAP Pairing events
|
2021-06-18 21:06:57 +02:00 |
|
Matthias Ringwald
|
1ebbe057a1
|
btstack_defines: compact event codes, decrease SM_EVENT_* and GAP_EVENT_*
|
2021-06-18 21:06:57 +02:00 |
|
Matthias Ringwald
|
965a4ccf8d
|
bluetooth.h: fix typo
|
2021-06-17 16:30:03 +02:00 |
|
Matthias Ringwald
|
4e5d21eaa3
|
hci: update advertising data without stopping advertising first
|
2021-06-17 10:32:45 +02:00 |
|
Milanka Ringwald
|
a93e262f43
|
test/embedded: split embedded tests into separate files
|
2021-06-17 10:21:45 +02:00 |
|
Matthias Ringwald
|
137715ebda
|
gap: return status for gap_set_security_mode
|
2021-06-16 22:38:48 +02:00 |
|
Matthias Ringwald
|
532454f96d
|
gap: drop[ local bonding flag in IO Capability Reply if remote does not indicate bonding
|
2021-06-16 22:30:52 +02:00 |
|
Matthias Ringwald
|
2ff4272d8d
|
hci: track HCI_EVENT_IO_CAPABILITY_RESPONSE received
|
2021-06-16 16:48:34 +02:00 |
|
Milanka Ringwald
|
c9f0088dec
|
tes/embedded: add tests for l2cap_signaling
|
2021-06-16 12:59:32 +02:00 |
|
Milanka Ringwald
|
15f09267f5
|
l2cap_signaling: add invalid PDU for testing
|
2021-06-16 12:59:02 +02:00 |
|
Milanka Ringwald
|
d7c9cb2b80
|
l2cap_signaling: D format required for LE commands as well
|
2021-06-16 12:58:26 +02:00 |
|
Milanka Ringwald
|
4a02d0a733
|
l2cap_singnaling: remove unreachable state
|
2021-06-16 12:57:28 +02:00 |
|