-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SimpleMDNS, IGMP, and .local lookup #2582
Conversation
Adds a small wrapper around the LWIP-provided MDNS responder application. Drop-in replacement in many basic cases for LEAmDNS. For FreeRTOS it is important to not allocate memory on an LWIP callback. LEAmDNS needs to do this to create response objects, leading to crashes. Increase LWIP timers by bumping the LWIP_ARP number (as done before). Replace ArduinoOTA LEAmDNS with SimpleMDNS and update a HTTPUpdateServer example.
@jaguilar, since you're doing FreeRTOS and MDNS, can you give this PR and the new There were multiple LWIP tweaks needed to actually allow the MDNS responder to work, like increasing the internal LWIP timers. W/O it you'd Basic testing replacing |
Yes, I will test it. |
For anyone testing something like this from platformio in the future, the magic is:
And I can confirm it works. I am able to resolve .local addresses after flashing with the rebuilt program. I did not test the MDNS responder because I do not know how it works and I have no code to use it at the moment. |
One other really great thing about this feature -- even though my server has a static IP my client was having some inconsistency reconnecting to it when I was manually loading the IP address. Now that we're over to mdns, I have restarted the server several times and seen no client reconnect failures. So happy! |
I just came across this new One thing that doesn't make it a full drop-in replacement for us it that |
@GUVWAF |
@earlephilhower Yes, will do that. |
No description provided.