Skip to content

Commit a7d2fdd

Browse files
cvinayakcarlescufi
authored andcommitted
tests: bsim: Bluetooth: Test RTN=2, FT=2, Per skip 4 SE in Controller
Test RTN=2, FT=2 in Controller with 4 subevents dropped by peripheral. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 2935d3b commit a7d2fdd

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CONFIG_TEST_USE_LEGACY_ADVERTISING=n
2+
CONFIG_TEST_CONNECT_ACL_FIRST=y
3+
CONFIG_TEST_FT_PER_SKIP_SUBEVENTS=y
4+
CONFIG_TEST_FT_PER_SKIP_EVENTS_COUNT=2
5+
CONFIG_BT_MAX_CONN=1
6+
CONFIG_BT_ISO_MAX_CHAN=1
7+
CONFIG_BT_CTLR_LLCP_LOCAL_PROC_CTX_BUF_NUM=9
8+
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
9+
CONFIG_BT_CTLR_ISOAL_PSN_IGNORE=y
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
# Copyright 2020 Nordic Semiconductor ASA
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
6+
7+
# Basic Connected ISO test: a Central connects to 1 Peripheral and tests RTN=2,
8+
# FT=2, skips 4 subevents in the peripheral
9+
simulation_id="connected_iso_acl_first_ft_per_skip_4_se"
10+
verbosity_level=2
11+
EXECUTE_TIMEOUT=60
12+
13+
cd ${BSIM_OUT_PATH}/bin
14+
15+
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-acl_first_ft_per_skip_4_se_conf \
16+
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
17+
18+
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_cis_prj_conf_overlay-acl_first_ft_per_skip_4_se_conf \
19+
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral
20+
21+
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
22+
-D=2 -sim_length=30e6 $@
23+
24+
wait_for_background_jobs

tests/bsim/bluetooth/ll/compile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group.conf compile
4040
app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group_acl_first.conf compile
4141
app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-peripheral_cis.conf compile
4242
app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_per_skip_2_se.conf compile
43+
app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_per_skip_4_se.conf compile
4344

4445
app=tests/bsim/bluetooth/ll/edtt/hci_test_app \
4546
conf_file=prj_dut_llcp.conf compile

0 commit comments

Comments
 (0)