Open Nourbakhsh-Rad opened 2 years ago
Hi,
It seems UDP services work great with Ethernet too, because you say that it is OK when using UDP and DHCP.
When using a static configuration, did you not forget to register a DNS in your sketch ? Without a DNS, your NTP provider cannot be resolved. Indeed, when using DHCP, a DNS server is automagically registered.
This link might help you, it is the same exact issue (it is with WiFi not ethernet but still,exactly the same). https://github.com/esp8266/Arduino/issues/8402#issuecomment-988530422
You should not be using my own repo but the public one for such question.
ooooh, yes ... I forget to register DNS service in my sketch Thank you for your prompt response
Hi @d-a-v I am using ESP12-E with ENC28J60 ethernet module for my tests I tried to get the date-time with configTime and AsyncUDP (ESPNtpClinent library) When I am using static IP, my sketch dos not work! but with DHCP everything is OK It seems the UDP services dos not work properly with LwIP_Ethernet