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

MQTT subscribtions are cleared on reconnect #15

Open
0x0ACB opened this issue Jan 6, 2019 · 0 comments
Open

MQTT subscribtions are cleared on reconnect #15

0x0ACB opened this issue Jan 6, 2019 · 0 comments

Comments

@0x0ACB
Copy link

0x0ACB commented Jan 6, 2019

Currently when CoogleIOT reconnects to the mqtt server it does so with the cleanSession flag set to true. This results in all subscribtions being cleared. As such it would be helpful to either have a callback that gets called after a successful reconnect or having CoogleIOT automatically restore all subscriptions.

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