mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
7bfb4226f0
This commit adds Nexus test case 1_4_TREL_TC_6, which verifies mDNS discovery of the TREL service on a Border Router (DUT), per the Thread 1.4 specification. The implementation includes: - tests/nexus/test_1_4_TREL_TC_6.cpp: C++ test logic that sets up a Border Router and a reference Ethernet device. It performs mDNS browsing to capture the TREL service instance name and then resolves that service. - tests/nexus/verify_1_4_TREL_TC_6.py: Python script that verifies the mDNS packet exchange in the pcap, including PTR, SRV, TXT, and AAAA records, ensuring all DNS-SD parameters and fields are correctly advertised. - Integration into tests/nexus/CMakeLists.txt and tests/nexus/run_nexus_tests.sh for automated building and execution.