#include <swi_update.h>
Data Fields | |
swi_update_Event_t | event |
The event being notified. See swi_update_Event_t for list of event. | |
const char * | eventDetails |
This field will be used to indicate the download progress, failure details etc. |
Event | Event Details |
---|---|
SWI_UPDATE_NEW | N/A |
SWI_UPDATE_DOWNLOAD_IN_PROGRESS | Download percentage (e.g.: "15%") |
SWI_UPDATE_DOWNLOAD_OK | N/A |
SWI_UPDATE_CRC_OK | N/A |
SWI_UPDATE_UPDATE_IN_PROGRESS Cell | Name of the current component being updated (e.g.: "someasset.foo.bar") |
SWI_UPDATE_FAILED | Failure details (e.g. "CRC failed") |
SWI_UPDATE_SUCCESSFUL | N/A |
SWI_UPDATE_PAUSED | Current update step that will be resumed when SWI_UPDATE_REQ_RESUME is received |