2020-03-28 13:30:51 +01:00
|
|
|
#ifndef WLED_NTP_H
|
|
|
|
#define WLED_NTP_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
/*
|
|
|
|
* Acquires time from NTP server
|
|
|
|
*/
|
|
|
|
|
|
|
|
void handleNetworkTime();
|
|
|
|
void sendNTPPacket();
|
|
|
|
bool checkNTPResponse();
|
|
|
|
void updateLocalTime();
|
|
|
|
void getTimeString(char* out);
|
|
|
|
bool checkCountdown();
|
|
|
|
void setCountdown();
|
|
|
|
byte weekdayMondayFirst();
|
|
|
|
void checkTimers();
|
|
|
|
|
2020-03-25 09:00:55 +01:00
|
|
|
#endif // WLED_NTP_H
|