1#!/usr/bin/env bash
2# Copyright 2018 Oticon A/S
3# SPDX-License-Identifier: Apache-2.0
4
5source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
6
7simulation_id="ll-throughput"
8verbosity_level=2
9EXECUTE_TIMEOUT=240
10
11cd ${BSIM_OUT_PATH}/bin
12
13Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_throughput_prj_conf \
14  -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
15
16Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_throughput_prj_conf\
17  -v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral
18
19Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
20  -D=2 -sim_length=60e6 $@ -argschannel -at=40
21
22wait_for_background_jobs
23