openthread_sys

Function otBorderRoutingSetEnabled

Source
pub unsafe extern "C" fn otBorderRoutingSetEnabled(
    aInstance: *mut otInstance,
    aEnabled: bool,
) -> otError
Expand description

Enables or disables the Border Routing Manager.

@note The Border Routing Manager is disabled by default.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnabled A boolean to enable/disable the routing manager.

@retval OT_ERROR_INVALID_STATE The Border Routing Manager is not initialized yet. @retval OT_ERROR_NONE Successfully enabled/disabled the Border Routing Manager.