Local timesync for multiple devices
Posted: Tue Mar 09, 2021 2:20 pm
Hi everyone!
Has anyone come across ways to timesync multiple esp32 devices in local network?
By local I mean not connected to internet, just a single AP and a few stations in single WiFi network.
To make things interesting, I'm trying to achieve a few millisecond accuracy.
Most of the libraries,projects and examples seem to be using NTP sync from an outside NTP server (ie pool.ntp.org) and accuracy in seconds.
For small linux devices I've used chrony before, which worked magically. Unfortunately can't seem to find anything similar for esp.
Any advice is greatly appreciated!
Has anyone come across ways to timesync multiple esp32 devices in local network?
By local I mean not connected to internet, just a single AP and a few stations in single WiFi network.
To make things interesting, I'm trying to achieve a few millisecond accuracy.
Most of the libraries,projects and examples seem to be using NTP sync from an outside NTP server (ie pool.ntp.org) and accuracy in seconds.
For small linux devices I've used chrony before, which worked magically. Unfortunately can't seem to find anything similar for esp.
Any advice is greatly appreciated!