NTP

Dependents:   DISCO-F746NG_Ethernet gather_sensor_data final DISCO-F746NG_Ethernet

Embed: (wiki syntax)

« Back to documentation index

NTPClient.h File Reference

NTPClient.h File Reference

NTP Client header file. More...

Go to the source code of this file.

Data Structures

class  NTPClient
 NTP Client to update the mbed's RTC using a remote time server. More...

Enumerations

enum  NTPResult {
  NTP_DNS, NTP_PRTCL, NTP_TIMEOUT, NTP_CONN,
  NTP_OK = 0
}
 

NTP client results.

More...

Detailed Description

NTP Client header file.

Definition in file NTPClient.h.


Enumeration Type Documentation

enum NTPResult

NTP client results.

Enumerator:
NTP_DNS 

Could not resolve name.

NTP_PRTCL 

Protocol error.

NTP_TIMEOUT 

Connection timeout.

NTP_CONN 

Connection error.

NTP_OK 

Success.

Definition at line 39 of file NTPClient.h.