MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / GetDevicePhysicalAddress

Method GetDevicePhysicalAddress

src/libcec/CECClient.cpp:704–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704uint16_t CCECClient::GetDevicePhysicalAddress(const cec_logical_address iAddress)
705{
706 CCECBusDevice *device = m_processor->GetDevice(iAddress);
707 if (device)
708 return device->GetPhysicalAddress(GetPrimaryLogicalAddress());
709 return CEC_INVALID_PHYSICAL_ADDRESS;
710}
711
712cec_power_status CCECClient::GetDevicePowerStatus(const cec_logical_address iAddress)
713{

Callers

nothing calls this directly

Calls 2

GetDeviceMethod · 0.45
GetPhysicalAddressMethod · 0.45

Tested by

no test coverage detected