1.6.3.4 SYS_OTA_STATUS Enum

C

typedef enum {
    /* To provide status of OTA system */
    
    /*system in idle state*/
    SYS_OTA_IDLE = 0,
    
    /*waiting for network connection*/
    SYS_OTA_WAITING_FOR_NETWORK_CONNECTION,
    
    /*waiting for OTA core to become IDLE*/
    SYS_OTA_WAITING_FOR_OTACORE_IDLE,
    
    /*waiting for user defined period*/
    SYS_OTA_WAITING_FOR_USER_DEFINED_PERIOD,
    
    /*update check with server start*/
    SYS_OTA_UPDATE_CHECK_START,
    
    /*update check with server failed*/
    SYS_OTA_UPDATE_CHECK_FAILED,
    
    /*update available in server*/
    SYS_OTA_UPDATE_AVAILABLE,
    
    /*update not available*/
    SYS_OTA_UPDATE_NOTAVAILABLE,
    
    /*OTA trigger failed*/
    SYS_OTA_TRIGGER_OTA_FAILED,
    
    /*Factory reset success*/
    SYS_OTA_FACTORY_RESET_SUCCESS,
    
    /*factory reset failed*/
    SYS_OTA_FACTORY_RESET_FAILED,
    
    /*rollback success*/
    SYS_OTA_ROLLBACK_SUCCESS,
    
    /*rollback failed*/
    SYS_OTA_ROLLBACK_FAILED,
    
    /*base image version for patching is not found in OTA DB*/
    SYS_OTA_PATCH_BASEVERSION_NOTFOUND,
    
    /*Patch event initiated*/
    SYS_OTA_PATCH_EVENT_START,
    
    /*Patch event completed*/
    SYS_OTA_PATCH_EVENT_COMPLETED,
    
    /*download start*/
    SYS_OTA_DOWNLOAD_START,
    
    /*download success*/
    SYS_OTA_DOWNLOAD_SUCCESS,
    
    /*download failed*/
    SYS_OTA_DOWNLOAD_FAILED,
    
    /*image digest verify start*/
    SYS_OTA_IMAGE_DIGEST_VERIFY_START,
    
    /*image digest verify success*/
    SYS_OTA_IMAGE_DIGEST_VERIFY_SUCCESS,
    
    /*image digest verify failed*/
    SYS_OTA_IMAGE_DIGEST_VERIFY_FAILED,
    
    /*patch image digest verify start*/
    SYS_OTA_PATCH_IMAGE_DIGEST_VERIFY_START,
    
    /*patch image digest verify success*/
    SYS_OTA_PATCH_IMAGE_DIGEST_VERIFY_SUCCESS,
    
    /*patch image digest verify failed*/
    SYS_OTA_PATCH_IMAGE_DIGEST_VERIFY_FAILED,
    
    /*Database entry successful*/
    SYS_OTA_DB_ENTRY_SUCCESS,
    
    /*erasing image failed*/
    SYS_OTA_IMAGE_ERASE_FAILED,
    
    /*erasing image success*/
    SYS_OTA_IMAGE_ERASED,
    
    /*image database full*/
    SYS_OTA_IMAGE_DATABASE_FULL,
    
    /*not a defined(as mentioned above) status*/
    SYS_OTA_NONE
} SYS_OTA_STATUS;

Summary

provide status of ota system.

Description

provide status of ota system.

Remarks