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 |
|
Milanka Ringwald
|
85f6342ac7
|
test/gatt_service: add tests for battery service server
|
2021-06-16 11:55:22 +02:00 |
|
Milanka Ringwald
|
0f9df0ab0a
|
test/mock: implement mock_att_service_trigger_can_send_now
|
2021-06-16 11:55:22 +02:00 |
|
Matthias Ringwald
|
cb98724d40
|
test/ancs_client: recover lost file / add more tests
|
2021-06-16 10:49:26 +02:00 |
|
Milanka Ringwald
|
71be2750e8
|
ble/gatt-service: set invalid state device information client for testing purposes
|
2021-06-16 09:42:21 +02:00 |
|
Milanka Ringwald
|
286242d86d
|
ble/gatt-service: remove handle_value from GATT complete event in device information client
|
2021-06-16 09:40:40 +02:00 |
|
Milanka Ringwald
|
24b17575d7
|
test/mock: remove printf
|
2021-06-16 09:37:44 +02:00 |
|
Milanka Ringwald
|
7db51b3755
|
test/gatt-service-client: add device information client tests
|
2021-06-16 09:36:40 +02:00 |
|
Milanka Ringwald
|
2b60725a79
|
test/gatt-service-client: add device information client test
|
2021-06-15 17:12:36 +02:00 |
|
Milanka Ringwald
|
bd8c526a6c
|
test/gatt-service-client: clean up battery test
|
2021-06-15 17:12:07 +02:00 |
|
Milanka Ringwald
|
66881873e3
|
gatt-service/device_information_service_client: prevent calling query twice
|
2021-06-15 17:11:32 +02:00 |
|
Milanka Ringwald
|
498fd4ba42
|
gatt-service/device_information_service_client: handle service without characteristics
|
2021-06-15 17:10:31 +02:00 |
|
Milanka Ringwald
|
a58af5a9d3
|
gatt-service/device_information_service_client: refactor query done
|
2021-06-15 17:09:55 +02:00 |
|
Milanka Ringwald
|
26dcf8356f
|
gatt-service/device_information_service_client: fix function pointer, extend finalize client
|
2021-06-15 17:08:40 +02:00 |
|
Milanka Ringwald
|
e92f7a17ed
|
test/mock: extend functionality
|
2021-06-15 16:57:09 +02:00 |
|
Matthias Ringwald
|
406aa36651
|
test/gatt-service-client: add CMake project
|
2021-06-14 17:01:47 +02:00 |
|
Matthias Ringwald
|
43bef108c2
|
test/gatt-service-client: ancs_client_test
|
2021-06-14 17:01:47 +02:00 |
|
Matthias Ringwald
|
41866fd3e0
|
gatt-service/ancs_service: cleanup, add coverage helper
|
2021-06-14 17:01:47 +02:00 |
|
Matthias Ringwald
|
7dbac95571
|
test/mock: support uuid128 in mock_gatt_client, support indications
|
2021-06-14 17:01:47 +02:00 |
|
Milanka Ringwald
|
db990ff995
|
.gitignore build* folders
|
2021-06-14 17:01:47 +02:00 |
|