-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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: Op_agg coex loopback test
Adds coexistence Bsim test for Opcode Aggregator models using loopback. The test verifies that the Opcode Aggregator server and client can send messages to each other on the loopback interface. Signed-off-by: Anders Storrø <[email protected]>
- Loading branch information
1 parent
75a069d
commit f243f21
Showing
3 changed files
with
41 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
22 changes: 22 additions & 0 deletions
22
tests/bsim/bluetooth/mesh/tests_scripts/op_agg/loopback.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,22 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2023 Nordic Semiconductor | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh | ||
|
||
# Test that an Opcode aggregated message can be sent and received on loopback. | ||
# | ||
# Test procedure: | ||
# 1. The device initializes both Opcode aggregator server and client. | ||
# The device starts an Opcode aggregator sequence and populates the buffer. | ||
# 2. The device starts sending the sequence on loopback. | ||
# 3. The device verifies that the sequence is correctly received by the server model. | ||
# 4. The device confirms that the client model received all status messages. | ||
conf=prj_mesh1d1_conf | ||
RunTest mesh_op_agg_model_coex_loopback \ | ||
op_agg_dut_model_coex_loopback | ||
|
||
conf=prj_mesh1d1_conf | ||
overlay=overlay_psa_conf | ||
RunTest mesh_op_agg_model_coex_loopback \ | ||
op_agg_dut_model_coex_loopback |