mdns functionality seems broken -- fix referenced

philip
Posts: 12
Joined: Thu Jan 14, 2016 11:47 am

mdns functionality seems broken -- fix referenced

Postby philip » Sun Mar 27, 2016 5:06 am

I've been looking at the implementation of the mdns server that comes as part of the server. It doesn't work when you try and use it, and looking at the code, it is clear that it never could have worked (happily it is part of the open source part of the SDK).

I have hacked on it mightily and now have a (mostly) working version -- as part of the nodemcu-firmware project. The PR to merge the changes is https://github.com/nodemcu/nodemcu-firmware/pull/1192 but we don't really want to modify this code if there is any chance that Espressif will fix it themselves.

Hence -- is there any interest from Espressif to use a better version of the code?

The specific issues fixed are:

* Works for more than 5 minutes (it now sends the message every 120 seconds)
* Handles requests that match the names and responds correctly.
* Somewhat less likely to overwrite memory.

Philip

cmarrin
Posts: 2
Joined: Wed Aug 31, 2016 11:31 am

Re: mdns functionality seems broken -- fix referenced

Postby cmarrin » Tue Sep 13, 2016 7:12 am

Any movement on this? I'm running into the same problems and I'm using the 2.0 SDK. Does Espressif plan on taking this patch, or should I look into overriding lwip locally?

Who is online

Users browsing this forum: No registered users and 56 guests