openthread_sys

Function otThreadSetChildRouterLinks

Source
pub unsafe extern "C" fn otThreadSetChildRouterLinks(
    aInstance: *mut otInstance,
    aChildRouterLinks: u8,
) -> otError
Expand description

Set the MLE_CHILD_ROUTER_LINKS parameter used in the REED role.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aChildRouterLinks The MLE_CHILD_ROUTER_LINKS value.

@retval OT_ERROR_NONE Successfully set the value. @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.

@sa otThreadGetChildRouterLinks