openthread_sys

Function otBackboneRouterSetConfig

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

Sets the local Backbone Router configuration #otBackboneRouterConfig.

A Server Data Request message SRV_DATA.ntf is initiated automatically if BBR Dataset changes for Primary Backbone Router.

Available when OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE is enabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aConfig A pointer to the Backbone Router configuration to take effect.

@retval OT_ERROR_NONE Successfully updated configuration. @retval OT_ERROR_INVALID_ARGS The configuration in @p aConfig is invalid.

@sa otBackboneRouterSetEnabled @sa otBackboneRouterGetState @sa otBackboneRouterGetConfig @sa otBackboneRouterRegister