Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: GT511C3_TimeStamp_WIZwiki-W7500 Receive_RFID_Data_in_W750SR_and_send_RFID_andNTP_Data_to_MQTT
Fork of NTPClient by
Revision 5:36be990f21be, committed 2015-07-30
- Comitter:
- hjjeon
- Date:
- Thu Jul 30 08:16:39 2015 +0000
- Parent:
- 4:881559865a93
- Commit message:
- Change enum number in struct.
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	Thu Jul 30 08:16:39 2015 +0000
@@ -38,10 +38,10 @@
 ///NTP client results
 enum NTPResult
 {
-  NTP_DNS, ///<Could not resolve name
-  NTP_PRTCL, ///<Protocol error
-  NTP_TIMEOUT, ///<Connection timeout
-  NTP_CONN, ///<Connection error
+  NTP_DNS = 1, ///<Could not resolve name
+  NTP_PRTCL = 2, ///<Protocol error
+  NTP_TIMEOUT = 3, ///<Connection timeout
+  NTP_CONN = 4, ///<Connection error
   NTP_OK = 0, ///<Success
 };
 
    