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

Wifi Disconnection Handling #259

Closed
genie-ltran opened this issue Aug 30, 2023 · 3 comments
Closed

Wifi Disconnection Handling #259

genie-ltran opened this issue Aug 30, 2023 · 3 comments

Comments

@genie-ltran
Copy link

I currently have a task that handles all coreMQTT access for thread safety which I wrote before I learned of coreMQTT agent. I have a another task that establishes the TLS connection and passes requests for subs, pubs, unsubs, etc. It's been working well in almost all aspect except for when an unexpected disconnection occurs.

When the wifi disconnection happens, I end the connection establishing task. Before ending this task I clean everything up (free memory, disconnect calls, etc). I restart this same task, but the problem a successful connection seems to take a long time (very infrequently) or never at all (most of the time).

So is there a guide on how a reconnection should happen on unexpected network disconnection? I know this question isn't directly related to coreMQTT itself, but I think I've exhausted all the resources available to me. Thank you.

@kar-rahul-aws
Copy link
Member

Hi @genie-ltran
Thank you for reporting the issue.
I do not have any guide as of now, but I will take a look if a document exists.
Can you please take a look at these issues #46 and #47 and check if the solution described here solves your problem.

@kar-rahul-aws
Copy link
Member

Hi @genie-ltran
Any updates on this issue? Did the fixes suggested solve your problem?

@AniruddhaKanhere
Copy link
Member

Closing this issue due to lack of response.

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

3 participants