| 710 | } |
| 711 | |
| 712 | bool CCECProcessor::GetDeviceInformation(const char *strPort, libcec_configuration *config, uint32_t iTimeoutMs /* = CEC_DEFAULT_CONNECT_TIMEOUT */) |
| 713 | { |
| 714 | if (!OpenConnection(strPort, CEC_SERIAL_DEFAULT_BAUDRATE, iTimeoutMs, false)) |
| 715 | return false; |
| 716 | |
| 717 | config->iFirmwareVersion = m_communication->GetFirmwareVersion(); |
| 718 | config->iPhysicalAddress = m_communication->GetPhysicalAddress(); |
| 719 | config->iFirmwareBuildDate = m_communication->GetFirmwareBuildDate(); |
| 720 | config->adapterType = m_communication->GetAdapterType(); |
| 721 | |
| 722 | Close(); |
| 723 | |
| 724 | return true; |
| 725 | } |
| 726 | |
| 727 | bool CCECProcessor::TransmitPendingActiveSourceCommands(void) |
| 728 | { |
nothing calls this directly
no test coverage detected