Skip to content
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

[Bug]: mapTopic mqtt path is built incorrectly #3382

Closed
AeroXuk opened this issue Mar 12, 2024 · 1 comment · Fixed by #3383
Closed

[Bug]: mapTopic mqtt path is built incorrectly #3382

AeroXuk opened this issue Mar 12, 2024 · 1 comment · Fixed by #3383

Comments

@AeroXuk
Copy link
Contributor

AeroXuk commented Mar 12, 2024

When building the mapTopic variable with a mqtt root set, it appends the jsonTopic variable instead of the mapTopic variable resulting in incorrect mqtt path.

mapTopic = moduleConfig.mqtt.root + jsonTopic;

Example console output:

INFO | 02:00:33 900 [mqtt] MQTT Publish map report to msh/EU_868msh/EU_868/2/json/

Expected console output:

INFO | 02:00:33 900 [mqtt] MQTT Publish map report to msh/EU_868/2/map/
@AeroXuk AeroXuk changed the title mapTopic mqtt path is built incorrectly [Bug]: mapTopic mqtt path is built incorrectly Mar 12, 2024
AeroXuk added a commit to AeroXuk/firmware that referenced this issue Mar 12, 2024
@garthvh
Copy link
Member

garthvh commented Mar 12, 2024

This is a lightweight way to connect to web maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants