XDK API  3.6.0
Documentation
Modules | Files | Typedefs | Enumerations
Fota

This module provides declarations which are commonly used by Fota. More...

+ Collaboration diagram for Fota:

Modules

 FOTA through SD Card
 This module will handle, FOTA related activities like Firmware validation and Firmware update from the SD Card.
 
 FWContainer
 Define here the FWContainer.
 
 FotaCopyAgent
 API of the copyAgent.
 
 FotaDownloadAgent
 API of the DonwloadAgent.
 
 FotaPartitionAgent
 API of the Partition agent.
 
 FotaRegistryAgent
 API of the Registry agent.
 
 FotaVerificationAgent
 This module is responsible for validating new firmware that is about to be switched with the current working firmware.
 

Files

file  BCDS_Fota.h
 

Typedefs

typedef enum Fota_Event_E Fota_Event_T
 

Enumerations

enum  BCDS_FOTA_ModuleID_E
 BCDS_MODULE_ID for each FOTA C module usage: #undef BCDS_MODULE_ID #define BCDS_MODULE_ID BCDS_FOTA_MODULE_ID_xxx. More...
 
enum  Fota_Event_E
 This enum represents to Identify the different FOTA Partitions. More...
 
enum  Fota_Retcode_E
 module specific extension of the basic retcode More...
 

Detailed Description

Typedef Documentation

typedef enum Fota_Event_E Fota_Event_T

Enumeration Type Documentation

Enumerator
BCDS_FOTA_MODULE_ID_COAPDOWNLOADAGENT 
BCDS_FOTA_MODULE_ID_EXTFLASHPARITIONAGENT 
BCDS_FOTA_MODULE_ID_EFM32XXPARITIONAGENT 
BCDS_FOTA_MODULE_ID_MX25R8035F_PARTITION_AGENT 
BCDS_FOTA_MODULE_ID_COPYAGENT 
BCDS_FOTA_MODULE_ID_FW1COPYAGENT 
BCDS_FOTA_MODULE_ID_HVERIFICATION 
BCDS_FOTA_MODULE_ID_REGAGENT 
Enumerator
FOTA_EVENT_STORAGEAGENT_PRIMARY_STORED 
FOTA_EVENT_STORAGEAGENT_BACKUP_STORED 
FOTA_EVENT_STORAGEAGENT_DOWNLOAD_STORED 
FOTA_EVENT_STORAGEAGENT_PRIMARY_FAIL 
FOTA_EVENT_STORAGEAGENT_BACKUP_FAIL 
FOTA_EVENT_STORAGEAGENT_DOWNLOAD_FAIL 
FOTA_EVENT_STORAGEAGENT_PRIMARY_ERASED 
FOTA_EVENT_STORAGEAGENT_BACKUP_ERASED 
FOTA_EVENT_STORAGEAGENT_DOWNLOAD_ERASED 
FOTA_EVENT_STORGEAGENT_MAX 
FOTA_EVENT_DOWNLOADAGENT_STARTED 
FOTA_EVENT_DOWNLOADAGENT_STOPPED 
FOTA_EVENT_DOWNLOADAGENT_CONTINUE 
FOTA_EVENT_DOWNLOADAGENT_UNEXPECTED_ERROR 
FOTA_EVENT_DOWNLOADAGENT_PACKAGE_LOADED 
FOTA_EVENT_DOWNLOADAGENT_COMPLETE 
FOTA_EVENT_DOWNLOADAGENT_FAIL 
FOTA_EVENT_DOWNLOADAGENT_MAX 
FOTA_EVENT_VERIFICATIONAGENT_HEADER_OK 
FOTA_EVENT_VERIFICATIONAGENT_HEADER_FAIL 
FOTA_EVENT_VERIFICATIONAGENT_IMAGE_OK 
FOTA_EVENT_VERIFICATIONAGENT_IMAGE_FAIL 
FOTA_EVENT_VERIFICATIONAGENT_SIGNATURE_OK 
FOTA_EVENT_VERIFICATIONAGENT_SIGNATURE_FAIL 
FOTA_EVENT_VERIFICATIONAGENT_MAX 
FOTA_EVENT_REGISTRY_KEY_WRITE_OK 
FOTA_EVENT_REGISTRY_KEY_WRITE_FAIL 
FOTA_EVENT_REGISTRY_SAVE_OK 
FOTA_EVENT_REGISTRY_SAVE_FAIL 
FOTA_EVENT_REGISTRY_MAX 
FOTA_EVENT_COPY_UPDATE_OK 
FOTA_EVENT_COPY_UPDATE_FAIL 
FOTA_EVENT_COPY_ROLLBACK_OK 
FOTA_EVENT_COPY_ROLLBACK_FAIL 
FOTA_EVENT_PARTITION_AGENT_INIT_OK 
FOTA_EVENT_PARTITION_AGENT_INIT_FAIL 
FOTA_EVENT_PARTITION_READ_OK 
FOTA_EVENT_PARTITION_READ_FAIL 
FOTA_EVENT_PARTITION_WRITE_OK 
FOTA_EVENT_PARTITION_WRITE_FAIL 
FOTA_EVENT_PARTITION_ERASE_OK 
FOTA_EVENT_PARTITION_ERASE_FAIL 
FOTA_EVENT_PARTITION_OUT_OF_STORAGE 
Enumerator
FOTA_RETCODE_INTERNAL_ERROR 
FOTA_RETCODE_CRC_ERROR 
FOTA_RETCODE_INVALID_SIGNATURE 
FOTA_RETCODE_INVALID_HEADER_VERSION 
FOTA_RETCODE_RESOURCE_CHANGED_ERROR 
FOTA_RETCODE_CONTAINER_READ_FAIL 
FOTA_RETCODE_FIRMWARE_SIZE_FAIL 
FOTA_RETCODE_FIRMWARE_VERSION_FAIL 
FOTA_DL_CLIENT_SESSION_ALREADY_ACTIVE 
FOTA_DL_SEND_FAILED 

Coap session is already active. resume d/w after coap timeout period Send has failed and notify to application to handle the communication channel related errors like Radio signal loss. So that application should resume download after checking radio status

FOTA_DL_SEND_TIMEOUT 
FOTA_DL_SEND_ERROR 
FOTA_DL_ERROR 
FOTA_DL_UNKNOWN_ERROR 
FOTA_DL_STACK_ASYNC_CALL_POPPED_UP 
FOTA_DL_NOTFOUND 
FOTA_DL_RX_TIMEOUT 
FOTA_DL_FATAL_ERROR 
FOTA_DL_DATA_SIZE_OVERLOAD 
FOTA_DL_DATA_BUFFER_INVALID 
FOTA_DL_DATA_WRITE_ERROR 
FOTA_DL_CMD_PROCESSOR_ENQUEUE_FAIL 
FOTA_DL_DOWNLOAD_INPROGRESS 
FOTA_DL_DOWNLOAD_NOT_INPROGRESS 
FOTA_FAILED_NVM_WRITE_DOWNLOAD_IN_PROGRESS 
FOTA_FAILED_NVM_WRITE_FOTA_CURRENT_STATE 
FOTA_FAILED_NVM_FLUSH 
FOTA_FAILED_ENV_READ_CREDENTIALS 
FOTA_FAILED_NVM_READ_CREDENTIALS 
FOTA_FAILED_RESULT_AND_STATE_UPDATE 
FOTA_UPDATE_INVALID_URI_FAILED 
FOTA_FAILED_TO_SETUP_NEW_DOWNLOAD 
FOTA_FAILED_DUE_TO_INCONSISTENT_STATE 
FOTA_FAILED_UPDATE_GENERIC_ERROR 
FOTA_DATA_PROCESSING_OVERLOAD 
FOTA_DATA_SIZE_OVERLOAD 
SDCARD_NOT_DETECTED 
SDCARD_FILE_OPEN_ERROR 
SDCARD_FILE_WRITE_ERROR 
SDCARD_FILE_READ_ERROR 
SDCARD_FILE_ERASE_ERROR 
SDCARD_FILE_CLOSE_ERROR 
SDCARD_FILE_NOT_FOUND 
SDCARD_OUT_OF_STORAGE 
SDCARD_GET_FILE_SIZE_ERROR 
EXTFLASH_FILE_OPEN_ERROR 
EXTFLASH_FILE_WRITE_ERROR 
EXTFLASH_FILE_READ_ERROR 
EXTFLASH_FILE_ERASE_ERROR 
EXTFLASH_FILE_CLOSE_ERROR 
EXTFLASH_FILE_NOT_FOUND 
EXTFLASH_OUT_OF_STORAGE 
FOTA_DELAY_REQUEST_NOTIFY_FAIL 
FOTA_SEND_FAILED_NOTIFY_FAIL 
FOTA_FW_KEYSIZE_WRONG 
FOTA_FW_NOT_SUPPORTED 
FOTA_FW_CRCINIT_FAIL 
FOTA_FW_CRCRUN_FAIL 
FOTA_FW_CRCFINAL_FAIL 
FOTA_FW_CRC_FAIL 
FOTA_FW_SIG_FAIL 
FOTA_CPY_SIZE_WRONG 
INTFLASH_FILE_OPEN_ERROR 
INTFLASH_FILE_WRITE_ERROR 
INTFLASH_FILE_READ_ERROR 
INTFLASH_FILE_ERASE_ERROR 
INTFLASH_FILE_CLOSE_ERROR 
INTFLASH_FILE_NOT_FOUND 
INTFLASH_OUT_OF_STORAGE 
FOTA_RETCODE_MAX_ERROR 

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:51 by doxygen 1.8.8