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.
ot::Utils::MeshDiag::DiscoverTopology() calls 2 functions:
![]()
ot::Utils::MeshDiag::DiscoverTopology()
ot::Utils::MeshDiag::DiscoverTopology() reads 12 variables and writes 1 variable:
![]()
ot::Utils::MeshDiag::DiscoverTopology()