pub unsafe extern "C" fn esp_https_ota_get_image_size(
https_ota_handle: *mut c_void,
) -> i32
Expand description
@brief This function returns OTA image total size.
@note This API should be called after esp_https_ota_begin() has been already called. This can be used to create some sort of progress indication (in combination with esp_https_ota_get_image_len_read())
@param[in] https_ota_handle pointer to esp_https_ota_handle_t structure
@return
- -1 On failure or chunked encoding
- total bytes of image