Skip to content

Re-subscribe to all topics subscribed previously after a connection loss #6

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

Merged
merged 1 commit into from
Dec 14, 2018

Conversation

xowor
Copy link
Collaborator

@xowor xowor commented Dec 14, 2018

After a network loss, paho-mqtt can do a reconnection, but doesn't resubscribe to all the topics subscribed before the network loss.
Since connecting to Arduino IoT without reading/writing properties is quite pointless right now, this PR makes arduino-iot-js resubscribe to all the properties topics subscribed after the first connection.

@xowor xowor requested a review from eclipse1985 December 14, 2018 14:48
@eclipse1985 eclipse1985 merged commit e1f4636 into master Dec 14, 2018
@eclipse1985 eclipse1985 deleted the resubscribe-topics branch December 14, 2018 16:09
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.

None yet

2 participants