19 #ifndef __FOTA_COMPONENT_H_ 20 #define __FOTA_COMPONENT_H_ 22 #include "fota/fota_base.h" 24 #if defined(MBED_CLOUD_CLIENT_FOTA_ENABLE) 26 #include "fota/fota_component_defs.h" 27 #include "fota/fota_crypto_defs.h" 28 #include "fota/fota_candidate.h" 29 #include "fota/fota_header_info.h" 95 uint32_t install_alignment;
98 #if !defined(TARGET_LIKE_LINUX) 99 fota_candidate_iterate_handler_t candidate_iterate_cb;
137 #endif // defined(MBED_CLOUD_CLIENT_FOTA_ENABLE) 138 #endif // __FOTA_COMPONENT_H_ int fota_component_version_int_to_semver(fota_component_version_t version, char *sem_ver)
int(* fota_component_verify_install_handler_t)(const char *comp_name, const fota_header_info_t *expected_header_info)
Definition: fota_component.h:73
int(* fota_component_curr_fw_get_digest)(uint8_t *buf)
Definition: fota_component.h:62
Definition: fota_component.h:94
int(* fota_component_curr_fw_read)(uint8_t *buf, size_t offset, size_t size, size_t *num_read)
Definition: fota_component.h:51
int fota_component_add(const fota_component_desc_info_t *comp_desc, const char *comp_name, const char *comp_semver)