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

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

Closed
vishnureddy17 opened this issue Aug 15, 2023 · 2 comments · Fixed by #243
Milestone

Comments

@vishnureddy17
Copy link
Contributor

The MQTT 5 spec doesn't include a MaximumQOS field in CONNECT properties, but it is included as a field.

MaximumQOS *byte

@MattBrittan
Copy link
Contributor

This ends up as property 36 "Maximum QoS" but that is only valid on CONNACK packets so this looks like a bug.

@MattBrittan
Copy link
Contributor

This also needs to be fixed in properties.go -

PropMaximumQOS: {CONNECT: {}, CONNACK: {}},

should be:

PropMaximumQOS: {CONNACK: {}},

@MattBrittan MattBrittan added this to the Version 1.0.0 milestone Feb 12, 2024
tomatod added a commit to tomatod/paho.golang that referenced this issue Feb 16, 2024
tomatod added a commit to tomatod/paho.golang that referenced this issue Feb 18, 2024
MattBrittan added a commit that referenced this issue Feb 26, 2024
…rom-connect

Remove MaximumQoS property from CONNECT packet (it's only valid in the CONNACK packet)

Closes #161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants