100 #ifndef _IARM_BUS_SYSMGR_H
101 #define _IARM_BUS_SYSMGR_H
110 #define IARM_BUS_SYSMGR_NAME "SYSMgr"
129 IARM_BUS_SYSMGR_EVENT_SYSTEMSTATE,
132 IARM_BUS_SYSMGR_EVENT_IMAGE_DNLD,
144 typedef enum _SYSMgr_SystemState_t {
145 IARM_BUS_SYSMGR_SYSSTATE_CHANNELMAP,
146 IARM_BUS_SYSMGR_SYSSTATE_DISCONNECTMGR,
147 IARM_BUS_SYSMGR_SYSSTATE_TUNEREADY,
148 IARM_BUS_SYSMGR_SYSSTATE_EXIT_OK,
149 IARM_BUS_SYSMGR_SYSSTATE_CMAC,
150 IARM_BUS_SYSMGR_SYSSTATE_MOTO_ENTITLEMENT,
151 IARM_BUS_SYSMGR_SYSSTATE_MOTO_HRV_RX,
152 IARM_BUS_SYSMGR_SYSSTATE_CARD_CISCO_STATUS,
153 IARM_BUS_SYSMGR_SYSSTATE_VIDEO_PRESENTING,
154 IARM_BUS_SYSMGR_SYSSTATE_HDMI_OUT,
155 IARM_BUS_SYSMGR_SYSSTATE_HDCP_ENABLED,
156 IARM_BUS_SYSMGR_SYSSTATE_HDMI_EDID_READ,
157 IARM_BUS_SYSMGR_SYSSTATE_FIRMWARE_DWNLD,
158 IARM_BUS_SYSMGR_SYSSTATE_TIME_SOURCE,
159 IARM_BUS_SYSMGR_SYSSTATE_TIME_ZONE,
160 IARM_BUS_SYSMGR_SYSSTATE_CA_SYSTEM,
161 IARM_BUS_SYSMGR_SYSSTATE_ESTB_IP,
162 IARM_BUS_SYSMGR_SYSSTATE_ECM_IP,
163 IARM_BUS_SYSMGR_SYSSTATE_LAN_IP,
164 IARM_BUS_SYSMGR_SYSSTATE_MOCA,
165 IARM_BUS_SYSMGR_SYSSTATE_DOCSIS,
166 IARM_BUS_SYSMGR_SYSSTATE_DSG_BROADCAST_CHANNEL,
167 IARM_BUS_SYSMGR_SYSSTATE_DSG_CA_TUNNEL,
168 IARM_BUS_SYSMGR_SYSSTATE_CABLE_CARD,
169 IARM_BUS_SYSMGR_SYSSTATE_CABLE_CARD_DWNLD,
170 IARM_BUS_SYSMGR_SYSSTATE_CVR_SUBSYSTEM,
171 IARM_BUS_SYSMGR_SYSSTATE_DOWNLOAD,
172 IARM_BUS_SYSMGR_SYSSTATE_VOD_AD,
173 IARM_BUS_SYSMGR_SYSSTATE_DAC_INIT_TIMESTAMP,
174 IARM_BUS_SYSMGR_SYSSTATE_CABLE_CARD_SERIAL_NO,
175 IARM_BUS_SYSMGR_SYSSTATE_ECM_MAC,
176 IARM_BUS_SYSMGR_SYSSTATE_DAC_ID,
177 IARM_BUS_SYSMGR_SYSSTATE_PLANT_ID,
178 IARM_BUS_SYSMGR_SYSSTATE_STB_SERIAL_NO,
179 IARM_BUS_SYSMGR_SYSSTATE_BOOTUP,
180 IARM_BUS_SYSMGR_SYSSTATE_GATEWAY_CONNECTION,
181 IARM_BUS_SYSMGR_SYSSTATE_DST_OFFSET,
182 IARM_BUS_SYSMGR_SYSSTATE_RF_CONNECTED,
183 IARM_BUS_SYSMGR_SYSSTATE_PARTNERID_CHANGE,
184 IARM_BUS_SYSMGR_SYSSTATE_IP_MODE,
185 IARM_BUS_SYSMGR_SYSSTATE_LP_CONNECTION_RESET,
186 IARM_BUS_SYSMGR_SYSSTATE_RWS_CONNECTION_RESET,
187 IARM_BUS_SYSMGR_SYSSTATE_QAM_READY,
188 IARM_BUS_SYSMGR_SYSSTATE_FIRMWARE_UPDATE_STATE,
191 IARM_BUS_SYSMGR_SYSSTATE_USB_DETECTED
192 }IARM_Bus_SYSMgr_SystemState_t;
198 IARM_BUS_SYSMGR_CARD_FWDNLD_START,
199 IARM_BUS_SYSMGR_CARD_FWDNLD_COMPLETE,
205 IARM_BUS_SYSMGR_IMAGE_FWDNLD_UNINITIALIZED,
206 IARM_BUS_SYSMGR_IMAGE_FWDNLD_DOWNLOAD_INPROGRESS,
207 IARM_BUS_SYSMGR_IMAGE_FWDNLD_DOWNLOAD_COMPLETE,
208 IARM_BUS_SYSMGR_IMAGE_FWDNLD_DOWNLOAD_FAILED,
209 IARM_BUS_SYSMGR_IMAGE_FWDNLD_FLASH_INPROGRESS,
210 IARM_BUS_SYSMGR_IMAGE_FWDNLD_FLASH_COMPLETE,
211 IARM_BUS_SYSMGR_IMAGE_FWDNLD_FLASH_FAILED
217 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_UNINITIALIZED = 0,
218 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_REQUESTING = 1,
219 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_DOWNLOADING = 2,
220 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_FAILED = 3,
221 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_DOWNLOAD_COMPLETE = 4,
222 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_VALIDATION_COMPLETE = 5,
223 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_PREPARING_TO_REBOOT = 6,
224 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_ONHOLD_FOR_OPTOUT = 7,
225 IARM_BUS_SYSMGR_FIRMWARE_UPDATE_STATE_CRITICAL_REBOOT = 8
231 struct _CARD_FWDNLD_DATA {
235 struct _IMAGE_FWDNLD_DATA {
239 unsigned long deviceInfoLength;
241 struct _HDCP_PROFILE {
242 unsigned int hdcpProfile;
244 struct _SystemStates {
245 IARM_Bus_SYSMgr_SystemState_t stateId;
250 struct _EISS_STATUS {
253 struct _EISS_APP_ID {
254 unsigned char idList[4][6];
257 struct _KEY_CODE_LOG {
269 char devicename[256];
284 #define IARM_BUS_SYSMGR_API_GetSystemStates "GetSystemStates"
289 #define IARM_BUS_SYSMGR_API_SetHDCPProfile "SetHDCPProfile"
290 #define IARM_BUS_SYSMGR_API_GetHDCPProfile "GetHDCPProfile"
295 #define IARM_BUS_SYSMGR_API_GetKeyCodeLoggingPref "GetKeyCodeLoggingPref"
296 #define IARM_BUS_SYSMGR_API_SetKeyCodeLoggingPref "SetKeyCodeLoggingPref"
342 #define IARM_BUS_SYSMGR_Intrusion_MaxLen 1024
346 char intrusionData[ IARM_BUS_SYSMGR_Intrusion_MaxLen+1 ];