zephyr/tests/bsim/bluetooth/mesh/tests_scripts
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
..
access Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
advertiser tests: bsim: bluetooth: mesh: Add advertiser suspend test 2024-02-08 10:11:19 +00:00
beacon Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
blob_mdls Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
comp_data Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
dfu Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
friendship Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
heartbeat Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
iv_index Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
large_comp_data Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
op_agg Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
persistence Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
priv_beacon Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
provision Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
proxy_sol tests: Bluetooth: Mesh: add proxy solicitation bsim test 2024-01-31 10:34:06 -06:00
replay_cache Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
sar Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
scanner Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
suspend Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
transport Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00