-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add logs on OTA process steps #282
Add logs on OTA process steps #282
Conversation
These additional log statements highlight each step in the Over-the-Air (OTA) update process.
Maurizio Branca seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Codecov Report
@@ Coverage Diff @@
## master #282 +/- ##
=======================================
Coverage 95.31% 95.31%
=======================================
Files 25 25
Lines 896 896
=======================================
Hits 854 854
Misses 42 42 Continue to review full report at Codecov.
|
Memory usage change @ f98c0c6
Click for full report table
Click for full report CSV
|
@zmoog a part from the qos thing that @aentinger already pointed out i would love to see this pr mainlined. This will give the possibility to user to enable a more detailed log only setting I think is worth to add the download start and reset information also for the portenta and the rp2040. See OTA-portenta-h7.cpp and OTA-nano-rp2040.cpp files. @aentinger is there any particular reason why library is shipped with this line commented out? |
38e5ff7
to
441f6b8
Compare
This was intended as as just test, back the the default value.
I also added a few |
Memory usage change @ 614ebe6
Click for full report table
Click for full report CSV
|
Yes. It consumes a lot of memory, since all debug strings are stored in flash. However, I think RP2040 and Portenta H7 can take the flash hit, SAMD based boards definitely shouldn't, Uno WiFi Rev. 2 couldn't 😉 Just keep this in the back of your mind. |
Addition: If you think some output is super-useful, you could upgrade it to |
superseded by #449 |
Motivation
The current version of IoTCloudLibrary does not log every step involved in the Over-the-Air (OTA) update process, so it's not trivial do understand what's going on when something goes wrong.
Change description
These additional log statements highlight each step in the Over-the-Air (OTA) update process.
Additional Notes
Reviewer checklist
master
.CONTRIBUTING.md
) and are well formatted.