34 #include "hostIf_utils.h"
37 #include "Device_XComcast_Xcalibur_Client_XRE.h"
38 #include "Device_XComcast_Xcalibur_Client_XRE_ConnectionTable.h"
39 #include "Device_XComcast_Xcalibur_TRM.h"
41 static bool resetEnable =
false;
44 updateCallback XREClientReqHandler::mUpdateCallback = NULL;
45 GMutex* XREClientReqHandler::m_mutex = NULL;
46 int XREClientReqHandler::numOfEntries = 0;
67 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%s] Entering..\n", __FUNCTION__, __FILE__);
68 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%s] Exiting..\n", __FUNCTION__, __FILE__);
83 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%s] Entering..\n", __FUNCTION__, __FILE__);
84 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%s] Exiting..\n", __FUNCTION__, __FILE__);
89 void XREClientReqHandler::reset()
92 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%s] Entering..\n", __FUNCTION__, __FILE__);
95 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%s] Exiting..\n", __FUNCTION__, __FILE__);
99 void XREClientReqHandler::getLock()
103 m_mutex = g_mutex_new();
105 g_mutex_lock(m_mutex);
109 void XREClientReqHandler::releaseLock()
111 g_mutex_unlock(m_mutex);
129 int ret = NOT_HANDLED;
133 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%s:%d] Found string as %s\n", __FUNCTION__, __FILE__, __LINE__, stMsgData->
paramName);
137 if (strcasecmp (stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.xconfCheckNow") == 0)
139 ret = set_Device_X_COMCAST_COM_Xcalibur_Client_xconfCheckNow (stMsgData);
141 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreEnable") == 0)
143 ret = set_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreEnable(stMsgData);
145 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreRefreshXreSession") == 0)
147 ret = set_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreRefreshXreSession(stMsgData);
149 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreRefreshXreSessionWithRR") == 0)
151 ret = set_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreRefreshXreSessionWithRR(stMsgData);
153 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreRestartXreApp") == 0)
155 ret = set_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreRestartXreApp(stMsgData);
157 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreFlushLocalCache") == 0)
159 ret = set_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreFlushLocalCache(stMsgData);
161 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreLogLevel") == 0)
163 ret = set_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreLogLevel(stMsgData);
165 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreReceiverRestart") == 0)
167 ret = setXreReceiverRestart(stMsgData);
169 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.DevApp.devAppRestartRequest") == 0)
172 ret = setDevAppRestartRequest(stMsgData);
176 stMsgData->
faultCode = fcInvalidParameterName;
199 int ret = NOT_HANDLED;
200 const char *pSetting = NULL;
201 int instanceNumber = 0;
207 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%s:%d] Found string as %s\n", __FUNCTION__, __FILE__, __LINE__, stMsgData->
paramName);
209 if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreEnable") == 0)
211 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreEnable(stMsgData);
213 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreStatus") == 0)
215 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreStatus(stMsgData);
217 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreVersion") == 0)
219 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreVersion(stMsgData);
221 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreReceiverId") == 0)
223 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreReceiverId(stMsgData);
225 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreSessionId") == 0)
227 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreSessionId(stMsgData);
229 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreSessionLastModTs") == 0)
231 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreSessionLastModTs(stMsgData);
233 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreSessionUptime") == 0)
235 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreSessionUptime(stMsgData);
237 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreLastURLAccessed") == 0)
239 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreLastURLAccessed(stMsgData);
241 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreMinCmdProcTime") == 0)
243 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreMinCmdProcTime(stMsgData);
245 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreAvgCmdProcTime") == 0)
247 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreAvgCmdProcTime(stMsgData);
249 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreMaxCmdProcTime") == 0)
251 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreMaxCmdProcTime(stMsgData);
253 else if(strcasecmp(stMsgData->
paramName,
"device.x_comcast-com_xcalibur.client.xre.xreCommandCnt") == 0)
255 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreCommandCnt(stMsgData);
257 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreErrorCnt") == 0)
259 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreErrorCnt(stMsgData);
261 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotViewCnt") == 0)
263 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotViewCnt(stMsgData);
265 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotAppCnt") == 0)
267 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotAppCnt(stMsgData);
269 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotRectCnt") == 0)
271 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotRectCnt(stMsgData);
273 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotTxtCnt") == 0)
275 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotTxtCnt(stMsgData);
277 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotHtmlTxtCnt") == 0)
279 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotHtmlTxtCnt(stMsgData);
281 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotTxtIpCnt") == 0)
283 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotTxtIpCnt(stMsgData);
285 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotFontCnt") == 0)
287 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotFontCnt(stMsgData);
289 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotVideoCnt") == 0)
291 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotVideoCnt(stMsgData);
293 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotSoundCnt") == 0)
295 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotSoundCnt(stMsgData);
297 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotStyleshtCnt") == 0)
299 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotStyleshtCnt(stMsgData);
301 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotImgCnt") == 0)
303 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotImgCnt(stMsgData);
305 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotNineSliceImgCnt") == 0)
307 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotNineSliceImgCnt(stMsgData);
309 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotFlashCnt") == 0)
311 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotFlashCnt(stMsgData);
313 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreTotAnimCnt") == 0)
315 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotAnimCnt(stMsgData);
317 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreRefreshXreSession") == 0)
319 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreRefreshXreSession(stMsgData);
321 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreFlushLocalCache") == 0)
323 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreFlushLocalCache(stMsgData);
325 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreLogLevel") == 0)
327 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreLogLevel(stMsgData);
329 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreGetTWPDiags") == 0)
331 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreGetTWPDiags(stMsgData);
333 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreChannelMapId") == 0)
335 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreChannelMapId(stMsgData);
337 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreControllerId") == 0)
339 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreControllerId(stMsgData);
341 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xrePlantId") == 0)
343 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xrePlantId(stMsgData);
345 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreVodId") == 0)
347 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreVodId(stMsgData);
349 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreGatewaySTBMAC") == 0)
351 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreGatewaySTBMAC(stMsgData);
353 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.xreLastVideoUrl") == 0)
355 ret = get_XreLastVideoUrl(stMsgData);
357 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.DevApp.devAppNumAps") == 0)
359 ret = get_DevAppNumAps(stMsgData);
361 else if(matchComponent(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.DevApp.devAppTable",&pSetting,instanceNumber))
363 ret = get_DevAppTable(stMsgData, pSetting, instanceNumber);
366 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.numberOfConnections") == 0)
368 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_numberOfConnections(stMsgData);
370 else if(matchComponent(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable", &pSetting, instanceNumber))
372 if ((pSetting != NULL) && (instanceNumber != 0))
374 if(strcasecmp(pSetting,
"xreAppId") == 0)
376 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreAppId(stMsgData, instanceNumber);
378 else if(strcasecmp(pSetting,
"xreConnURL") == 0)
380 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnURL(stMsgData, instanceNumber);
382 else if(strcasecmp(pSetting,
"xreConnStatus") == 0)
384 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnStatus(stMsgData, instanceNumber);
386 else if(strcasecmp(pSetting,
"xreConnIfName") == 0)
388 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnIfName(stMsgData, instanceNumber);
390 else if(strcasecmp(pSetting,
"xreConnEstTs") == 0)
392 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnEstTs(stMsgData, instanceNumber);
394 else if(strcasecmp(pSetting,
"xreConnRetryAttempts") == 0)
396 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnRetryAttempts(stMsgData, instanceNumber);
400 RDK_LOG(RDK_LOG_ERROR,LOG_TR69HOSTIF,
"[%s:%d] Parameter \'%s\' is Not Supported \n", __FUNCTION__, __LINE__, stMsgData->
paramName);
401 stMsgData->
faultCode = fcInvalidParameterName;
407 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.xreAppId") == 0)
409 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreAppId(stMsgData);
411 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.xreConnURL") == 0)
413 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnURL(stMsgData);
415 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.xreConnStatus") == 0)
417 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnStatus(stMsgData);
419 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.xreConnIfName") == 0)
421 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnIfName(stMsgData);
423 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.xreConnEstTs") == 0)
425 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnEstTs(stMsgData);
427 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.xreConnRetryAttempts") == 0)
429 ret = get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnRetryAttempts(stMsgData);
431 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.TRM.trmGatewaySTBMAC") == 0)
433 ret = get_Device_X_COMCAST_COM_Xcalibur_TRM_trmGatewaySTBMAC(stMsgData);
437 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.TRM.trmGatewayMoCAMAC") == 0)
439 ret = get_Device_X_COMCAST_COM_Xcalibur_TRM_trmGatewayMoCAMAC(stMsgData);
441 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.TRM.trmGatewayMoCAIP") == 0)
443 ret = get_Device_X_COMCAST_COM_Xcalibur_TRM_trmGatewayMoCAIP(stMsgData);
445 else if(strcasecmp(stMsgData->
paramName,
"Device.X_COMCAST-COM_Xcalibur.TRM.trmGatewayDeviceFriendlyName") == 0)
447 ret = get_Device_X_COMCAST_COM_Xcalibur_TRM_trmGatewayDeviceFriendlyName(stMsgData);
451 RDK_LOG(RDK_LOG_ERROR,LOG_TR69HOSTIF,
"[%s:%d] Parameter : \'%s\' is Not Supported \n", __FUNCTION__, __LINE__, stMsgData->
paramName);
452 stMsgData->
faultCode = fcInvalidParameterName;
461 int XREClientReqHandler::handleGetAttributesMsg(
HOSTIF_MsgData_t *stMsgData)
463 int ret = NOT_HANDLED;
470 int XREClientReqHandler::handleSetAttributesMsg(
HOSTIF_MsgData_t *stMsgData)
472 int ret = NOT_HANDLED;
478 void XREClientReqHandler::registerUpdateCallback(updateCallback cb)
480 mUpdateCallback = cb;
483 void XREClientReqHandler::checkForUpdates()
489 char tmp_buff[TR69HOSTIFMGR_MAX_PARAM_LEN];
492 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%d] Entering..\n", __FUNCTION__, __LINE__);
494 if(resetEnable && get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_numberOfConnections(&msgData) == OK)
497 char tmp[TR69HOSTIFMGR_MAX_PARAM_LEN] =
"";
498 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable");
500 while(numOfEntries > tmpNoDev)
502 sprintf(tmp,
"%s.%d.",tmp_buff,tmpNoDev);
504 RDK_LOG(RDK_LOG_INFO, LOG_TR69HOSTIF,
"[%s:%d] IARM_Bus_BroadcastEvent : 'IARM_BUS_TR69HOSTIFMGR_EVENT_REMOVE for \'%s\' object. \n", __FUNCTION__, __LINE__, tmp);
507 while(numOfEntries < tmpNoDev)
509 sprintf(tmp,
"%s.",tmp_buff);
511 RDK_LOG(RDK_LOG_INFO, LOG_TR69HOSTIF,
"[%s:%d] IARM_Bus_BroadcastEvent : Sending (%d) 'IARM_BUS_TR69HOSTIFMGR_EVENT_ADD' for \'%s\' object. \n", __FUNCTION__, __LINE__, tmpNoDev, tmp);
517 #ifdef HAVE_VALUE_CHANGE_EVENT
519 memset(&msgData,0,
sizeof(msgData));
520 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
522 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreEnable(&msgData,&bChanged);
525 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreEnable");
528 memset(&msgData,0,
sizeof(msgData));
529 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
531 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreStatus(&msgData,&bChanged);
534 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreStatus");
539 memset(&msgData,0,
sizeof(msgData));
540 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
542 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreVersion(&msgData,&bChanged);
545 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreVersion");
550 memset(&msgData,0,
sizeof(msgData));
551 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
553 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreReceiverId(&msgData,&bChanged);
556 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreReceiverId");
561 memset(&msgData,0,
sizeof(msgData));
562 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
564 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreSessionId(&msgData,&bChanged);
567 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreSessionId");
572 memset(&msgData,0,
sizeof(msgData));
573 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
575 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreSessionLastModTs(&msgData,&bChanged);
578 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreSessionLastModTs");
583 memset(&msgData,0,
sizeof(msgData));
584 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
586 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreSessionUptime(&msgData,&bChanged);
589 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreSessionUptime");
594 memset(&msgData,0,
sizeof(msgData));
595 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
597 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreLastURLAccessed(&msgData,&bChanged);
600 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreLastURLAccessed");
605 memset(&msgData,0,
sizeof(msgData));
606 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
608 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreMinCmdProcTime(&msgData,&bChanged);
611 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreMinCmdProcTime");
616 memset(&msgData,0,
sizeof(msgData));
617 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
619 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreAvgCmdProcTime(&msgData,&bChanged);
622 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreAvgCmdProcTime");
627 memset(&msgData,0,
sizeof(msgData));
628 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
630 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreMaxCmdProcTime(&msgData,&bChanged);
633 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreMaxCmdProcTime");
638 memset(&msgData,0,
sizeof(msgData));
639 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
641 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreCommandCnt(&msgData,&bChanged);
644 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreCommandCnt");
649 memset(&msgData,0,
sizeof(msgData));
650 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
652 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreErrorCnt(&msgData,&bChanged);
655 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreErrorCnt");
660 memset(&msgData,0,
sizeof(msgData));
661 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
663 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotViewCnt(&msgData,&bChanged);
666 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotViewCnt");
671 memset(&msgData,0,
sizeof(msgData));
672 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
674 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotAppCnt(&msgData,&bChanged);
677 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotAppCnt");
682 memset(&msgData,0,
sizeof(msgData));
683 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
685 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotRectCnt(&msgData,&bChanged);
688 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotRectCnt");
693 memset(&msgData,0,
sizeof(msgData));
694 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
696 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotTxtCnt(&msgData,&bChanged);
699 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotTxtCnt");
704 memset(&msgData,0,
sizeof(msgData));
705 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
707 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotHtmlTxtCnt(&msgData,&bChanged);
710 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotHtmlTxtCnt");
715 memset(&msgData,0,
sizeof(msgData));
716 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
718 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotTxtIpCnt(&msgData,&bChanged);
721 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotTxtIpCnt");
726 memset(&msgData,0,
sizeof(msgData));
727 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
729 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotFontCnt(&msgData,&bChanged);
732 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotFontCnt");
737 memset(&msgData,0,
sizeof(msgData));
738 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
740 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotVideoCnt(&msgData,&bChanged);
743 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotVideoCnt");
748 memset(&msgData,0,
sizeof(msgData));
749 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
751 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotSoundCnt(&msgData,&bChanged);
754 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotSoundCnt");
759 memset(&msgData,0,
sizeof(msgData));
760 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
762 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotStyleshtCnt(&msgData,&bChanged);
765 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotStyleshtCnt");
770 memset(&msgData,0,
sizeof(msgData));
771 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
773 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotImgCnt(&msgData,&bChanged);
776 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotImgCnt");
781 memset(&msgData,0,
sizeof(msgData));
782 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
784 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotNineSliceImgCnt(&msgData,&bChanged);
787 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotNineSliceImgCnt");
792 memset(&msgData,0,
sizeof(msgData));
793 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
795 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotFlashCnt(&msgData,&bChanged);
798 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotFlashCnt");
803 memset(&msgData,0,
sizeof(msgData));
804 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
806 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreTotAnimCnt(&msgData,&bChanged);
809 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreTotAnimCnt");
814 memset(&msgData,0,
sizeof(msgData));
815 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
817 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreRefreshXreSession(&msgData,&bChanged);
820 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreRefreshXreSession");
825 memset(&msgData,0,
sizeof(msgData));
826 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
828 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreFlushLocalCache(&msgData,&bChanged);
831 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreFlushLocalCache");
836 memset(&msgData,0,
sizeof(msgData));
837 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
839 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreLogLevel(&msgData,&bChanged);
842 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreLogLevel");
847 memset(&msgData,0,
sizeof(msgData));
848 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
850 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreGetTWPDiags(&msgData,&bChanged);
853 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreGetTWPDiags");
858 memset(&msgData,0,
sizeof(msgData));
859 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
861 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreChannelMapId(&msgData,&bChanged);
864 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreChannelMapId");
869 memset(&msgData,0,
sizeof(msgData));
870 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
872 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreControllerId(&msgData,&bChanged);
875 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreControllerId");
880 memset(&msgData,0,
sizeof(msgData));
881 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
883 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xrePlantId(&msgData,&bChanged);
886 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xrePlantId");
891 memset(&msgData,0,
sizeof(msgData));
892 memset(tmp_buff,0,TR69HOSTIFMGR_MAX_PARAM_LEN);
894 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_xreVodId(&msgData,&bChanged);
897 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.%s",
"xreVodId");
903 memset(&msgData, 0,
sizeof(&msgData));
904 memset(tmp_buff, 0, TR69HOSTIFMGR_MAX_PARAM_LEN);
905 unsigned int connections = 0;
906 unsigned int loopCnt = 0;
909 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_numberOfConnections(&msgData);
911 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.numberOfConnections");
915 for (loopCnt = 1; loopCnt <= connections; loopCnt++)
917 memset(&msgData, 0,
sizeof(&msgData));
918 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreAppId(&msgData, loopCnt);
919 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.%d.xreAppId", loopCnt);
923 for (loopCnt = 1; loopCnt <= connections; loopCnt++)
925 memset(&msgData, 0,
sizeof(&msgData));
926 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnURL(&msgData, loopCnt);
927 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.%d.xreConnURL", loopCnt);
931 for (loopCnt = 1; loopCnt <= connections; loopCnt++)
933 memset(&msgData, 0,
sizeof(&msgData));
934 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnStatus(&msgData, loopCnt);
935 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.%d.xreConnStatus", loopCnt);
938 for (loopCnt = 1; loopCnt <= connections; loopCnt++)
940 memset(&msgData, 0,
sizeof(&msgData));
941 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnIfName(&msgData, loopCnt);
942 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.%d.xreConnIfName", loopCnt);
945 for (loopCnt = 1; loopCnt <= connections; loopCnt++)
947 memset(&msgData, 0,
sizeof(&msgData));
948 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnEstTs(&msgData, loopCnt);
949 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.%d.xreConnEstTs", loopCnt);
952 for (loopCnt = 1; loopCnt <= connections; loopCnt++)
954 memset(&msgData, 0,
sizeof(&msgData));
955 get_Device_X_COMCAST_COM_Xcalibur_Client_XRE_ConnectionTable_xreConnRetryAttempts(&msgData, loopCnt);
956 sprintf(tmp_buff,
"Device.X_COMCAST-COM_Xcalibur.Client.XRE.ConnectionTable.%d.xreConnRetryAttempts", loopCnt);
962 RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,
"[%s:%d] Exiting..\n", __FUNCTION__, __LINE__);