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
7simulation_id="att_sequential"
8verbosity_level=2
9
10dut_exe="bs_${BOARD_TS}_$(guess_test_long_name)_dut_prj_conf"
11tester_exe="bs_${BOARD_TS}_$(guess_test_long_name)_tester_prj_conf"
12
13cd ${BSIM_OUT_PATH}/bin
14
15Execute ./bs_2G4_phy_v1 \
16    -v=${verbosity_level} -s="${simulation_id}" -D=2 -sim_length=10e6 $@
17
18Execute "./$tester_exe" \
19    -v=${verbosity_level} -s="${simulation_id}" -d=1 -testid=tester -RealEncryption=0 -rs=100
20
21Execute "./$dut_exe" \
22    -v=${verbosity_level} -s="${simulation_id}" -d=0 -testid=dut -RealEncryption=0
23
24wait_for_background_jobs
25