DNS-SD publishing of KISS over TCP service on Linux and Mac #307
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This allows client applications to locate the IP addresses and the port of the KISS TCP service, allowing the end user to just select a Dire Wolf from a list instead of trying to guess its dynamic IP address and typing it in manually. This is especially convenient on mobile devices, but it would be great to do this on desktop client apps as well.
On Linux, the standard Avahi daemon is used via dbus and the avahi-client library. Building with it requires installing the development header package; README.md is updated accordingly.
On Mac, the MacOS dnssd API is used:
https://developer.apple.com/documentation/dnssd?language=objc
I don't have Windows, but more recent Windows 10 builds apparently have a working DNS-SD mDNS implementation that can be used on 64-bit builds.
Demo video on iPhone: https://twitter.com/aprsfi/status/1343652123452575744
Specification proposal for DNS-SD of KISS TNCs over TCP: https://github.com/hessu/aprs-specs/blob/master/TCP-KISS-DNS-SD.md