From 13d093e01edaed39c9925e1e1cbb7a269d45b2ee Mon Sep 17 00:00:00 2001 From: Vismal S Kumar Date: Tue, 13 Jan 2026 19:32:30 +0530 Subject: [PATCH 1/4] Disable the AccountID Special validation for RDKB Disable the AccountID Special validation for RDKB --- rfcMgr/rfc_xconf_handler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rfcMgr/rfc_xconf_handler.cpp b/rfcMgr/rfc_xconf_handler.cpp index d70fb8c..a2c6863 100644 --- a/rfcMgr/rfc_xconf_handler.cpp +++ b/rfcMgr/rfc_xconf_handler.cpp @@ -2413,11 +2413,13 @@ void RuntimeFeatureControlProcessor::processXconfResponseConfigDataPart(JSON *fe } else { +#if !defined(RDKB_SUPPORT) if (newValue.empty()) { RDK_LOG(RDK_LOG_INFO, LOG_RFCMGR, "[%s][%d] EMPTY value for %s is rejected\n", __FUNCTION__, __LINE__, newKey.c_str()); continue; } +#endif if(newKey == BOOTSTRAP_XCONF_URL_KEY_STR) { @@ -2555,6 +2557,7 @@ bool RuntimeFeatureControlProcessor::isConfigValueChange(std ::string name, std } else { +#if !defined(RDKB_SUPPORT) std::string account_key_str = RFC_ACCOUNT_ID_KEY_STR; std::string unknown_str = "Unknown"; bool isAccountKey = (key.find(account_key_str) != std::string::npos) ? true : false; @@ -2576,6 +2579,7 @@ bool RuntimeFeatureControlProcessor::isConfigValueChange(std ::string name, std RDK_LOG(RDK_LOG_INFO, LOG_RFCMGR, "[%s][%d] AccountId is Valid %s, Updating the device Database\n", __FUNCTION__, __LINE__,value.c_str()); } } +#endif return true; } From 7f37e751be9b46dab611f5216e0e1904d414883d Mon Sep 17 00:00:00 2001 From: nhanasi Date: Thu, 5 Feb 2026 16:07:07 -0500 Subject: [PATCH 2/4] Update rfc_manager.cpp --- rfcMgr/rfc_manager.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/rfcMgr/rfc_manager.cpp b/rfcMgr/rfc_manager.cpp index 0430f63..f8cc626 100644 --- a/rfcMgr/rfc_manager.cpp +++ b/rfcMgr/rfc_manager.cpp @@ -21,6 +21,7 @@ #include "rfc_common.h" #include "rfc_mgr_iarm.h" #include "rfc_xconf_handler.h" +#include "rdk_logger.h" #include #include #include @@ -40,8 +41,19 @@ namespace rfc { #endif RFCManager ::RFCManager() { /* Initialize RDK Logger */ - rdk_logger_init(0 == access(OVERIDE_DEBUG_INI_FILE, R_OK) ? OVERIDE_DEBUG_INI_FILE : DEBUG_INI_FILE); - + static char RFCMGRLOG[] = "LOG.RDK.RFCMGR"; + rdk_logger_ext_config_t config = { + .pModuleName = RFCMGR, /* Module name */ + .loglevel = RDK_LOG_INFO, /* Default log level */ + .output = RDKLOG_OUTPUT_CONSOLE, /* Output to console (stdout/stderr) */ + .format = RDKLOG_FORMAT_WITH_TS, /* Timestamped format */ + .pFilePolicy = NULL /* Not using file output, so NULL */ + }; + + if (rdk_logger_ext_init(&config) != RDK_SUCCESS) { + printf("RFC : ERROR - Extended logger init failed\n"); + } + /* Initialize IARM Bus */ InitializeIARM(); } From f584523c9fcef48e8fe8be56931c8aa4370551ac Mon Sep 17 00:00:00 2001 From: nhanasi Date: Thu, 5 Feb 2026 16:11:16 -0500 Subject: [PATCH 3/4] Update rfc_manager.cpp --- rfcMgr/rfc_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rfcMgr/rfc_manager.cpp b/rfcMgr/rfc_manager.cpp index f8cc626..fd798aa 100644 --- a/rfcMgr/rfc_manager.cpp +++ b/rfcMgr/rfc_manager.cpp @@ -42,8 +42,8 @@ namespace rfc { RFCManager ::RFCManager() { /* Initialize RDK Logger */ static char RFCMGRLOG[] = "LOG.RDK.RFCMGR"; - rdk_logger_ext_config_t config = { - .pModuleName = RFCMGR, /* Module name */ + rdk_logger_ext_config_t config = { + .pModuleName = RFCMGRLOG, /* Module name */ .loglevel = RDK_LOG_INFO, /* Default log level */ .output = RDKLOG_OUTPUT_CONSOLE, /* Output to console (stdout/stderr) */ .format = RDKLOG_FORMAT_WITH_TS, /* Timestamped format */ From acb6cfe656b90e5a67d73fec09b0a20225f35ea2 Mon Sep 17 00:00:00 2001 From: nhanasi Date: Fri, 6 Feb 2026 12:29:27 -0500 Subject: [PATCH 4/4] Update rfc_manager.cpp --- rfcMgr/rfc_manager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rfcMgr/rfc_manager.cpp b/rfcMgr/rfc_manager.cpp index fd798aa..3b12487 100644 --- a/rfcMgr/rfc_manager.cpp +++ b/rfcMgr/rfc_manager.cpp @@ -21,7 +21,9 @@ #include "rfc_common.h" #include "rfc_mgr_iarm.h" #include "rfc_xconf_handler.h" +#if defined(RDK_LOGGER) #include "rdk_logger.h" +#endif #include #include #include @@ -40,6 +42,7 @@ namespace rfc { } #endif RFCManager ::RFCManager() { +#if defined(RDK_LOGGER) /* Initialize RDK Logger */ static char RFCMGRLOG[] = "LOG.RDK.RFCMGR"; rdk_logger_ext_config_t config = { @@ -53,7 +56,7 @@ namespace rfc { if (rdk_logger_ext_init(&config) != RDK_SUCCESS) { printf("RFC : ERROR - Extended logger init failed\n"); } - +#endif /* Initialize IARM Bus */ InitializeIARM(); }