| 2128 | } |
| 2129 | |
| 2130 | int CecCommandManaged(const CEC::cec_command &command) |
| 2131 | { |
| 2132 | try { |
| 2133 | CecCommand^ newCommand = gcnew CecCommand((CecLogicalAddress)command.initiator, (CecLogicalAddress)command.destination, command.ack == 1 ? true : false, command.eom == 1 ? true : false, (CecOpcode)command.opcode, command.transmit_timeout); |
| 2134 | for (uint8_t iPtr = 0; iPtr < command.parameters.size; iPtr++) |
| 2135 | newCommand->Parameters->PushBack(command.parameters[iPtr]); |
| 2136 | return ReceiveCommand(newCommand); |
| 2137 | } |
| 2138 | catch (...) {} |
| 2139 | return 0; |
| 2140 | } |
| 2141 | |
| 2142 | int CecConfigManaged(const CEC::libcec_configuration &config) |
| 2143 | { |
nothing calls this directly
no test coverage detected