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 cannot reconnect if esp-link's mqtt settings are changed #8

Open
tve opened this issue Mar 19, 2016 · 1 comment
Open

mqtt cannot reconnect if esp-link's mqtt settings are changed #8

tve opened this issue Mar 19, 2016 · 1 comment

Comments

@tve
Copy link
Member

tve commented Mar 19, 2016

From minida28:

When I update mqtt server settings by pressing the 'Update server settings' button at esp-link gui , from what I understand, esp-link will momentarily disconnect from the broker and then will reconnect again.
But when esp-link has succesfully reconnected to broker (indicated by PINGREQ/CONNACK between esp and broker), the running code in the arduino still think that the mqtt is in disconnected state.
Was it just a matter of the arduino example sketch that need re-arrangement or is it a bug in el-client/esp-link?

@Familienpapi
Copy link

Familienpapi commented Sep 2, 2017

I have almost the same problem.
When esp-link disconnects - the reason doesn't matter - and connects again, the arduino sketch doesn't recognize that and stays disconnected.
Is there a solution / workaround?
I tried it with v2.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants