The extracted NTP client from Segundos NetServices library, for use with the [[http://mbed.org/users/hlipka/libraries/NetServicesMin|NetServicesMin]] library. The only fixed bug is the memory leak / OOM problem. Needs the [[http://mbed.org/users/hlipka/libraries/DNSResolver|DNSResolver]] library as well.

Dependents:   SPIVFDclock LPC1768_AppBoard_Internet_LCD_Clock

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
 The NTP client is a simple UDP client that will update the mbed's RTC. More...

Enumerations

enum  NTPResult {
  NTP_OK, NTP_PROCESSING, NTP_PRTCL, NTP_TIMEOUT,
  NTP_DNS
}
 

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_OK 

Success.

NTP_PROCESSING 

Processing.

NTP_PRTCL 

Protocol error.

NTP_TIMEOUT 

Connection timeout.

NTP_DNS 

Could not resolve DNS hostname.

Definition at line 37 of file NTPClient.h.