Hi. I am using an ESP32c3 but am
not using SNTP to set time but will instead learn it from an attached ZigBee device and network. I then use
to set the time on the ES32c3.
Prototyping by just setting a hard-coded value and then calling
seems to indicate that the ESP32c3 does
not set the correct time immediately but appears to drift towards the correct time. Given that it is drifting from 1-Jan-1970 up to 2023 this takes a little time so two questions:
1. How do I know when time has stabilised?
2. Any way to speed the process along?
For subsequent updates I will use
but I do ideally want the initial time to synchronize ASAP so that subsequent calls to
return sensible values.
Thanks.