Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SPIVFDclock LPC1768_AppBoard_Internet_LCD_Clock
NTPClient Class Reference
The NTP client is a simple UDP client that will update the mbed's RTC. More...
#include <NTPClient.h>
Public Member Functions | |
| NTPClient () | |
| Instantiates the NTP client. | |
| NTPResult | setTime (const Host &host) |
| Updates the time using the server host, blocks until completion. | |
Detailed Description
The NTP client is a simple UDP client that will update the mbed's RTC.
Definition at line 76 of file NTPClient.h.
Constructor & Destructor Documentation
| NTPClient | ( | ) |
Instantiates the NTP client.
Definition at line 46 of file NTPClient.cpp.
Member Function Documentation
| NTPResult setTime | ( | const Host & | host ) |
Updates the time using the server host, blocks until completion.
- Parameters:
-
host : NTP server
Definition at line 64 of file NTPClient.cpp.
Generated on Wed Jul 13 2022 20:04:13 by
1.7.2