bool CCECProcessor::PollDevice(cec_logical_address iAddress) { // try to find the primary device CCECBusDevice *primary = GetPrimaryDevice(); // poll the destination, with the primary as source if (primary) return primary->TransmitPoll(iAddress, true); CCECBusDevice *device = m_busDevices->At(CECDEVICE_UNREGISTERED); if (device) return device->TransmitPoll(iAddress, true); return false; }
bool CCECClient::PollDevice(const cec_logical_address iAddress) { // try to find the primary device CCECBusDevice *primary = GetPrimaryDevice(); // poll the destination, with the primary as source if (primary) return primary->TransmitPoll(iAddress, false); return m_processor ? m_processor->PollDevice(iAddress) : false; }