mirror of
https://github.com/espressif/openthread.git
synced 2026-09-17 06:30:10 +00:00
[seeker] introduce new otSeeker APIs (#12357)
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.
This commit is contained in:
@@ -252,6 +252,7 @@ ot_option(OT_PLATFORM_NETIF OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE "platform ne
|
||||
ot_option(OT_PLATFORM_POWER_CALIBRATION OPENTHREAD_CONFIG_PLATFORM_POWER_CALIBRATION_ENABLE "power calibration")
|
||||
ot_option(OT_PLATFORM_UDP OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE "platform UDP")
|
||||
ot_option(OT_REFERENCE_DEVICE OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE "test harness reference device")
|
||||
ot_option(OT_SEEKER OPENTHREAD_CONFIG_SEEKER_ENABLE "seeker")
|
||||
ot_option(OT_SERVICE OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE "Network Data service")
|
||||
ot_option(OT_SETTINGS_RAM OPENTHREAD_SETTINGS_RAM "volatile-only storage of settings")
|
||||
ot_option(OT_SLAAC OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE "SLAAC address")
|
||||
|
||||
Reference in New Issue
Block a user