-->
Page 1 of 2

Complete mdns library for ESP8266

PostPosted: Mon May 13, 2019 8:39 am
by maverickchongo
Hi,

Does somebody knows if there is a complete mdns library for the ESP8266 non-os-sdk?

The current one included in the sdk only includes the responder, but hasn't implemented a listener...

I was thinking to maybe port the one for the ESP32 which is a full mdns library, does anybody have think it is worth it? - How complex task would it be?

Thanks

Re: Complete mdns library for ESP8266

PostPosted: Mon May 13, 2019 10:17 am
by davydnorris
You could look at the lwIP port that @eriksl has done (see posts in this area), where he has taken it back to as close to the original lwIP as possible.

lwIP has mDNS and you may be able to enable it in the lwipopts.h and have it just work

Re: Complete mdns library for ESP8266

PostPosted: Tue May 14, 2019 8:49 am
by maverickchongo
Thanks for your answer.

I believe that @eriksl has removed the mdns library because it is not part of lwip, also that library only implements a listener, I am actually after a library in which I can make mdns queries, so I can resolve host names to IP addresses.

Re: Complete mdns library for ESP8266

PostPosted: Tue May 14, 2019 7:24 pm
by davydnorris
Just checked and you're right - it's only half there :-(