1#!/usr/bin/env bash 2# Copyright 2020 Nordic Semiconductor ASA 3# SPDX-License-Identifier: Apache-2.0 4 5source ${ZEPHYR_BASE}/tests/bsim/sh_common.source 6 7# Basic Connected ISO test: a Central connects to 9 Peripherals and Establishes 8# 1 CIS each to 9 Peripherals (9 CIS in a CIG) 9simulation_id="connected_iso_legacy_adv" 10verbosity_level=2 11EXECUTE_TIMEOUT=500 12 13cd ${BSIM_OUT_PATH}/bin 14 15Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 16 -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central 17 18Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 19 -v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral 20 21Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 22 -v=${verbosity_level} -s=${simulation_id} -d=2 -testid=peripheral 23 24Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 25 -v=${verbosity_level} -s=${simulation_id} -d=3 -testid=peripheral 26 27Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 28 -v=${verbosity_level} -s=${simulation_id} -d=4 -testid=peripheral 29 30Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 31 -v=${verbosity_level} -s=${simulation_id} -d=5 -testid=peripheral 32 33Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 34 -v=${verbosity_level} -s=${simulation_id} -d=6 -testid=peripheral 35 36Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 37 -v=${verbosity_level} -s=${simulation_id} -d=7 -testid=peripheral 38 39Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 40 -v=${verbosity_level} -s=${simulation_id} -d=8 -testid=peripheral 41 42Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-legacy_adv_conf \ 43 -v=${verbosity_level} -s=${simulation_id} -d=9 -testid=peripheral 44 45Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ 46 -D=10 -sim_length=60e6 $@ 47 48wait_for_background_jobs 49