1#!/usr/bin/env bash 2# Copyright 2023 Nordic Semiconductor ASA 3# SPDX-License-Identifier: Apache-2.0 4 5set -eu 6 7source ${ZEPHYR_BASE}/tests/bsim/sh_common.source 8 9verbosity_level=2 10simulation_id="$(guess_test_long_name)" 11central_exe="${BSIM_OUT_PATH}/bin/bs_${BOARD_TS}_$(guess_test_long_name)_prj_conf" 12peripheral_exe="${central_exe}" 13 14cd ${BSIM_OUT_PATH}/bin 15 16Execute "$central_exe" \ 17 -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central -RealEncryption=1 18 19Execute "$peripheral_exe" \ 20 -v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral -RealEncryption=1 21 22Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ 23 -D=2 -sim_length=70e6 $@ 24 25wait_for_background_jobs 26