Esp32-PoE receive UDP example?

Started by vigilantfun, June 06, 2024, 10:45:06 AM

Previous topic - Next topic

vigilantfun

Hi. Is there a working example of receiving UDP packets over the Ethernet (not WiFi) on the ESP32-PoE?

My requirements :
Host a web server for config.
Receive and transmit UDP.

I've got my project working with WiFi, but only using DHCP.
If I try and use static ip on the Ethernet port, it works but the UDP.listen no longer functions.
Many thanks,

KeviNH

Quote from: vigilantfun on June 06, 2024, 10:45:06 AMHi. Is there a working example of receiving UDP packets over the Ethernet (not WiFi) on the ESP32-PoE?

If you can share your code, sounds like you have a simple error or oversight.


Quote from: vigilantfun on June 06, 2024, 10:45:06 AMHost a web server for config.
Receive and transmit UDP.

I've got my project working with WiFi, but only using DHCP.
If I try and use static ip on the Ethernet port, it works but the UDP.listen no longer functions.

Can you confirm the webserver is working after you configure a static IP on the Ethernet port?

I always use DHCP even on Ethernet, and always confirm communications by making DNS hostname resolution (lookup) after the network is "up" .