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

Remove MaximumQoS property from CONNECT packet #240

Conversation

tomatod
Copy link
Contributor

@tomatod tomatod commented Feb 16, 2024

Closes #161

According to MQTTv5 spec, Maximum QoS property should not be included in CONNECT packet, but it may be included only in CONNACK packet.

Actually, I included that property in CONNECT and sent it to Mosquitto MQTT server, the connection was refused.

So, I also think we should remove Maximum QoS property from CONNECT packet in this library.

If you like this, I hope you can review this request.

Best Regards,

note:
I couldn't pass the test by 'make test' command each in this branch and also master with the following message. It seems to not be related to the change of this branch.

queue_test.go:208: timeout awaiting messages
...
FAIL    github.com/eclipse/paho.golang/autopaho 5.632s

@tomatod
Copy link
Contributor Author

tomatod commented Feb 16, 2024

I'll cancel this request and check the cause of error after all.

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 this pull request may close these issues.

ConnectProperties in cp_connect.go has a MaximumQOS field that is not part of the MQTT 5 specification
1 participant