-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
mDNS support for ESP32 #4912
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
Comments
It's not really a CPython thing, it must be configured correctly on the PC in order to work. Translating that to MicroPython, the TCP/IP stack must be configured to enable mDNS (or support added on to it in some way). |
There is an implementation available from loboris that could be ported/copied: |
See #4951 for an implementation. |
mDNS on esp32 was added in 2ccf030 |
Sorry to comment on a long-closed ticket. There's an interesting difference between the mDNS responder implementation provided by @nickovs in his pure MicroPython slimDNS library and the mDNS support added by @dpgeorge that calls down to the mDNS functionality provided by the ESP-IDF. The slimDNS implementation correctly includes the transaction ID of the query in the response whereas the corresponding ESP-IDF implementation does not. Some tools are forgiving of this but some common tools, like
Whereas, if I do the same with
This is a shame, as working with names is generally nicer than having to use raw IP addresses. At the moment, I get different behavior depending on the system that I'm using - my Ubuntu system is forgiving when doing name resolution for Chrome but on my Android phone, the same queries are not resolved. I've logged a bug about this against the ESP-IDF - see issue #5574. So far it hasn't been taken up. If you come across this issue then please respond to the bug there and hopefully it'll get some more attention. |
…n-main Translations update from Weblate
Discussion copied out from Roadmap thread here
#4821 (comment)
Things might have moved on since issue #2875
What I said:
What @dpgeorge said:
My follow up comments:
I don't know why it's not hooked up automatically, like it is in CPython.
The text was updated successfully, but these errors were encountered: