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> |
||
|---|---|---|
| .. | ||
| src | ||
| test_scripts | ||
| CMakeLists.txt | ||
| compile.sh | ||
| Kconfig | ||
| Kconfig.sysbuild | ||
| overlay-bt_ll_sw_split.conf | ||
| prj.conf | ||
| README.txt | ||
| sysbuild.cmake | ||
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.