Determining the end of time sync in Wifi.setSNTP #5666
Unanswered
espruino-discuss
asked this question in
ESP8266
Replies: 1 comment
-
Posted at 2017-05-13 by Wilberforce An optional callback would need to be added, and the code here modified to call the callback if it exists. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-05-13 by Delanet
The Wifi.setSNTP command is asynchronous and has no callback and events. I can compare the time from 1.1.1970 (>1000000) only in the case of the first synchronization, but not the subsequent cases. How to accurately determine when the synchronization ends?
Beta Was this translation helpful? Give feedback.
All reactions