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

[Enhancement] Implement Session Expiry in MQTT 5.0 #247

Open
DongyuanPan opened this issue Mar 5, 2024 · 0 comments
Open

[Enhancement] Implement Session Expiry in MQTT 5.0 #247

DongyuanPan opened this issue Mar 5, 2024 · 0 comments

Comments

@DongyuanPan
Copy link
Contributor

Split the Clean Session flag into a Clean Start flag which indicates that the session should start without using an existing session, and a Session Expiry interval which says how long to retain the session after a disconnect. The session expiry interval can be modified at disconnect. Setting of Clean Start to 1 and Session Expiry Interval to 0 is equivalent in MQTT v3.1.1 of setting Clean Session to 1.

branch: develop_mqtt5.0
FYI:https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html

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

No branches or pull requests

1 participant