[][src]Function openthread_sys::otNetworkTimeSetXtalThreshold

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

Set the time synchronization XTAL accuracy threshold for Router-Capable device.

This function can only be called while Thread protocols are disabled.

@param[in] aInstance The OpenThread instance structure. @param[in] aXTALThreshold The XTAL accuracy threshold for Router, in PPM.

@retval OT_ERROR_NONE Successfully set the time sync period. @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.