zephyr/tests/bsim/bluetooth/audio
Emil Gydesen b4f3763c31 tests: Bluetooth: Audio: Use same recv_cb for all tests
This commit changes the BSIM tests to use the same recv callback
for all tests. The purpose of this is to reduce code duplication
and make it easier to maintain the tests.

This also changes the recv_cb so that in case of any error we log
the most recently received SDU, which should provide more
information about why a test failed in case of RX error.

PBP had to be updated a bit to support the audio_stream
struct.

Also modifies a check and log in bap_stream that was less than
helpful to determine if it was the stream or the endpoint that
was NULL.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-11-21 14:47:49 +01:00
..
src tests: Bluetooth: Audio: Use same recv_cb for all tests 2024-11-21 14:47:49 +01:00
test_scripts tests/bsim/bluetooth/audio: Increase EXECUTION_TIMEOUT where needed 2024-11-16 14:56:43 -05:00
CMakeLists.txt
compile.sh tests: Bluetooth: Run Audio BSIM test on nrf5340bsim 2024-09-09 15:23:57 +03:00
Kconfig
Kconfig.sysbuild tests: Bluetooth: Run Audio BSIM test on nrf5340bsim 2024-09-09 15:23:57 +03:00
overlay-bt_ll_sw_split.conf tests: Bluetooth: Run Audio BSIM test on nrf5340bsim 2024-09-09 15:23:57 +03:00
prj.conf Bluetooth: BAP: Depend on BT_PER_ADV_SYNC instead of select 2024-11-21 09:19:47 +01:00
README.txt
sysbuild.cmake tests: Bluetooth: Run Audio BSIM test on nrf5340bsim 2024-09-09 15:23:57 +03:00

Zephyr test application which uses the simulated boards test hooks.
Can be compiled targeting the *_bsim boards.

This application will, based on the command line arguments, select one of
testcases which are compiled with it.