mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
63ec21ea77
This commit adds the Nexus test case 1_4_TREL_TC_1 which verifies connectivity between multi-radio (15.4 and TREL) and single-radio (15.4 only) devices, as per the Thread 1.4 test specification. The implementation includes: - tests/nexus/test_1_4_TREL_TC_1.cpp: Implements the test sequence. It sets up a topology with a Border Router (DUT) and two Routers. BR and Router_1 support both 15.4 and TREL, while Router_2 supports only 15.4. The test verifies that nodes can correctly detect neighbor radio capabilities and establishes connectivity using both radio types. - tests/nexus/verify_1_4_TREL_TC_1.py: Performs automated packet verification. It ensures that traffic between multi-radio nodes preferentially uses TREL (simulated over the infrastructure link via UDP), while traffic involving the single-radio node uses 15.4. It also validates successful ping exchange across the mixed-radio topology. - Integrated the new test into tests/nexus/CMakeLists.txt and tests/nexus/run_nexus_tests.sh. The test validates that the Thread stack correctly manages multiple radio links and ensures seamless connectivity across different physical layers.