Possible failure reasons for update installations
#include <swu/Common.h>
typedef enum {
SWU_FAILURE_REASON_UPDATE_NOT_SUPPORTED,
SWU_FAILURE_REASON_NOT_READY_FOR_UPDATE,
SWU_FAILURE_REASON_INVALID_CONDITIONS,
SWU_FAILURE_REASON_INSTALL_FAILED,
SWU_FAILURE_REASON_INSTALL_VERIFICATION_FAILED
} swu_failure_reason_t;
Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.
The swu_failure_reason_t enumeration defines the possible reasons that an update installation can fail.