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

Rollback to previous version if OTA update is successful but code is wrong #7

Open
jortega11 opened this issue Sep 4, 2023 · 0 comments

Comments

@jortega11
Copy link

Hi, I have a question to see if it would be possible to go back to a previous version in the case that after an OTA update the code has some problems.

While testing some scenarios, I came across a possible failure of our system: Imagine that I compile my code and upload it using OTA and the update is successful, but something in the code is wrong and the controller is not able to connect to WiFi, can not find the token that the device uses or some kind of problem that prevents the ESP32 from connecting to the Internet or Thingsboard.

How could I make to detect one of this problems and go back to previous working versions if possible?

Thank you in advance,
Juan.

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

1 participant