NTP Client for the mbed networking libraries. The small change to this version is that there can be only one cause for the return value zero.
Fork of NTPClient by
Diff: NTPClient.h
- Revision:
- 5:7ad0af977056
- Parent:
- 2:9a64a50df235
- Child:
- 6:bef14adc58c4
--- a/NTPClient.h Sun Aug 05 16:10:57 2012 +0000 +++ b/NTPClient.h Sun Jun 22 20:54:44 2014 +0000 @@ -38,11 +38,11 @@ ///NTP client results enum NTPResult { + NTP_OK = 0, ///<Success NTP_DNS, ///<Could not resolve name NTP_PRTCL, ///<Protocol error NTP_TIMEOUT, ///<Connection timeout NTP_CONN, ///<Connection error - NTP_OK = 0, ///<Success }; /** NTP Client to update the mbed's RTC using a remote time server