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