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