Skip to content

Commit

Permalink
tests: bsim: hci_uart: Rename to hci_uart test name
Browse files Browse the repository at this point in the history
Rename uart and uart_async bsim test to reflect
testing of hci_uart sample using UART driver
variants under bsim simulations.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
  • Loading branch information
cvinayak committed Feb 6, 2024
1 parent 3c25bfe commit 07084e0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/hci_uart/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mkdir -p ${WORK_DIR}

source ${ZEPHYR_BASE}/tests/bsim/compile.source

app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_uart.conf compile
app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_hci_uart.conf compile
app=samples/bluetooth/hci_uart compile
app=samples/bluetooth/hci_uart_async compile

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
# notification, using the split controller (ULL LLL)
# Both central and peripheral hosts have their controllers in a separate device
# connected over UART. The controller is the HCI UART sample.
simulation_id="basic_conn_split_uart"
simulation_id="basic_conn_split_hci_uart"
verbosity_level=2
EXECUTE_TIMEOUT=10

Expand All @@ -21,7 +21,7 @@ UART_CEN=${UART_DIR}/central
# Note the host+app devices are NOT connected to the phy, only the controllers are.

# Peripheral app + host :
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_conn_prj_split_uart_conf \
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_conn_prj_split_hci_uart_conf \
-v=${verbosity_level} -s=${simulation_id} -d=10 -nosim -RealEncryption=0 \
-testid=peripheral -rs=23 -uart1_fifob_rxfile=${UART_PER}.rx -uart1_fifob_txfile=${UART_PER}.tx

Expand All @@ -31,7 +31,7 @@ Execute ./bs_${BOARD}_samples_bluetooth_hci_uart_prj_conf \
-rs=23 -uart1_fifob_rxfile=${UART_PER}.tx -uart1_fifob_txfile=${UART_PER}.rx \

# Central app + host
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_conn_prj_split_uart_conf\
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_conn_prj_split_hci_uart_conf\
-v=${verbosity_level} -s=${simulation_id} -d=11 -nosim -RealEncryption=0 \
-testid=central -rs=6 -uart1_fifob_rxfile=${UART_CEN}.rx -uart1_fifob_txfile=${UART_CEN}.tx

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
# notification, using the split controller (ULL LLL)
# Both central and peripheral hosts have their controllers in a separate device
# connected over UART. The controller is the HCI UART async sample.
simulation_id="basic_conn_split_uart_async"
simulation_id="basic_conn_split_hci_uart_async"
verbosity_level=2
EXECUTE_TIMEOUT=10

Expand All @@ -21,7 +21,7 @@ UART_CEN=${UART_DIR}/central
# Note the host+app devices are NOT connected to the phy, only the controllers are.

# Peripheral app + host :
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_conn_prj_split_uart_conf \
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_conn_prj_split_hci_uart_conf \
-v=${verbosity_level} -s=${simulation_id} -d=10 -nosim -RealEncryption=0 \
-testid=peripheral -rs=23 -uart1_fifob_rxfile=${UART_PER}.rx -uart1_fifob_txfile=${UART_PER}.tx

Expand All @@ -31,7 +31,7 @@ Execute ./bs_${BOARD}_samples_bluetooth_hci_uart_async_prj_conf \
-rs=23 -uart1_fifob_rxfile=${UART_PER}.tx -uart1_fifob_txfile=${UART_PER}.rx

# Central app + host
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_conn_prj_split_uart_conf\
Execute ./bs_${BOARD}_tests_bsim_bluetooth_ll_conn_prj_split_hci_uart_conf\
-v=${verbosity_level} -s=${simulation_id} -d=11 -nosim -RealEncryption=0 \
-testid=central -rs=6 -uart1_fifob_rxfile=${UART_CEN}.rx -uart1_fifob_txfile=${UART_CEN}.tx

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CONFIG_BT_HRS=y
CONFIG_BT_ATT_PREPARE_COUNT=2
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_DEVICE_NAME="bsim_test_split_uart"
CONFIG_BT_DEVICE_NAME="bsim_test_split_hci_uart"
CONFIG_BT_L2CAP_TX_BUF_COUNT=6

CONFIG_BT_HCI=y
Expand Down

0 comments on commit 07084e0

Please sign in to comment.