Skip to content

Commit 8745ac3

Browse files
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 [email protected]
1 parent 45974f6 commit 8745ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HdmiCecSource/HdmiCecSourceImplementation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,10 +1141,10 @@ namespace WPEFramework
11411141
{
11421142
LOGINFO("Entered getPhysicalAddress ");
11431143

1144-
uint32_t physAddress = 0x0F0F0F0F;
1144+
uint32_t physAddress = 0xFFFF;
11451145
try {
11461146
LibCCEC::getInstance().getPhysicalAddress(&physAddress);
1147-
physical_addr = {(uint8_t)((physAddress >> 24) & 0xFF),(uint8_t)((physAddress >> 16) & 0xFF),(uint8_t) ((physAddress >> 8) & 0xFF),(uint8_t)((physAddress) & 0xFF)};
1147+
physical_addr = {(uint8_t)((physAddress >> 12) & 0x0F),(uint8_t)((physAddress >> 8) & 0x0F),(uint8_t) ((physAddress >> 4) & 0x0F),(uint8_t)((physAddress) & 0x0F)};
11481148
LOGINFO("getPhysicalAddress: physicalAddress: %s ", physical_addr.toString().c_str());
11491149
}
11501150
catch (const std::exception& e)

0 commit comments

Comments
 (0)