1#!/usr/bin/env bash
2# Copyright (c) 2023 Nordic Semiconductor
3# SPDX-License-Identifier: Apache-2.0
4
5source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
6
7verbosity_level=2
8simulation_id=$(guess_test_long_name)
9bsim_exe=./bs_${BOARD_TS}_$(guess_test_long_name)_prj_conf
10
11cd ${BSIM_OUT_PATH}/bin
12
13Execute "${bsim_exe}" -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central -rs=420
14Execute "${bsim_exe}" -v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral -rs=100
15
16Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} -D=2 -sim_length=30e6 $@
17
18wait_for_background_jobs
19