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

Francesco Perri
Posts: 1
Joined: Tue Jan 07, 2020 12:05 pm

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

Postby Francesco Perri » Tue Jan 07, 2020 1:51 pm

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...

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

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

Postby ESP_krzychb » Tue Jan 07, 2020 4:56 pm

Hi Francesco, welcome to the forum!
I see your post is related to ESP32 Arduino and moved it to the Arduino form.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Wed Jan 08, 2020 2:59 am

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.

Who is online

Users browsing this forum: No registered users and 79 guests