Skip to content

compare OTA1 with OTA2 partition, then decide to update or not? #2143

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

Closed
TLS1000 opened this issue Dec 3, 2018 · 3 comments
Closed

compare OTA1 with OTA2 partition, then decide to update or not? #2143

TLS1000 opened this issue Dec 3, 2018 · 3 comments

Comments

@TLS1000
Copy link

TLS1000 commented Dec 3, 2018

Hi, I got the S3 update program working. But problem is that the ESP32 remains in an endless loop updating it's firmware and restarting.

I see some examples on the web that use MQTT command to control the update, but that adds again complexity.

Could the ESP periodically (and after reboot) download the latest version and compare it with the active OTA? for example compare MD5 calculation of both OTA's?

or any better idea's?

@Jeroen88
Copy link
Contributor

Jeroen88 commented Dec 3, 2018

@TLS1000 See PR #2116, that was merged recently

@TLS1000
Copy link
Author

TLS1000 commented Dec 4, 2018

ah, great.
Noob question: Why is the library 'httpupdate' (and some other new libraries) not added to my local library folder when I do the ESP32-core update?

  • via GIT GUI I do 'fetch from origin'
  • then I execute the 'get.exe' script from the 'tools' folder
  • my library folder only contains 17 items, the repository contains 25 already

@TLS1000
Copy link
Author

TLS1000 commented Dec 4, 2018

Solved above using the Arduino IDE boards manager to update.

@TLS1000 TLS1000 closed this as completed Dec 4, 2018
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

2 participants