mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
3fec404eff
This commit introduces Seeker APIs in OpenThread. An earlier commit extracted the discovery and candidate selection logic from the `Joiner` role into a new, standalone `Seeker` module. The `Seeker` is responsible for performing MLE Discover Scans to find nearby Joiner Router candidates. It prioritizes these candidates based on RSSI and steering data (indicating whether the Joiner is preferred) and manages the list of candidates for connection attempts. This separation allows the `Seeker` functionality to be utilized independently of the full `Joiner` role, enabling the development of custom joining mechanisms over Thread. A new configuration option `OPENTHREAD_CONFIG_SEEKER_ENABLE` has been added to control the presence of `otSeeker` APIs.
toranj test framework
toranj is a test framework for OpenThread.
It provides two modes:
toranj-cliwhich enables testing of OpenThread using its CLI interface.toranj-ncpwhich enables testing of the combined behavior of OpenThread (in NCP mode), spinel interface, andwpantunddriver 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).
toranjin NCP mode runswpantundnatively with OpenThread in NCP mode on simulation platform (real-time).toranjin CLI mode runsot-cli-ftdon simulation platform (real-time).toranjtests run as part of GitHub Actions pull request validation in OpenThread andwpantundGitHub projects.
toranj modes
What does "toranj" mean? it's the name of a common symmetric weaving pattern used in Persian carpets.