openthread_sys

Function otChannelManagerSetAutoChannelSelectionInterval

Source
pub unsafe extern "C" fn otChannelManagerSetAutoChannelSelectionInterval(
    aInstance: *mut otInstance,
    aInterval: u32,
) -> otError
Expand description

Sets the period interval (in seconds) used by auto-channel-selection functionality.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aInterval The interval in seconds.

@retval OT_ERROR_NONE The interval was set successfully. @retval OT_ERROR_INVALID_ARGS The @p aInterval is not valid (zero).