esp8266_mdns icon indicating copy to clipboard operation
esp8266_mdns copied to clipboard

Is this working with wired Ethernet on the esp32?

Open martinschki opened this issue 6 years ago • 1 comments

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!

martinschki avatar Sep 20 '18 08:09 martinschki

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.

mrdunk avatar Sep 20 '18 09:09 mrdunk