Function esp_idf_sys::esp_https_ota_get_image_len_read

source ยท
pub unsafe extern "C" fn esp_https_ota_get_image_len_read(
    https_ota_handle: esp_https_ota_handle_t,
) -> c_int
Expand description

@brief This function returns OTA image data read so far.

@note 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.

@param[in] https_ota_handle pointer to esp_https_ota_handle_t structure

@return

  • -1 On failure
  • total bytes read so far