-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
mdns error when connect device #27505
Comments
@nykh2010 Are you on Linux or Mac? It sounds like the platform is not dispatching relevant "network changed" notifications... |
I am guessing Linux, since minimal mdns is involved. |
@bzbarsky-apple yes, platform is Linux. |
Expectation for platform implementations is that minmdns would be restarted on networking changes. Since notifications of networking changes is platform-specific, this probably has to be handled by the app on a platform by platform basis. I had a PR open for using a single listening socket which would have probably covered this as I am unlikely to have time to add platform-specific dnssd restart logic to chip-tool or example apps for minmdns, however I would be happy to review patches for this. |
connectedhomeip/src/lib/dnssd/minimal_mdns/Server.cpp
Line 344 in 2dd4fdb
step:
in some cases, for example, mdns initialization completes before wifi connection, it unable to return to normal status.
The text was updated successfully, but these errors were encountered: