zephyr/tests/bluetooth/tester/src
Krzysztof Kopyściński 79a3a0f40b bttester: add key-size and authorization based l2cap conn reject
In tests that expect returning error in response for l2cap
connection request we use predefined PSMs. This commit adds
check for required keysize (which will always return error,
as connection is not secure and key size will always be 0)
instead of setting security level 4 (which would return
insufficient authentication, not insufficient key size).
It also adds suport for PSM used in insufficient authorization
tests - choosing this PSM will set flag that triggers error
on channel accept.

This affects tests L2CAP/LE/CFC/BV-[10-15]-C

Signed-off-by: Krzysztof Kopyściński <krzysztof.kopyscinski@codecoup.pl>
2021-05-19 12:18:08 +03:00
..
bttester.c
bttester.h Bluetooth: tester: Implement Provisioning Node Added event 2021-04-28 11:13:45 -04:00
gap.c Bluetooth: tester: fix bt_le_oob_set_legacy_tk excluded when supported 2021-05-03 10:00:44 +02:00
gatt.c Bluetooth: Use ATT FIRST/LAST attribute handle defines where applicable 2021-04-08 16:35:57 +02:00
l2cap.c bttester: add key-size and authorization based l2cap conn reject 2021-05-19 12:18:08 +03:00
main.c
mesh.c Bluetooth: tester: Implement Provisioning Node Added event 2021-04-28 11:13:45 -04:00