From 90461c3f81981c9fc5a729a2046eb9fb1fb7faeb Mon Sep 17 00:00:00 2001 From: jthomp007c Date: Mon, 11 Aug 2025 12:31:07 -0400 Subject: [PATCH] RDKEMW-6767: getNetStatus call time out due to SAT download retries Reason for change: During initial setup, the device is attempting to download the SAT token and timing out, which is holding up the ctrlm message queue processing, which allows BLE pairing to fail Test Procedure: boot and attempt to pair BLE remote, keeping an eye on ctrlm loggging. Look for "CTRLM : ERROR: call_plugin: Thunder call failed <11>, attempt 1 of 1" We expect BLE pairing to succeed rather than timeout. If the call_plugin log error occurs and BLE pairing succeed then the code change has been exercised and the issue is resolved. Risks: Low Priority: P1 Signed-off-by: Jason Thomson --- src/auth/ctrlm_thunder_plugin_authservice.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/auth/ctrlm_thunder_plugin_authservice.cpp b/src/auth/ctrlm_thunder_plugin_authservice.cpp index aaaa4e1..60c57d7 100644 --- a/src/auth/ctrlm_thunder_plugin_authservice.cpp +++ b/src/auth/ctrlm_thunder_plugin_authservice.cpp @@ -22,8 +22,6 @@ #include #include -#define SAT_TIMEOUT_RETRIES (2) - using namespace Thunder; using namespace AuthService; using namespace WPEFramework; @@ -148,7 +146,7 @@ bool ctrlm_thunder_plugin_authservice_t::get_experience(std::string &experience) bool ctrlm_thunder_plugin_authservice_t::get_sat(std::string &sat, time_t &expiration) { bool ret = false; JsonObject params, response; - if(this->call_plugin("getServiceAccessToken", (void *)¶ms, (void *)&response, SAT_TIMEOUT_RETRIES)) { + if(this->call_plugin("getServiceAccessToken", (void *)¶ms, (void *)&response)) { if(response["success"].Boolean()) { // If success doesn't exist, it defaults to false which is fine. if(response["status"].Number() == 0) { std::string temp = response["token"].String();