Author
Topic: Ethernet communications in ESP32-EVB (Read 1093 times)

Please forgive me if this question is too stupid, but I have limited experience on this subject. I am trying to communicate with an ESP32-EVB Rev D board over ethernet. I can successfully run the ETH_PHY_demo sample from https://github.com/OLIMEX/ESP32-EVB/tree/master/SOFTWARE/ETH_PHY_demo. I am receiving an IP address from the DHCP server and I can successfully ping the board from other devices in the network.

Now I would like to exchange some UDP datagrams with other devices, but I do not know how to proceed. Is there a socket library, or something of the kind?

Please forgive me if this question is too stupid, but I have limited experience on this subject. I am trying to communicate with an ESP32-EVB Rev D board over ethernet. I can successfully run the ETH_PHY_demo sample from https://github.com/OLIMEX/ESP32-EVB/tree/master/SOFTWARE/ETH_PHY_demo. I am receiving an IP address from the DHCP server and I can successfully ping the board from other devices in the network.

Now I would like to exchange some UDP datagrams with other devices, but I do not know how to proceed. Is there a socket library, or something of the kind?

Yes. The ESP-IDF has the LWIP stack integrated into its code, so we can use TCP and UDP sockets.