openthread_sys

Function otBackboneRouterGetState

Source
pub unsafe extern "C" fn otBackboneRouterGetState(
    aInstance: *mut otInstance,
) -> otBackboneRouterState
Expand description

Gets the Backbone Router #otBackboneRouterState.

@param[in] aInstance A pointer to an OpenThread instance.

@retval OT_BACKBONE_ROUTER_STATE_DISABLED Backbone functionality is disabled. @retval OT_BACKBONE_ROUTER_STATE_SECONDARY Secondary Backbone Router. @retval OT_BACKBONE_ROUTER_STATE_PRIMARY The Primary Backbone Router.

@sa otBackboneRouterSetEnabled @sa otBackboneRouterGetConfig @sa otBackboneRouterSetConfig @sa otBackboneRouterRegister