I discovered these functions in sntp.h and found a way to use them.
The time is synced after one hour, which can be observed by Serial.setDebugOutput(true).
To start the service call configTime() when WiFi is turned on.
You need $(SDK_BASE) to compile
Just a few suggestions...
I discovered these functions in sntp.h and found a way to use them. The time is synced after one hour, which can be observed by Serial.setDebugOutput(true). To start the service call configTime() when WiFi is turned on. You need $(SDK_BASE) to compile Just a few suggestions...