-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mqtt: refactoring & mdns autoconnect tweaks
- generic mdns query function so we don't forget about the removeQuery() - full handle mdns logic in the mqtt module, check for running mdns instance and periodically poll for _mqtt._tcp service - autoconnect only when MQTT is enabled *and* there is no server - use mqtt::settings and mqtt::build namespaces for settings - some refactoring for topic <-> setting application - prefer const String& to const char* in topic generation
- Loading branch information
Showing
5 changed files
with
437 additions
and
205 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
Oops, something went wrong.