1#!/usr/bin/env bash 2# 3# Copyright (c) 2023 Nordic Semiconductor ASA 4# 5# SPDX-License-Identifier: Apache-2.0 6 7# CSIP test where there is no set size characteristic on the Set Members 8 9source ${ZEPHYR_BASE}/tests/bsim/sh_common.source 10 11VERBOSITY_LEVEL=2 12EXECUTE_TIMEOUT=20 13 14cd ${BSIM_OUT_PATH}/bin 15 16SIMULATION_ID="csip_no_size" 17 18Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \ 19 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \ 20 -RealEncryption=1 -rs=1 -argstest no-size 21 22Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \ 23 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member \ 24 -RealEncryption=1 -rs=2 -argstest rank 1 size 0 25 26Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \ 27 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member \ 28 -RealEncryption=1 -rs=3 -argstest rank 2 size 0 29 30Execute ./bs_${BOARD}_tests_bsim_bluetooth_audio_prj_conf \ 31 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member \ 32 -RealEncryption=1 -rs=4 -argstest rank 3s size 0 33 34# Simulation time should be larger than the WAIT_TIME in common.h 35Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \ 36 -D=4 -sim_length=60e6 $@ 37 38wait_for_background_jobs 39