Files
openthread/tests
Jonathan Hui 181227afa7 [nexus] add 1_4_TREL_TC_3 for TREL radio link rediscovery (#12806)
This commit adds Nexus test case 1_4_TREL_TC_3, which verifies the
multi-radio probe mechanism and TREL radio link rediscovery after a
temporary disconnect, according to the Thread 1.4 specification.

The implementation includes:
- tests/nexus/test_1_4_TREL_TC_3.cpp: Sets up a topology with a
  multi-radio Border Router (DUT), a multi-radio Router, and a
  15.4-only End Device. It simulates a TREL disconnect by disabling
  the TREL interface on the Router, verifies that the DUT falls back
  to 15.4, and then re-enables TREL to trigger and verify the probe
  mechanism for link rediscovery.
- tests/nexus/verify_1_4_TREL_TC_3.py: Verifies the packet flow from
  the pcap output, ensuring that TREL is used when available, 15.4
  is used during the TREL disconnect, and TREL usage resumes after
  rediscovery.
- Updated tests/nexus/CMakeLists.txt and tests/nexus/run_nexus_tests.sh
  to include the new test in the build and default test list.

The test ensures that the Thread stack correctly manages link
preferences and successfully rediscovers more efficient radio links
using the multi-radio probe mechanism.
2026-03-31 20:15:31 -05:00
..