[nexus] add test 1.2.LP.5.3.1 for SSED attachment (#12594)

This commit adds a new Nexus test case 1.2.LP.5.3.1 which validates
SSED attachment and CSL synchronization.

Changes:
- Added kAsSsed JoinMode to Nexus::Node platform to support joining
  as a Synchronized Sleepy End Device with default CSL parameters.
- Implemented test_1_2_LP_5_3_1.cpp following the test specification
  for SSED attachment.
- Implemented verify_1_2_LP_5_3_1.py to verify pcap output, ensuring
  correct use of 802.15.4-2015 frames and CSL synchronization.
- Updated CMakeLists.txt and run_nexus_tests.sh to include the new
  test in the Nexus test suite.
This commit is contained in:
Jonathan Hui
2026-03-03 18:05:15 -06:00
committed by GitHub
parent 202d5df96d
commit e5169ea810
6 changed files with 309 additions and 1 deletions
+9
View File
@@ -87,6 +87,15 @@ void Node::Join(Node &aNode, JoinMode aJoinMode)
break;
case kAsSed:
break;
case kAsSsed:
{
static constexpr uint32_t kDefaultCslPeriod = 100 * 1000 / OT_US_PER_TEN_SYMBOLS; // 100 ms
static constexpr uint32_t kDefaultCslTimeout = 30; // 30 seconds
Get<Mac::Mac>().SetCslPeriod(kDefaultCslPeriod);
Get<Mle::Mle>().SetCslTimeout(kDefaultCslTimeout);
break;
}
}
SuccessOrQuit(Get<Mle::Mle>().SetDeviceMode(Mle::DeviceMode(mode)));