19 #ifndef __FOTA_APP_IFS_H_ 20 #define __FOTA_APP_IFS_H_ 22 #include "fota/fota_config.h" 24 #if defined(MBED_CLOUD_CLIENT_FOTA_ENABLE) 26 #include "fota/fota_status.h" 27 #include "fota/fota_header_info.h" 28 #include "fota/fota_manifest.h" 66 const manifest_firmware_info_t *candidate_info,
67 fota_component_version_t curr_fw_version
202 #if defined(TARGET_LIKE_LINUX) 217 #if defined(MBED_CLOUD_CLIENT_FOTA_LINUX_SINGLE_MAIN_FILE) 236 #endif // defined(MBED_CLOUD_CLIENT_FOTA_LINUX_SINGLE_MAIN_FILE) 238 #endif // defined(TARGET_LIKE_LINUX) 244 #endif // defined(MBED_CLOUD_CLIENT_FOTA_ENABLE) 246 #endif // __FOTA_APP_IFS_H_ int fota_app_install_main_app(const char *candidate_file_name)
int fota_app_on_complete(int32_t status)
Functions required for implementing the component update feature.
int fota_app_on_download_authorization(const manifest_firmware_info_t *candidate_info, fota_component_version_t curr_fw_version)
void fota_app_reject(int32_t reason)
void fota_app_authorize(void)
void fota_app_on_download_progress(size_t downloaded_size, size_t current_chunk_size, size_t total_size)
void fota_app_defer(void)
int fota_app_on_install_authorization(void)
int fota_app_on_main_app_verify_install(const fota_header_info_t *expected_header_info)
void fota_app_resume(void)
void fota_app_postpone_reboot(void)
int fota_app_on_install_candidate(const char *candidate_fs_name, const manifest_firmware_info_t *firmware_info)