Page 1 of 1

Time Synchronization

Posted: Wed May 29, 2019 12:18 pm
by samppan
Is there any example of time synchronization that nodes shares the same network time?
I believe painlessmesh has this feature, but I cannot say for sure if esp-mdf has the feature built-in?

#timesync #networktime #tsmp

Re: Time Synchronization

Posted: Thu May 30, 2019 6:22 am
by it_zzc
This implemented feature is currently in beta and we will submit it to github as soon as possible.

Re: Time Synchronization

Posted: Mon Dec 02, 2019 3:56 pm
by jeffdc1979
Was this ever posted to github? Can you provide a link to it please?

Re: Time Synchronization

Posted: Thu Dec 05, 2019 8:52 am
by it_zzc
This function has been synchronized to github, you only need to call `esp_mesh_get_tsf_time ()` to get the synchronized tsf time.

You can refer to: https://github.com/espressif/esp-mdf/bl ... ple.c#L220