-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do a mDNS advertisement on minmdns server startup (#4884)
* Listen on all IPv4 interfaces (not only NULL interface ID) so that replies to queries can be sent with link local information as well * Do a startup mDNS broadcast for available services - no filtering by interface/capability yet * Ensure mdns advertise at boot only happens on interfaces that it is aware of * Remove FIXME since it was already addressed * Revise doc comment on boot time advertisement * Add a constant for maximum interface name length * Restyle fixes * Fix LWIP interface name max size * Increase LWIP max size some more, to support for 32bit interface numbers (even if unlikely) * Update include file for zephyr interface name constant * Deduplicate the detection of usable mdns interfaces * Deduplicate ip addresses for global mdns broadcast * Fix compilation * Fix linkage too * do not use pre-main initialization for mDNS broadcast IP addresses * Fix typo: Trottle -> Throttle * Fix typo: Trottle -> Throttle * Add todo to have better local loopback detection for interfaces * Log on IP parse error - we seem to crash in esp32 and am not sure why. Better to log instead of dying * Fix condition inversion * Fix logic error: IP address returns a bool not CHIP_ERROR
- Loading branch information
Showing
13 changed files
with
281 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.