esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
15.97k stars 13.34k forks source link

UDP services dos not work properly with LwIP_Ethernet and static IP #8415

Open Nourbakhsh-Rad opened 2 years ago

Nourbakhsh-Rad commented 2 years ago

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)

  1. With DHCP everything is OK ( LwIP_Ethernet and WiFi )
  2. When I am using static IP, even though I registered DNS, my sketch dos not work with LwIP_Ethernet but with WiFi everything is OK

It seems the UDP services dos not work properly with LwIP_Ethernet and static IP

test sketch: 001.txt

d-a-v commented 2 years ago

I / We / one have yet to try to run and check some examples involving asyncTCP/UDP/Webserver with the lwIP on ethernet driver.

In the meantime did you try with this example ?

Nourbakhsh-Rad commented 2 years ago

I / We / one have yet to try to run and check some examples involving asyncTCP/UDP/Webserver with the lwIP on ethernet driver.

In the meantime did you try with this example ?

my test sketch (attached) is similar that example, can you test it?

d-a-v commented 2 years ago

I will when I get my hands back on my ethernet setup.

Nourbakhsh-Rad commented 2 years ago

Hi @d-a-v As you can see in the attached image, static IP connection is established ( lwIP_Ethernet ) and DNS works fine ( NTP server address resolved ), but data is not sent through AsyncUDP

001

Nourbakhsh-Rad commented 1 year ago

@d-a-v Hi, my problem was not solved yet! There is no solution?