Uniot Core
0.8.1
Loading...
Searching...
No Matches

Time and date management class for Uniot devices. More...

Collaboration diagram for Main Component:

Classes

class  uniot::Date
 

Functions

uint32_t sntp_update_delay_MS_rfc_not_less_than_15000 ()
 Defines the minimal delay between SNTP updates.
 

Detailed Description

Time and date management class for Uniot devices.

The Date class provides functionality for managing time synchronization via NTP and persisting the system time between device reboots. It implements:

Function Documentation

◆ sntp_update_delay_MS_rfc_not_less_than_15000()

uint32_t sntp_update_delay_MS_rfc_not_less_than_15000 ( )

Defines the minimal delay between SNTP updates.

This function overrides the default SNTP update delay as defined in RFC. While the RFC recommends not less than 15 seconds, this implementation sets a much more conservative 10-minute interval to reduce network traffic.

Return values
uint32_tDelay in milliseconds (10 minutes)