zephyr/tests/bsim/bluetooth
Pavel Vasilyev 30ccd55f4c tests: bsim: bluetooth: mesh: Add advertiser suspend test
Add a test that checks that both advertisers, the legacy and the
extended behaves identically when the stack is suspended, in particular:
- `bt_mesh_send_cb.end` callback is called with error code `0` for the
  advertisement that the advertiser already pushed to the ble host
  (called `bt_mesh_send_cb.start`),
- `bt_mesh_send_cb.start` callback with error `-ENODEV` is called for
  every advertisement that was pushed to the mesh advertiser using
  `bt_mesh_adv_send` function before the stack was suspended,
- `bt_mesh_adv_create` returns NULL when attempting to create a new
  advertisement while the stack is suspended.

The `bt_mesh_adv_disable` is called from the work because calling it
from the `bt_mesh_send_cb.start` callback will cause a deadlock.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2024-02-08 10:11:19 +00:00
..
audio Bluetooth: BAP: Do not send PA term request on local remove 2024-02-05 17:45:45 +01:00
audio_samples tests/bsim/bluetooth: Reduce sysbuild boilerplate 2023-12-02 07:53:11 -05:00
hci_uart tests bsim bt: Add basic connection test with HCI UART async controllers 2024-01-10 10:01:37 +01:00
host Tests: Bluetooth: Host: Add ext-adv test to iterate reconnections 2024-02-07 22:50:16 +01:00
ll tests: bsim: add testcase.yaml to bsim bis test 2024-01-10 12:10:58 +01:00
mesh tests: bsim: bluetooth: mesh: Add advertiser suspend test 2024-02-08 10:11:19 +00:00
compile.nrf5340bsim_nrf5340_cpuapp.sh tests: bsim: Bluetooth: Enable nrf5340bsim CIS ACL group test 2023-11-27 19:59:13 +01:00
compile.nrf5340bsim_nrf5340_cpunet.sh CI bsim workflow: Also run some split BT stack tests 2023-10-31 09:31:42 -05:00
compile.sh tests bsim bt: Add basic connection test with HCI UART controllers 2024-01-10 10:01:37 +01:00
tests.nrf52bsim.txt CI bsim workflow: Also run some split BT stack tests 2023-10-31 09:31:42 -05:00
tests.nrf5340bsim_nrf5340_cpuapp.txt tests bsim: Add tests for unicast client/server samples 2023-11-03 08:35:38 +01:00
tests.nrf5340bsim_nrf5340_cpunet.txt CI bsim workflow: Also run some split BT stack tests 2023-10-31 09:31:42 -05:00