1#!/usr/bin/env bash 2# Copyright 2023 Nordic Semiconductor ASA 3# SPDX-License-Identifier: Apache-2.0 4 5set -eu 6source ${ZEPHYR_BASE}/tests/bsim/sh_common.source 7 8simulation_id="mtu_update" 9verbosity_level=2 10 11cd ${BSIM_OUT_PATH}/bin 12 13central_exe="./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_mtu_update_prj_central_conf" 14peripheral_exe="./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_mtu_update_prj_peripheral_conf" 15 16Execute "$central_exe" \ 17 -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central -RealEncryption=1 18 19Execute "$peripheral_exe" \ 20 -v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral -RealEncryption=1 21 22Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ 23 -D=2 -sim_length=60e6 $@ -argschannel -at=40 24 25wait_for_background_jobs 26