pub unsafe extern "C" fn otThreadGetRouterInfo(
    aInstance: *mut otInstance,
    aRouterId: u16,
    aRouterInfo: *mut otRouterInfo
) -> otError
Expand description

The function retains diagnostic information for a given Thread Router.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aRouterId The router ID or RLOC16 for a given router. @param[out] aRouterInfo A pointer to where the router information is placed.

@retval OT_ERROR_NONE Successfully retrieved the router info for given id. @retval OT_ERROR_NOT_FOUND No router entry with the given id. @retval OT_ERROR_INVALID_ARGS @p aRouterInfo is NULL.