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
Revision 5:7ad0af977056, committed 2014-06-22
- Comitter:
- WiredHome
- Date:
- Sun Jun 22 20:54:44 2014 +0000
- Parent:
- 4:881559865a93
- Child:
- 6:bef14adc58c4
- Commit message:
- Revised the return values to ensure no duplicates.
Changed in this revision
NTPClient.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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