-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
io transport mqtt sets wrong QoS levels to hiveMQ #2145
Comments
This issue has been mentioned on openHAB Community. There might be relevant details there: |
stedon81
pushed a commit
to stedon81/openhab-core
that referenced
this issue
Feb 18, 2021
I prvided pull request #2208 to fix this issue |
kaikreuzer
pushed a commit
that referenced
this issue
Feb 27, 2021
Signed-off-by: Stefan Donath <[email protected]>
Fixed by #2208 - thanks! |
splatch
pushed a commit
to ConnectorIO/copybara-hab-core
that referenced
this issue
Jul 11, 2023
…ab#2208) Signed-off-by: Stefan Donath <[email protected]> GitOrigin-RevId: 361e985
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Package: org.openhab.core.io.transport.mqtt.internal.client
Mqtt3AsyncClientWrapper.publish()
andMqtt3AsyncClientWrapper.subscribe
use a function calledgetMqttQosFromInt
to map theint qos
to the enum value required by hiveMQ.This function maps the integer values wrongly:
According to https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels/, the QoS levels are:
Hence, QoS levels 0 and 1 must be exchanged in that function.
The text was updated successfully, but these errors were encountered: