PreviousNext

Getting the Time from NTP Time Sources

DTS provides two sample time-provider programs:

· dts_ntp_provider.c - Takes the time from an NTP server as it would from a radio receiver. The user specifies the name of the NTP server and the inaccuracy.

· dts_null_provider.c - Used on a DTS server whose clock is already synchronized by an external agent, such as NTP. It sets the inaccuracy, but it prevents DTS from setting the time. The user sets the inaccuracy based on local experience with NTP. The null provider may be useful for sites that already have a radio clock that is managed by NTP. Make the node with the radio clock a DTS server and use the null time-provider.

More:

Getting the Time from Local NTP Time Sources

Getting the Time from Remote NTP Time Sources