21 #ifndef _IARM_BUS_MAINTENANCEMGR_H
22 #define _IARM_BUS_MAINTENANCEMGR_H
24 #define IARM_BUS_MAINTENANCE_MGR_NAME "MaintenanceMGR"
27 IARM_BUS_MAINTENANCEMGR_EVENT_UPDATE=0,
28 IARM_BUS_DCM_NEW_START_TIME_EVENT,
29 }IARM_Bus_MaintMGR_EventId_t;
37 MAINT_LOGUPLOAD_COMPLETE,
38 MAINT_LOGUPLOAD_ERROR,
39 MAINT_PINGTELEMETRY_COMPLETE,
40 MAINT_PINGTELEMETRY_ERROR,
41 MAINT_FWDOWNLOAD_COMPLETE,
42 MAINT_FWDOWNLOAD_ERROR,
43 MAINT_FWDOWNLOAD_ABORTED,
44 MAINT_CRITICAL_UPDATE,
45 MAINT_REBOOT_REQUIRED,
48 MAINT_FWDOWNLOAD_INPROGRESS,
49 MAINT_LOGUPLOAD_INPROGRESS,
51 } IARM_Maint_module_status_t;
53 #define MAX_TIME_LEN 32
59 char start_time[MAX_TIME_LEN];
61 struct _MAINT_STATUS_UPDATE{
62 IARM_Maint_module_status_t status;
63 }maintenance_module_status;