A minor bugfix. It prevents the library from entering an endless loop in case the NTP server droppes the request rather than sending a kiss of death message.

Dependents:   STM32F746_iothub_client_sample_mqtt Iot_LCD_EC iothub_client_sample_mqtt simplesample_mqtt ... more

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.