-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Not message after update OTA #1202
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
Comments
if the update was success the module will be reboot to the new firmware. |
How to receive messages about the status of the update? |
its only reboots when the update is ok, |
@Links2004 Little bit off topic. But can you take a look at this issue please? #1156 I've been waiting for response for 7 days already. Thank you |
@Links2004 yeah, adding an option to not reboot automatically would be great, I need to run some code (EEPROM-related) before rebooting. Furthermore, it is easy to do, as the |
yes the handleUpdate reboot change where the preparation for this ;) |
But where to put the parameter? The |
i need add it on the end or it will break all existing code. |
Great! We will need to update the docs / examples too. Thanks btw ;) |
I added a pull request #1817 to add a callback when an update actually starts, i.e. after it was verified that a new file exists and the server says to update the code and just before downloading begins. All other stages except for the pre-reboot can be done easily by printing before and after the function call and during the update all tcp and udp connections besides the one for the update are suspended anyway so progress in the middle cannot be sent. If restart is not done automatically you can then also send a notification after the function completed and you go on to restart yourself. |
Sketch code
output console serial port
Why not message 'Update finish' ?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: