openthread_sys

Function otLinkSetCslTimeout

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

Sets the CSL timeout in seconds.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aTimeout The CSL timeout in seconds.

@retval OT_ERROR_NONE Successfully set the CSL timeout. @retval OT_ERROR_INVALID_ARGS Invalid CSL timeout.