1#!/usr/bin/env bash 2# Copyright 2023-2024 Nordic Semiconductor ASA 3# SPDX-License-Identifier: Apache-2.0 4 5# Simple selfchecking test for the CCP samples. 6 7simulation_id="ccp_samples_test" 8verbosity_level=2 9 10source ${ZEPHYR_BASE}/tests/bsim/sh_common.source 11 12cd ${BSIM_OUT_PATH}/bin 13 14Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_samples_ccp_call_control_server_prj_conf \ 15 -v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=1 -testid=ccp_call_control_server 16 17Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_samples_ccp_call_control_client_prj_conf \ 18 -v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=1 -testid=ccp_call_control_client 19 20Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ 21 -D=2 -sim_length=20e6 $@ -argschannel -at=40 22 23wait_for_background_jobs #Wait for all programs in background and return != 0 if any fails 24