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

Method TransmitCECVersion

src/libcec/implementations/CECCommandHandler.cpp:1042–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1040}
1041
1042bool CCECCommandHandler::TransmitCECVersion(const cec_logical_address iInitiator, const cec_logical_address iDestination, cec_version cecVersion, bool bIsReply)
1043{
1044 cec_command command;
1045 cec_command::Format(command, iInitiator, iDestination, CEC_OPCODE_CEC_VERSION);
1046 command.parameters.PushBack((uint8_t)cecVersion);
1047
1048 return Transmit(command, false, bIsReply);
1049}
1050
1051bool CCECCommandHandler::TransmitInactiveSource(const cec_logical_address iInitiator, uint16_t iPhysicalAddress)
1052{

Callers 1

HandleGetCecVersionMethod · 0.45

Calls 1

PushBackMethod · 0.45

Tested by

no test coverage detected