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

Method UnhandledCommand

src/libcec/implementations/CECCommandHandler.cpp:831–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829}
830
831void CCECCommandHandler::UnhandledCommand(const cec_command &command, const cec_abort_reason reason)
832{
833 if (m_processor->IsHandledByLibCEC(command.destination))
834 {
835 LIB_CEC->AddLog(CEC_LOG_DEBUG, "sending abort with opcode %02x and reason '%s' to %s", command.opcode, ToString(reason), ToString(command.initiator));
836 m_processor->TransmitAbort(command.destination, command.initiator, command.opcode, reason);
837
838 if (reason == CEC_ABORT_REASON_INVALID_OPERAND)
839 RequestEmailFromCustomer(command);
840 }
841}
842
843size_t CCECCommandHandler::GetMyDevices(std::vector<CCECBusDevice *> &devices) const
844{

Callers

nothing calls this directly

Calls 4

ToStringFunction · 0.85
TransmitAbortMethod · 0.80
IsHandledByLibCECMethod · 0.45
AddLogMethod · 0.45

Tested by

no test coverage detected