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

Force SPIFFS Update and custom key length #132

Merged
merged 3 commits into from
Jul 17, 2023

Conversation

gb88
Copy link
Contributor

@gb88 gb88 commented Jul 13, 2023

I've added the function forceUpdateSPIFFS with the same logic of forceUpdate to have the possibility to update the SPIFFS without json from a custum url, i've added a new function for the OTA execution because with execOTA after the spiffs update the code was trying also to download a new firmware.
I've also added the length of the signature key to use the same key that is used in some esp8266 system that have a key length limitation. To to that i've added a member to store the key lenght that at default is 512 as before. The signature variable now is dynamic allocated to manage the different size.
I've made and test this code to force the update of a esp32 from a URL that is coming from mqtt.

@chrisjoyce911 chrisjoyce911 merged commit feefebb into chrisjoyce911:master Jul 17, 2023
3 checks passed
@chrisjoyce911
Copy link
Owner

Thanks for your patch

@gb88
Copy link
Contributor Author

gb88 commented Jul 17, 2023

thanks for keep mainteining this library

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

Successfully merging this pull request may close these issues.

None yet

2 participants