My application requires that the time is never synced with the cloud (since I am setting the time locally). Is there a way to disable the automatic time sync that happens during a handshake?
It’s not currently possible to disable time sync. The only thing you can do is monitor the time_changed system event and if it’s time_changed_sync reset the time back to your locally calculated time.
https://docs.particle.io/reference/firmware/#system-events-reference
3 Likes
Thanks I think that might do the trick, do you know how I can tell the difference between time_changed_manually and time_changed_sync? I’ve set up an event handler to listen for the time_changed event but I can’t tell the difference between the two types.
1 Like