[][src]Function openthread_sys::otChannelManagerSetDelay

pub unsafe extern "C" fn otChannelManagerSetDelay(
    aInstance: *mut otInstance,
    aDelay: u16
) -> otError

This function sets the delay (in seconds) used for a channel change.

The delay should preferably be longer than maximum data poll interval used by all sleepy-end-devices within the Thread network.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aDelay Delay in seconds.

@retval OT_ERROR_NONE Delay was updated successfully. @retval OT_ERROR_INVALID_ARGS The given delay @p aDelay is too short.