Ethernet for the NUCLEO STM32F746 Board Testprogram uses DHCP and NTP to set the clock. At the moment there are dependencies to the used compiler. It works with the online compiler

Dependencies:   F7_Ethernet mbed

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.