Files
openthread/tests/toranj
Abtin KeshavarzianandGitHub 64c4124bd1 [sntp] clean up and improve Sntp::Client (#13114)
This commit refactors and improves the `Sntp::Client` class by
adopting common OpenThread patterns and simplifying the logic.

Key changes:
- Introduced `Sntp::Client::QueryInfo` core class to wrap the
  public `otSntpQuery` structure.
- Added `Timestamp` class to handle SNTP timestamps, simplifying
  the `Header` structure.
- Renamed methods and variables to be more concise and consistent
  (e.g., `FinalizeSntpTransaction` to `Finalize`,
  `mRetransmissionTimer` to `mTimer`).
- Simplified the `HandleUdpReceive` logic by splitting response
  processing into `ProcessResponse`.

This change improves code readability and maintainability of the
SNTP client module.
2026-05-18 13:04:37 -07:00
..

toranj test framework

toranj is a test framework for OpenThread.

It provides two modes:

  • toranj-cli which enables testing of OpenThread using its CLI interface.
  • toranj-ncp which enables testing of the combined behavior of OpenThread (in NCP mode), spinel interface, and wpantund driver on linux.

toranj features:

  • It is developed in Python.
  • It can be used to simulate multiple nodes forming complex network topologies.
  • It allows testing of network interactions between many nodes (IPv6 traffic exchanges).
  • toranj in NCP mode runs wpantund natively with OpenThread in NCP mode on simulation platform (real-time).
  • toranj in CLI mode runs ot-cli-ftd on simulation platform (real-time).
  • toranj tests run as part of GitHub Actions pull request validation in OpenThread and wpantund GitHub projects.

toranj modes


What does "toranj" mean? it's the name of a common symmetric weaving pattern used in Persian carpets.