Is the OTA binary file size calculation wrong !?
Posted: Fri Nov 05, 2021 11:39 am
---- EDIT ----
This is corrected in the latest version it was a problem with OpenSSl
---- EDIT ----
Hi, for the the project i'm working on i need to be able to calculate the MD5 of a binary downloaded using the ESP-IDF OTA library and i've encountered a problem.
To do this i need to know the size of the file wich is given by executing the function after the download is done. The problem i'm facing is that the image size, independatly of the real image size, is returning always 289 bytes over the actual size.
In my experiences the only thing that i observed was that the function is being called every 289 bytes. Is there a bug where it counts in excess or am i reading this all wrong.
Sorry for the short ammount of details regards,
Jose
This is corrected in the latest version it was a problem with OpenSSl
---- EDIT ----
Hi, for the the project i'm working on i need to be able to calculate the MD5 of a binary downloaded using the ESP-IDF OTA library and i've encountered a problem.
To do this i need to know the size of the file wich is given by executing the function
Code: Select all
esp_https_ota_get_image_len_read
In my experiences the only thing that i observed was that the
Code: Select all
esp_https_ota_perform
Sorry for the short ammount of details regards,
Jose