zephyr/tests/bluetooth
Théo Battrel 76559f27fd Bluetooth: Host: Map HCI cmd disallowed to errno
Make `bt_hci_cmd_send_sync` return `-EACCES` when receiving
`BT_HCI_ERR_CMD_DISALLOWED`.

Update some tests that were expecting `-EIO` when
getting `BT_HCI_ERR_CMD_DISALLOWED`.

Add a warning in `set_random_address` when getting that new error. This
is done in case someone try to set a new random address while legacy
advertising, scanning or initiating is enabled. This is illegal behavior
according to the Core Spec (see Vol 4, Part E 7.8.4).

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2024-05-10 17:38:06 +03:00
..
addr tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
adv
at
audio Bluetooth: CAP: Commander Reception start procedure 2024-05-07 09:34:01 +02:00
bluetooth tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
bt_crypto tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
bt_crypto_ccm tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
common/testlib Bluetooth: Tests: Remove usage of auto name in AD 2024-04-23 12:42:24 +02:00
controller Bluetooth: Controller: BIG/CIG count based upon app configs 2024-05-08 09:25:29 -04:00
ctrl_isoal Bluetooth: Remove legacy debug symbols 2024-05-07 09:49:27 +02:00
ctrl_sw_privacy
ctrl_sw_privacy_unit
ctrl_user_ext
df Bluetooth: Host: Map HCI cmd disallowed to errno 2024-05-10 17:38:06 +03:00
gatt tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
hci_codecs_info
hci_prop_evt Bluetooth: Test: Update `hci_prop_evt` 2024-04-29 11:02:02 +02:00
hci_uart_async
host Bluetooth: tests: fix `buf` tests 2024-04-30 16:20:23 +02:00
host_long_adv_recv tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
init Bluetooth: Controller: Fix CIS accept fails with unsupp parameters 2024-03-15 09:40:13 +00:00
l2cap tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
ll_settings
mesh flash: Move dependency on FLASH_PAGE_LAYOUT where it belongs 2024-04-10 10:01:40 +02:00
mesh_shell Bluetooth: Mesh: Update models metadata API 2024-05-01 10:54:50 -04:00
qualification tests: bluetooth: Update ICS for Mesh v1.1, DFU v1.0 and MBT v1.0 2024-03-21 12:40:07 +01:00
shell Bluetooth: Audio: Shell: adds support for BIS index parameter 2024-05-06 17:30:04 +01:00
tester bluetooth: tester: Add support for OTS 2024-05-02 16:51:42 +02:00
uuid tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00