So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Jan Sz
#85056 Hey,

So I want to synchronise time via an MQTT message - what's the right system call for setting the current time in seconds? I've looked at the sntp_* functions, but it seems those aren't exposed to be used, and they are low level - there's a higher level interface which binds to a number of SNTP servers and proceeds to set time through there.

What if I want to set the time from another source? How would I go about that?