Page 1 of 1

Is it possible to change NTP sync interval at run time?

Posted: Sat Nov 16, 2019 3:24 am
by axellin
Hi,
Currently the NTP sync is determinate by CONFIG_LWIP_SNTP_UPDATE_DELAY at compile time.
I'm wondering if it's possible to make the NTP sync interval to be run time configurable?
Is there any API to change the NTP sync interval at run time?

Re: Is it possible to change NTP sync interval at run time?

Posted: Sat Nov 16, 2019 10:59 pm
by WiFive
No, you would have to modify sntp code

Actually it is somewhat easier
https://github.com/espressif/esp-lwip/c ... 8894852a4b