igrr / axtls-8266

axTLS port for ESP8266
Other
79 stars 33 forks source link

Some time functions derived from SDK #1

Closed Juppit closed 9 years ago

Juppit commented 9 years ago

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...

igrr commented 9 years ago

Thanks, I have merged this into esp8266/Arduino, might be useful not only for TLS.