Skip to content

Commit 9ed72eb

Browse files
Thalleynashif
authored andcommitted
tests: Bluetooth: CAP: BSIM: Set initiator as d=0 and acceptor as d=1
Typically the client is the first device in our babblesim tests, so reordered the initiator and acceptor for the CAP tests to conform to that. Signed-off-by: Emil Gydesen <[email protected]>
1 parent b635a47 commit 9ed72eb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

tests/bsim/bluetooth/audio/test_scripts/cap_broadcast.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Copyright (c) 2022 Nordic Semiconductor ASA
3+
# Copyright (c) 2022-2023 Nordic Semiconductor ASA
44
#
55
# SPDX-License-Identifier: Apache-2.0
66

@@ -15,10 +15,10 @@ cd ${BSIM_OUT_PATH}/bin
1515
printf "\n\n======== Running CAP broadcast test =========\n\n"
1616

1717
Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \
18-
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_acceptor_broadcast -rs=23
18+
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_initiator_broadcast -rs=46
1919

2020
Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \
21-
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_initiator_broadcast -rs=46
21+
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_acceptor_broadcast -rs=23
2222

2323
# Simulation time should be larger than the WAIT_TIME in common.h
2424
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \

tests/bsim/bluetooth/audio/test_scripts/cap_unicast.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Copyright (c) 2022 Nordic Semiconductor ASA
3+
# Copyright (c) 2022-2023 Nordic Semiconductor ASA
44
#
55
# SPDX-License-Identifier: Apache-2.0
66

@@ -15,10 +15,10 @@ cd ${BSIM_OUT_PATH}/bin
1515
printf "\n\n======== Running CAP unicast test =========\n\n"
1616

1717
Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \
18-
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_acceptor_unicast -rs=23
18+
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_initiator_unicast -rs=46
1919

2020
Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \
21-
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_initiator_unicast -rs=46
21+
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_acceptor_unicast -rs=23
2222

2323
# Simulation time should be larger than the WAIT_TIME in common.h
2424
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \

tests/bsim/bluetooth/audio/test_scripts/cap_unicast_timeout.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ cd ${BSIM_OUT_PATH}/bin
1515
printf "\n\n======== Running CAP unicast timeout test =========\n\n"
1616

1717
Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \
18-
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_acceptor_unicast_timeout -rs=23
18+
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_initiator_unicast_timeout -rs=46
1919

2020
Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \
21-
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_initiator_unicast_timeout -rs=46
21+
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_acceptor_unicast_timeout -rs=23
2222

2323
# Simulation time should be larger than the WAIT_TIME in common.h
2424
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \

0 commit comments

Comments
 (0)