Skip to content

Commit

Permalink
tests: bsim: Bluetooth: central_hr_peripheral_hr for nrf54l15bsim
Browse files Browse the repository at this point in the history
Enable central HR peripheral HR samples for nrf54l15bsim.
RealEncryption is BabbleSIM is not enabled as nRF54L port
in Zephyr Controller is not yet supported and the test is
also not using security (SMP pairing).

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
  • Loading branch information
cvinayak committed Aug 28, 2024
1 parent e9f6c8e commit d1293ae
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions tests/bsim/bluetooth/compile.nrf54l15bsim_nrf54l15_cpuapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ source ${ZEPHYR_BASE}/tests/bsim/compile.source

app=tests/bsim/bluetooth/ll/multiple_id compile

run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/samples/compile.sh

wait_for_background_jobs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
cd ${BSIM_OUT_PATH}/bin

Execute ./bs_${BOARD_TS}_samples_bluetooth_peripheral_hr_prj_conf \
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=1
-v=${verbosity_level} -s=${simulation_id} -d=0

Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_samples_central_hr_peripheral_hr_prj_conf \
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=1 \
-v=${verbosity_level} -s=${simulation_id} -d=1 \
-testid=central_hr_peripheral_hr

Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ EXECUTE_TIMEOUT=60
cd ${BSIM_OUT_PATH}/bin

Execute ./bs_${BOARD_TS}_samples_bluetooth_peripheral_hr_prj_conf_overlay-extended_conf \
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=1
-v=${verbosity_level} -s=${simulation_id} -d=0

Execute ./bs_${BOARD_TS}_${test_long_name}_prj_conf_overlay-extended_conf \
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=1 \
-v=${verbosity_level} -s=${simulation_id} -d=1 \
-testid=central_hr_peripheral_hr

Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ EXECUTE_TIMEOUT=60
cd ${BSIM_OUT_PATH}/bin

Execute ./bs_${BOARD_TS}_samples_bluetooth_peripheral_hr_prj_conf_overlay-phy_coded_conf \
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=1
-v=${verbosity_level} -s=${simulation_id} -d=0

Execute ./bs_${BOARD_TS}_${test_long_name}_prj_conf_overlay-phy_coded_conf \
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=1 \
-v=${verbosity_level} -s=${simulation_id} -d=1 \
-testid=central_hr_peripheral_hr

Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Search paths(s) for tests which will be run in the nrf54l15 app core
# This file is used in CI to select which tests are run
tests/bsim/bluetooth/ll/multiple_id/tests_scripts/multiple.sh
tests/bsim/bluetooth/samples/central_hr_peripheral_hr/

0 comments on commit d1293ae

Please sign in to comment.