Time Synchronization

samppan
Posts: 1
Joined: Wed May 29, 2019 12:07 pm

Time Synchronization

Postby samppan » Wed May 29, 2019 12:18 pm

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

ESP_Bond
Posts: 51
Joined: Mon Apr 15, 2019 1:37 pm

Re: Time Synchronization

Postby ESP_Bond » Thu May 30, 2019 6:22 am

This implemented feature is currently in beta and we will submit it to github as soon as possible.

jeffdc1979
Posts: 10
Joined: Tue Sep 25, 2018 2:37 pm

Re: Time Synchronization

Postby jeffdc1979 » Mon Dec 02, 2019 3:56 pm

Was this ever posted to github? Can you provide a link to it please?

ESP_Bond
Posts: 51
Joined: Mon Apr 15, 2019 1:37 pm

Re: Time Synchronization

Postby ESP_Bond » Thu Dec 05, 2019 8:52 am

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

Who is online

Users browsing this forum: No registered users and 22 guests