The following functions and variables are designated as internal to the SNTP Client module.
Macros
|
Name |
Description |
|
Reference Epoch to use. (default: 01-Jan-1970 00:00:00) | |
|
Defines how long to wait to retry an update after a failure. Updates may take up to 6 seconds to fail, so this 14 second delay is actually only an 8-second retry. | |
|
Defines how frequently to resynchronize the date/time (default: 10 minutes) | |
|
Defines how long to wait before assuming the query has failed | |
|
These are normally available network time servers. The actual IP returned from the pool will vary every minute so as to spread the load around stratum 1 timeservers. For best accuracy and network overhead you should locate the pool server closest to your geography, but it will still work if you use the global pool.ntp.org address or choose the wrong one or ship your embedded device to another geography. | |
|
Port for contacting NTP servers |
Module
Structures
|
Name |
Description |
|
Defines the structure of an NTP packet |
Variables
|
Name |
Description |
|
Tick count of last update | |
|
Seconds value obtained by last update |