Time sync over wifi

this.wiederkehr
Posts: 7
Joined: Thu Jul 13, 2017 8:04 am

Time sync over wifi

Postby this.wiederkehr » Sat Jul 04, 2020 1:29 pm

I have multiple esp32 which are connected over wlan with an ap also running on a esp32.
I'd like to sync their clock to an accuracy of about 1ms.

There are multiple things which I could imagine that would work:

* use wlan beacons
The question here is if there is access to the beacon event or if this is completely hidden by the wlan driver?

* use udp broadcast packages
Well this is straight forward but involves the ip-stack which might add considerable delay ..

Has anyone done something similar? Any other ideas how to achieve this?

BR
This

Who is online

Users browsing this forum: No registered users and 21 guests