zephyr/tests/bsim/bluetooth/ll/advx/tests_scripts/basic_advx.sh

25 lines
733 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2018 Oticon A/S
# SPDX-License-Identifier: Apache-2.0
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
# Basic connection test: a central connects to a peripheral and expects a
# notification, using the split controller (ULL LLL)
simulation_id="basic_advx"
verbosity_level=2
EXECUTE_TIMEOUT=120
cd ${BSIM_OUT_PATH}/bin
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_advx_prj_conf \
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=advx
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_advx_prj_conf\
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=scanx
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
-D=2 -sim_length=60e6 $@
wait_for_background_jobs