ot::RouterTable::GetRouterInfo() method
Retains diagnostic information for a given router.
Arguments
aRouterId
The router ID or RLOC16 for a given router.
aRouterInfo
The router information.
Return value
kErrorNone Successfully retrieved the router info for given id. kErrorInvalidArgs @p aRouterId is not a valid value for a router. kErrorNotFound No router entry with the given id.