-
Notifications
You must be signed in to change notification settings - Fork 82
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
TCP: do not disconnect if ota client is connected #532
TCP: do not disconnect if ota client is connected #532
Conversation
Should we instead move this logic inside of
What do you think about it? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #532 +/- ##
=======================================
Coverage 95.39% 95.39%
=======================================
Files 33 33
Lines 1521 1521
=======================================
Hits 1451 1451
Misses 70 70 ☔ View full report in Codecov by Sentry. |
what exactly do you want to move in the update function? |
I think that moving the call for |
This comment was marked as outdated.
This comment was marked as outdated.
a3b42b7
to
b0d6092
Compare
This comment was marked as outdated.
This comment was marked as outdated.
3b3e82c
to
63838f5
Compare
63838f5
to
30c7001
Compare
Memory usage change @ 30c7001
Click for full report table
Click for full report CSV
|
It can happen that mqttclient disconnects during ota fetching. In this case we should also check for ota client state before go in disconnected state.
If ota client is still connected is better to give ota priority and try to finish to download before disconnect.