NTP client.

Dependents:   GT511C3_TimeStamp_WIZwiki-W7500 Receive_RFID_Data_in_W750SR_and_send_RFID_andNTP_Data_to_MQTT

Fork of NTPClient by Donatien Garnier

Files at this revision

API Documentation at this revision

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
 };