-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Bluetooth: Mesh: Priv Proxy GATT test
Adds test verifying that Private Beacons are received over a GATT proxy connection. Signed-off-by: Anders Storrø <anders.storro@nordicsemi.no>
- Loading branch information
1 parent
6f2ebb9
commit 49bd77a
Showing
4 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/priv_proxy_gatt.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2023 Nordic Semiconductor | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh | ||
|
||
# Test Private over GATT connection | ||
# | ||
# Test procedure: | ||
# 0. Both TX and RX device disables SNB and GATT proxy, and enables | ||
# Private GATT proxy. Test mode for IV update is also enabled on both devices. | ||
# 1. The RX device (Proxy CLI) establish a GATT connection to the TX device | ||
# (Proxy SRV), using Private Network Identity. | ||
# 2. Both TX and RX device disables the scanner to prevent interferance | ||
# by the adv bearer. | ||
# 3. The TX device (Proxy SRV) starts an IV update procedure. | ||
# 4. Both TX and RX device verifies that the IV index has been updated. | ||
# This proves that the RX device (Proxy CLI) successfully received | ||
# a Private beacon over the GATT connection | ||
conf=prj_mesh1d1_conf | ||
overlay=overlay_gatt_conf | ||
RunTest mesh_priv_proxy_gatt_priv_beacon \ | ||
beacon_tx_priv_gatt_proxy \ | ||
beacon_rx_priv_gatt_proxy | ||
|
||
conf=prj_mesh1d1_conf | ||
overlay=overlay_gatt_conf_overlay_psa_conf | ||
RunTest mesh_priv_proxy_gatt_priv_beacon \ | ||
beacon_tx_priv_gatt_proxy \ | ||
beacon_rx_priv_gatt_proxy |