forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Bluetooth: BAP: Add broadcast tests with VS codec
A broadcast tests with various BASEs that use a vendor specific (VS) codec. This tests that we support non-LC3 codecs on both broadcast sources and sinks in various configurations. Signed-off-by: Emil Gydesen <[email protected]>
- Loading branch information
Showing
8 changed files
with
212 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...s/bsim/bluetooth/audio/test_scripts/bap_broadcast_audio_vs_multiple_group_multiple_bis.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
VERBOSITY_LEVEL=2 | ||
EXECUTE_TIMEOUT=120 | ||
|
||
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source | ||
|
||
cd ${BSIM_OUT_PATH}/bin | ||
|
||
SIMULATION_ID="bap_broadcast_audio_vs_multiple_group_multiple_bis" | ||
|
||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \ | ||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \ | ||
-RealEncryption=1 -rs=23 -D=2 -argstest subgroup_cnt 2 streams_per_subgroup_cnt 2 vs_codec | ||
|
||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \ | ||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=broadcast_sink \ | ||
-RealEncryption=1 -rs=27 -D=2 | ||
|
||
# Simulation time should be larger than the WAIT_TIME in common.h | ||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \ | ||
-D=2 -sim_length=60e6 $@ | ||
|
||
wait_for_background_jobs |
28 changes: 28 additions & 0 deletions
28
tests/bsim/bluetooth/audio/test_scripts/bap_broadcast_audio_vs_multiple_group_single_bis.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
VERBOSITY_LEVEL=2 | ||
EXECUTE_TIMEOUT=120 | ||
|
||
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source | ||
|
||
cd ${BSIM_OUT_PATH}/bin | ||
|
||
SIMULATION_ID="bap_broadcast_audio_vs_multiple_group_single_bis" | ||
|
||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \ | ||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \ | ||
-RealEncryption=1 -rs=23 -D=2 -argstest subgroup_cnt 2 streams_per_subgroup_cnt 1 vs_codec | ||
|
||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \ | ||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=broadcast_sink \ | ||
-RealEncryption=1 -rs=27 -D=2 | ||
|
||
# Simulation time should be larger than the WAIT_TIME in common.h | ||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \ | ||
-D=2 -sim_length=60e6 $@ | ||
|
||
wait_for_background_jobs |
28 changes: 28 additions & 0 deletions
28
tests/bsim/bluetooth/audio/test_scripts/bap_broadcast_audio_vs_single_group_multiple_bis.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
VERBOSITY_LEVEL=2 | ||
EXECUTE_TIMEOUT=120 | ||
|
||
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source | ||
|
||
cd ${BSIM_OUT_PATH}/bin | ||
|
||
SIMULATION_ID="bap_broadcast_audio_vs_single_group_multiple_bis" | ||
|
||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \ | ||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \ | ||
-RealEncryption=1 -rs=23 -D=2 -argstest subgroup_cnt 1 streams_per_subgroup_cnt 2 vs_codec | ||
|
||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \ | ||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=broadcast_sink \ | ||
-RealEncryption=1 -rs=27 -D=2 | ||
|
||
# Simulation time should be larger than the WAIT_TIME in common.h | ||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \ | ||
-D=2 -sim_length=60e6 $@ | ||
|
||
wait_for_background_jobs |
Oops, something went wrong.