esp8266_mdns
esp8266_mdns copied to clipboard
Is this working with wired Ethernet on the esp32?
Hi, Not an issue but a question: Would this lib work if I use instead of WiFi a wired Ethernet? In my case, a W5500 via spi Thanks!
Hi, so i don't have any esp32 hardware or suitable wired Ethernet hardware so i'm not sure. In theory though, yes it should with only minor modifications; As long as you can access the raw packets the methods in this library should be able to parse them.
Look at the line Udp.read(data_buffer, data_size);
in mdns.cpp
.
This line populates data_buffer
with the raw packet. As long as you are able to do similar then the rest of this code should work for you.
Good luck! dunk.