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.