openthread_sys

Function otBackboneRouterGetPrimary

Source
pub unsafe extern "C" fn otBackboneRouterGetPrimary(
    aInstance: *mut otInstance,
    aConfig: *mut otBackboneRouterConfig,
) -> otError
Expand description

Gets the Primary Backbone Router information in the Thread Network.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aConfig A pointer to where to put Primary Backbone Router information.

@retval OT_ERROR_NONE Successfully got Primary Backbone Router information. @retval OT_ERROR_NOT_FOUND No Primary Backbone Router exists.