[Feature] Add MQTT bridge #3030
Closed
hickey wants to merge 5 commits into
Closed
Conversation
Signed-off-by: Gerard Hickey <hickey@kinetic-compute.com>
Signed-off-by: Gerard Hickey <hickey@kinetic-compute.com>
Signed-off-by: Gerard Hickey <hickey@kinetic-compute.com>
Signed-off-by: Gerard Hickey <hickey@kinetic-compute.com>
Signed-off-by: Gerard Hickey <hickey@kinetic-compute.com>
Member
|
The community have made it pretty clear we don't want MQTT bridges. Won't be something we admit into official firmware. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
As discussed in #3028, this is the MQTT bridge code that I referenced there.
Just as in #3029, this creates a new bridge module that allows the MeshCore traffic to be published to an MQTT topic to allow virtualized services to communicate on the MeshCore network.
There is a
lilygo_tbeam_SX1262environment included to show how the node can be configured for MQTT bridging. That environment is namedlilygo_tbeam_SX1262_repeater_bridge_mqtt.Note: The last commit on this PR incorporates #3027 and extends that PR by adding the
logBothparameter. This allows the bridge to publish both the received packets and the transmitted packets from the repeater. This is necessary for situations where the a virtualized Companion is remote managing the physical repeater. With out this option, the virtual Companion will never receive responses to the remote management requests.