Which SNTP Server was used to synchronize IDF 5.1 and newer
Posted: Mon Jan 15, 2024 12:48 pm
Dear all
I used SNTP to synchronize time.
In my application I allow three time servers. Initially the project was created in ESP-IDF 4.4. There I could use
sntp_getreachability()
to determine which server was actually used for the synchronization. After having updated to ESP-IDF 5.1 sntp_getreachability() does no longer exist.
My customer wants to know which server was used. Is there a mechanism in 5.1 to find the answer?
Kind regards
Chris
I used SNTP to synchronize time.
In my application I allow three time servers. Initially the project was created in ESP-IDF 4.4. There I could use
sntp_getreachability()
to determine which server was actually used for the synchronization. After having updated to ESP-IDF 5.1 sntp_getreachability() does no longer exist.
My customer wants to know which server was used. Is there a mechanism in 5.1 to find the answer?
Kind regards
Chris