131 #define IARM_BUS_DEVICE_UPDATE_NAME "DeviceUpdateManager"
133 #define IARM_BUS_DEVICE_UPDATE_PATH_LENGTH 512
134 #define IARM_BUS_DEVICE_UPDATE_ERROR_LENGTH 256
135 #define IARM_BUS_DEVICE_UPDATE_VERSION_LENGTH 32
136 #define IARM_BUS_DEVICE_UPDATE_DEVICE_NAME_LENGTH 64
147 #define IARM_BUS_DEVICE_UPDATE_MASTER_DOWNLOAD_ENABLED 0
148 #define IARM_BUS_DEVICE_UPDATE_MASTER_LOAD_ENABLED 0
173 #define IARM_BUS_DEVICE_UPDATE_API_AcceptUpdate "AcceptUpdate"
177 char deviceImageFilePath[IARM_BUS_DEVICE_UPDATE_PATH_LENGTH];
178 unsigned char deviceID;
179 unsigned int updateSessionID;
180 unsigned char interactiveDownload;
181 unsigned char interactiveLoad;
186 typedef enum _DEVICE_Update_EventId_t
188 IARM_BUS_DEVICE_UPDATE_EVENT_ANNOUNCE = 0,
189 IARM_BUS_DEVICE_UPDATE_EVENT_READY_TO_DOWNLOAD,
190 IARM_BUS_DEVICE_UPDATE_EVENT_DOWNLOAD_INITIATE,
191 IARM_BUS_DEVICE_UPDATE_EVENT_DOWNLOAD_STATUS,
192 IARM_BUS_DEVICE_UPDATE_EVENT_LOAD_INITIATE,
193 IARM_BUS_DEVICE_UPDATE_EVENT_LOAD_STATUS,
194 IARM_BUS_DEVICE_UPDATE_EVENT_ERROR,
195 IARM_BUS_DEVICE_UPDATE_EVENT_MAX
197 } IARM_Bus_DEVICE_Update_EventId_t;
218 typedef enum _IARM_Bus_Device_Update_LoadDelayType_t
225 } IARM_Bus_Device_Update_LoadDelayType_t;
236 typedef enum _IARM_Bus_Device_Update_LoadStatusType_t
241 } IARM_Bus_Device_Update_LoadStatusType_t;
244 typedef enum _IARM_Bus_Device_Update_ErrorType_t
253 } IARM_Bus_Device_Update_ErrorType_t;
281 char deviceName[IARM_BUS_DEVICE_UPDATE_DEVICE_NAME_LENGTH];
282 char deviceImageVersion[IARM_BUS_DEVICE_UPDATE_VERSION_LENGTH];
283 unsigned int deviceImageType;
284 char deviceImageFilePath[IARM_BUS_DEVICE_UPDATE_PATH_LENGTH];
285 unsigned char forceUpdate;
318 unsigned int updateSessionID;
319 unsigned char deviceCurrentSWVersion[IARM_BUS_DEVICE_UPDATE_VERSION_LENGTH];
320 unsigned char deviceNewSoftwareVersion[IARM_BUS_DEVICE_UPDATE_VERSION_LENGTH];
321 unsigned char deviceHWVersion[IARM_BUS_DEVICE_UPDATE_VERSION_LENGTH];
322 unsigned char deviceBootloaderVersion[IARM_BUS_DEVICE_UPDATE_VERSION_LENGTH];
323 char deviceName[IARM_BUS_DEVICE_UPDATE_DEVICE_NAME_LENGTH];
324 unsigned int totalSize;
325 unsigned int deviceImageType;
352 unsigned int updateSessionID;
353 unsigned char backgroundDownload;
354 unsigned char requestedPercentIncrement;
355 unsigned char loadImageImmediately;
377 unsigned int updateSessionID;
378 unsigned int percentComplete;
404 unsigned int updateSessionID;
405 IARM_Bus_Device_Update_LoadDelayType_t loadDelayType;
406 unsigned int timeToLoad;
407 unsigned int timeAfterInactive;
428 unsigned int updateSessionID;
429 IARM_Bus_Device_Update_LoadStatusType_t loadStatus;
452 unsigned int updateSessionID;
453 unsigned char errorMessage[IARM_BUS_DEVICE_UPDATE_ERROR_LENGTH];
454 IARM_Bus_Device_Update_ErrorType_t errorType;