From 8745ac3a5d20284c3ac2b71393913433091b4ba3 Mon Sep 17 00:00:00 2001 From: SrigayathryPugazhenthi <175205324+SrigayathryPugazhenthi@users.noreply.github.com> Date: Tue, 23 Sep 2025 16:07:18 +0100 Subject: [PATCH] RDKEMW-8536: Update proper PA format as per VTS requirements Reason for change: updated the PA parsing logic to read the format 0xABCD Test Procedure: build and verify Risks: Medium Priority: P1 Signed-off-by: Srigayathry Pugazhenthi srigayathry.pugazhenthi@sky.uk --- HdmiCecSource/HdmiCecSourceImplementation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HdmiCecSource/HdmiCecSourceImplementation.cpp b/HdmiCecSource/HdmiCecSourceImplementation.cpp index 2de9b176..aefac5d6 100644 --- a/HdmiCecSource/HdmiCecSourceImplementation.cpp +++ b/HdmiCecSource/HdmiCecSourceImplementation.cpp @@ -1141,10 +1141,10 @@ namespace WPEFramework { LOGINFO("Entered getPhysicalAddress "); - uint32_t physAddress = 0x0F0F0F0F; + uint32_t physAddress = 0xFFFF; try { LibCCEC::getInstance().getPhysicalAddress(&physAddress); - physical_addr = {(uint8_t)((physAddress >> 24) & 0xFF),(uint8_t)((physAddress >> 16) & 0xFF),(uint8_t) ((physAddress >> 8) & 0xFF),(uint8_t)((physAddress) & 0xFF)}; + physical_addr = {(uint8_t)((physAddress >> 12) & 0x0F),(uint8_t)((physAddress >> 8) & 0x0F),(uint8_t) ((physAddress >> 4) & 0x0F),(uint8_t)((physAddress) & 0x0F)}; LOGINFO("getPhysicalAddress: physicalAddress: %s ", physical_addr.toString().c_str()); } catch (const std::exception& e)