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

Method RequestCecVersion

src/libcec/devices/CECBusDevice.cpp:398–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398bool CCECBusDevice::RequestCecVersion(const cec_logical_address initiator, bool bWaitForResponse /* = true */)
399{
400 bool bReturn(false);
401
402 if (!IsHandledByLibCEC() &&
403 !IsUnsupportedFeature(CEC_OPCODE_GET_CEC_VERSION))
404 {
405 MarkBusy();
406 LIB_CEC->AddLog(CEC_LOG_DEBUG, "<< requesting CEC version of '%s' (%X)", GetLogicalAddressName(), m_iLogicalAddress);
407 bReturn = m_handler->TransmitRequestCecVersion(initiator, m_iLogicalAddress, bWaitForResponse);
408 MarkReady();
409 }
410 return bReturn;
411}
412
413bool CCECBusDevice::TransmitCECVersion(const cec_logical_address destination, bool bIsReply)
414{

Callers

nothing calls this directly

Calls 2

AddLogMethod · 0.45

Tested by

no test coverage detected