ot::Utils::MeshDiag::DiscoverTopology() method
Starts network topology discovery.
Arguments
aConfig
The configuration to use for discovery (e.g., which items to discover).
aCallback
The callback to report the discovered routers.
aContext
A context to pass in @p aCallback.
Return value
kErrorNone The network topology discovery started successfully. kErrorBusy A previous discovery or query request is still ongoing. kErrorInvalidState Device is not attached. kErrorNoBufs Could not allocate buffer to send discovery messages.