1#!/usr/bin/env bash 2# Copyright 2023 Nordic Semiconductor ASA 3# SPDX-License-Identifier: Apache-2.0 4 5source ${ZEPHYR_BASE}/tests/bsim/sh_common.source 6 7test_exe="bs_${BOARD_TS}_tests_bsim_bluetooth_host_scan_start_stop_prj_conf" 8simulation_id="start_stop" 9verbosity_level=2 10 11cd ${BSIM_OUT_PATH}/bin 12 13Execute "./${test_exe}" \ 14 -v=${verbosity_level} -s="${simulation_id}" -d=0 -testid=scanner 15 16Execute "./${test_exe}" \ 17 -v=${verbosity_level} -s="${simulation_id}" -d=1 -testid=periodic_adv 18 19Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s="${simulation_id}" \ 20 -D=2 -sim_length=5e6 21 22wait_for_background_jobs 23