From e6b0f2493f51715f0c576a4933031a8bf3cf0e15 Mon Sep 17 00:00:00 2001 From: "Kakkoth Vayalambron, Shibu" Date: Tue, 11 Feb 2025 15:12:05 -0800 Subject: [PATCH] RDK-56229: Add IUI version as mandatory field Reason for change: Include IUI version as mandatory field for video platforms Test Procedure: Ensure all messgaes for legacy XCONF based profile includes field for IUI version Risks: Low Change-Id: Idffd01d5679aae4df7b602bea116decb5607ac38 --- source/t2parser/t2parserxconf.c | 2 ++ source/xconf-client/xconfclient.h | 1 + 2 files changed, 3 insertions(+) diff --git a/source/t2parser/t2parserxconf.c b/source/t2parser/t2parserxconf.c index 0970f02..39594ef 100644 --- a/source/t2parser/t2parserxconf.c +++ b/source/t2parser/t2parserxconf.c @@ -216,6 +216,7 @@ T2ERROR processConfigurationXConf(char* configData, ProfileXConf **localProfile) addParameter(profile, "PartnerId", TR181_DEVICE_PARTNER_ID, NULL, -1); addParameter(profile, "Version", TR181_DEVICE_FW_VERSION, NULL, -1); addParameter(profile, "AccountId", TR181_DEVICE_ACCOUNT_ID, NULL, -1); + addParameter(profile, "immui_ver_split", TR181_IUI_VERSION, NULL, -1); } free(paramValue); paramValue = NULL; @@ -229,6 +230,7 @@ T2ERROR processConfigurationXConf(char* configData, ProfileXConf **localProfile) addParameter(profile, "camIpv6", TR181_DEVICE_WAN_IPv6, NULL, -1); #else addParameter(profile, "StbIp", TR181_DEVICE_WAN_IPv6, NULL, -1); + addParameter(profile, "immui_ver_split", TR181_IUI_VERSION, NULL, -1); #endif addParameter(profile, "PartnerId", TR181_DEVICE_PARTNER_ID, NULL, -1); addParameter(profile, "Version", TR181_DEVICE_FW_VERSION, NULL, -1); diff --git a/source/xconf-client/xconfclient.h b/source/xconf-client/xconfclient.h index 663bb85..66cbf71 100644 --- a/source/xconf-client/xconfclient.h +++ b/source/xconf-client/xconfclient.h @@ -80,6 +80,7 @@ #define TR181_DEVICE_WAN_IPv6 "Device.DeviceInfo.X_COMCAST-COM_STB_IP" #define TR181_DEVICE_CM_MAC "Device.DeviceInfo.X_COMCAST-COM_STB_MAC" #define TR181_DEVICE_CM_IP "Device.DeviceInfo.X_COMCAST-COM_STB_IP" +#define TR181_IUI_VERSION "Device.DeviceInfo.X_RDKCENTRAL-COM.IUI.Version" #endif // ENABLE_RDKB_SUPPORT