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

Function ProcessCommandTX

src/cec-client/cec-client.cpp:430–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430bool ProcessCommandTX(ICECAdapter *parser, const std::string &command, std::string &arguments)
431{
432 if (command == "tx" || command == "txn")
433 {
434 std::string strvalue;
435 cec_command bytes = parser->CommandFromString(arguments.c_str());
436
437 if (command == "txn")
438 bytes.transmit_timeout = 0;
439
440 parser->Transmit(bytes);
441
442 return true;
443 }
444
445 return false;
446}
447
448bool ProcessCommandON(ICECAdapter *parser, const std::string &command, std::string &arguments)
449{

Callers 1

ProcessConsoleCommandFunction · 0.85

Calls 2

CommandFromStringMethod · 0.80
TransmitMethod · 0.45

Tested by

no test coverage detected