pub unsafe extern "C" fn otNetworkTimeSetSyncPeriod(
aInstance: *mut otInstance,
aTimeSyncPeriod: u16,
) -> otError
Expand description
Set the time synchronization period.
Can only be called while Thread protocols are disabled.
@param[in] aInstance The OpenThread instance structure. @param[in] aTimeSyncPeriod The time synchronization period, in seconds.
@retval OT_ERROR_NONE Successfully set the time sync period. @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.