Page 1 of 1

NTP doesn't send requests to next server...

Posted: Tue Jan 07, 2020 1:51 pm
by Francesco Perri
Hello,
I have a problem with NTP: it doesn't send requests to next server if the first is unavailable. I have setted the SNTP_MAX_SERVERS to 3 into the include file ...\Documents\ArduinoData\packages\esp32\hardware\esp32\1.0.4\tools\sdk\include\lwip\lwip\apps\snmp_opts.h but it seems to ignore the second and third server...
  1. configTzTime( "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00", "192.168.0.25", "193.204.114.232", "193.204.114.232");
Could someone help me please? Thank you a lot in advance...

Re: NTP doesn't send requests to next server...

Posted: Tue Jan 07, 2020 4:56 pm
by ESP_krzychb
Hi Francesco, welcome to the forum!
I see your post is related to ESP32 Arduino and moved it to the Arduino form.

Re: NTP doesn't send requests to next server...

Posted: Wed Jan 08, 2020 2:59 am
by ESP_Sprite
Also note that Arduino ships a bunch of libraries in a precompiled form... if this lwip function is also in a precompiled library, changing header files won't change the behaviour of the precompiled code.