esp_https_ota_get_image_len_read() function
This function returns OTA image data read so far.
Arguments
https_ota_handle
pointer to esp_https_ota_handle_t structure
Return value
- -1 On failure - total bytes read so far
Notes
This API should be called only if `esp_https_ota_perform()` has been called at least once or if `esp_https_ota_get_img_desc` has been called before.
Examples
esp_https_ota_get_image_len_read() is referenced by 2 libraries and example projects: