openthread_sys

Function otBackboneRouterSetEnabled

Source
pub unsafe extern "C" fn otBackboneRouterSetEnabled(
    aInstance: *mut otInstance,
    aEnable: bool,
)
Expand description

Enables or disables Backbone functionality.

If enabled, a Server Data Request message SRV_DATA.ntf is triggered for the attached device if there is no Backbone Router Service in the Thread Network Data.

If disabled, SRV_DATA.ntf is triggered if the Backbone Router is in the Primary state.

Available when OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE is enabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnable TRUE to enable Backbone functionality, FALSE otherwise.

@sa otBackboneRouterGetState @sa otBackboneRouterGetConfig @sa otBackboneRouterSetConfig @sa otBackboneRouterRegister