1#!/usr/bin/env bash
2#
3# Copyright (c) 2023 Demant A/S
4#
5# SPDX-License-Identifier: Apache-2.0
6
7source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
8
9SIMULATION_ID="pacs_notify"
10VERBOSITY_LEVEL=2
11EXECUTE_TIMEOUT=200
12
13cd ${BSIM_OUT_PATH}/bin
14
15printf "\n\n======== Running PACS Notify test =========\n\n"
16
17Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \
18  -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=pacs_notify_server -rs=24 -D=2
19
20Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \
21  -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=pacs_notify_client -rs=46 -D=2
22
23Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
24  -D=2 -sim_length=60e6 $@
25
26wait_for_background_jobs
27