openthread_sys

Function otChannelManagerSetDelay

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

Sets the delay (in seconds) used for a network channel change.

Only available on FTDs. The delay should preferably be longer than the 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.