add headers for new methods

This commit is contained in:
Christophe Catherine Slychan 2020-04-26 23:34:28 +02:00 committed by GitHub
parent 894b21de11
commit 0c2ba5e652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,21 @@ class NTPClient {
*/ */
void setPoolServerName(const char* poolServerName); void setPoolServerName(const char* poolServerName);
/**
* Set time server IP address
*
* @param poolServerIP
*/
void setPoolServerIP(IPAddress poolServerIP);
/**
* Set time server domain or IP address
*
* @param poolServerAddress
*/
void setPoolServerAddress(const char* poolServerAddress);
void setPoolServerAddress(IPAddress poolServerAddress);
/** /**
* Starts the underlying UDP client with the default local port * Starts the underlying UDP client with the default local port
*/ */