From eb5ac2bc230125c8402bcf99e065034a1242a683 Mon Sep 17 00:00:00 2001 From: biju-vi <151033276+biju-vi@users.noreply.github.com> Date: Tue, 22 Sep 2026 00:37:47 +0000 Subject: [PATCH 1/2] RDKB-66339: remote device.1 capabilities in XB Reason for change: Remove reading FR value while updating local device variables Test Procedure: Check IDM DML values Risks: Low Signed-off-by: biju.vijayanindiradevi@sky.uk --- source/InterDeviceManager/Idm_rbus.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/source/InterDeviceManager/Idm_rbus.c b/source/InterDeviceManager/Idm_rbus.c index 73a89ed..fdf16ea 100644 --- a/source/InterDeviceManager/Idm_rbus.c +++ b/source/InterDeviceManager/Idm_rbus.c @@ -585,14 +585,6 @@ rbusError_t X_RDK_Remote_MethodHandler(rbusHandle_t handle, char const* methodNa rc = strcpy_s(indexNode->stRemoteDeviceInfo.Capabilities, sizeof(indexNode->stRemoteDeviceInfo.Capabilities), pidmDmlInfo->stConnectionInfo.Capabilities); ERR_CHK(rc); } - else - { - // PSM data structre is also empty. Read it from factory and update local device cap - IdmMgr_GetFactoryDefaultValue(PSM_DEVICE_CAPABILITIES, pidmDmlInfo->stConnectionInfo.Capabilities); - CcspTraceInfo(("%s %d - Updating local device capabilities from factory PSM \n", __FUNCTION__, __LINE__)); - rc = strcpy_s(indexNode->stRemoteDeviceInfo.Capabilities, sizeof(indexNode->stRemoteDeviceInfo.Capabilities), pidmDmlInfo->stConnectionInfo.Capabilities); - ERR_CHK(rc); - } } /* Append local device capabilities from rbus value */ char* token = strtok(str, ","); @@ -652,11 +644,8 @@ rbusError_t X_RDK_Remote_MethodHandler(rbusHandle_t handle, char const* methodNa } else { - // PSM data structre is also empty. Read it from factory and update local device cap - IdmMgr_GetFactoryDefaultValue(PSM_DEVICE_CAPABILITIES, pidmDmlInfo->stConnectionInfo.Capabilities); - CcspTraceInfo(("%s %d - Updating local device capabilities from factory PSM \n", __FUNCTION__, __LINE__)); - rc = strcpy_s(indexNode->stRemoteDeviceInfo.Capabilities, sizeof(indexNode->stRemoteDeviceInfo.Capabilities), pidmDmlInfo->stConnectionInfo.Capabilities); - ERR_CHK(rc); + // we don't have anything to remove + return RBUS_ERROR_SUCCESS; } } From 09b1f5fec3b33b9bab93671a797bfee1e754c0ec Mon Sep 17 00:00:00 2001 From: biju-vi <151033276+biju-vi@users.noreply.github.com> Date: Tue, 22 Sep 2026 00:37:47 +0000 Subject: [PATCH 2/2] RDKB-66339: remote device.1 capabilities in XB Reason for change: Remove reading FR value while updating local device variables Test Procedure: Check IDM DML values Risks: Low Signed-off-by: biju.vijayanindiradevi@sky.uk --- source/InterDeviceManager/Idm_rbus.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/InterDeviceManager/Idm_rbus.c b/source/InterDeviceManager/Idm_rbus.c index fdf16ea..e99b67c 100644 --- a/source/InterDeviceManager/Idm_rbus.c +++ b/source/InterDeviceManager/Idm_rbus.c @@ -642,11 +642,6 @@ rbusError_t X_RDK_Remote_MethodHandler(rbusHandle_t handle, char const* methodNa rc = strcpy_s(indexNode->stRemoteDeviceInfo.Capabilities, sizeof(indexNode->stRemoteDeviceInfo.Capabilities), pidmDmlInfo->stConnectionInfo.Capabilities); ERR_CHK(rc); } - else - { - // we don't have anything to remove - return RBUS_ERROR_SUCCESS; - } } /* Remove capability as requested by rbus value */