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

Additional difference in CONN packet between 3.1.1 and 5.0 #26

Closed
JavaSaBr opened this issue Nov 21, 2019 · 0 comments
Closed

Additional difference in CONN packet between 3.1.1 and 5.0 #26

JavaSaBr opened this issue Nov 21, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@JavaSaBr
Copy link
Owner

For MQTT 3.1.1
If the Password Flag is set to 0, a password MUST NOT be present in the payload [MQTT-3.1.2-20].
If the Password Flag is set to 1, a password MUST be present in the payload [MQTT-3.1.2-21].
If the User Name Flag is set to 0, the Password Flag MUST be set to 0
For MQTT 5.0
The password flag is independent of the username flag.

@JavaSaBr JavaSaBr added the enhancement New feature or request label Nov 21, 2019
@JavaSaBr JavaSaBr self-assigned this Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant