zephyr/tests/bluetooth/df
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
..
common Bluetooth: Controller: Build hci_vendor.c also for simulation 2024-03-04 12:14:15 +00:00
connection_cte_req Bluetooth: Host: Map HCI cmd disallowed to errno 2024-05-10 17:38:06 +03:00
connection_cte_tx_params Bluetooth: Controller: Build hci_vendor.c also for simulation 2024-03-04 12:14:15 +00:00
connectionless_cte_chains tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
connectionless_cte_rx hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
connectionless_cte_tx Bluetooth: Host: Map HCI cmd disallowed to errno 2024-05-10 17:38:06 +03:00