Function esp_idf_svc::hal::sys::sntp_set_sync_interval
source ยท pub unsafe extern "C" fn sntp_set_sync_interval(interval_ms: u32)
Expand description
@brief Set the sync interval of SNTP operation
Note: SNTPv4 RFC 4330 enforces a minimum sync interval of 15 seconds. This sync interval will be used in the next attempt update time throught SNTP. To apply the new sync interval call the sntp_restart() function, otherwise, it will be applied after the last interval expired.
@param interval_ms The sync interval in ms. It cannot be lower than 15 seconds, otherwise 15 seconds will be set.