Function esp_idf_svc::hal::sys::esp_image_get_metadata

source ยท
pub unsafe extern "C" fn esp_image_get_metadata(
    part: *const esp_partition_pos_t,
    metadata: *mut esp_image_metadata_t,
) -> i32
Expand description

@brief Get metadata of app

If encryption is enabled, data will be transparently decrypted.

@param part Partition to load the app from. @param[out] metadata Pointer to the image metadata structure which is be filled in by this function. Fields will all be initialised by this function.

@return

  • ESP_OK if filling of metadata was successful