| 940 | |
| 941 | #if defined(__cplusplus) |
| 942 | typedef struct AdapterDescriptor |
| 943 | { |
| 944 | AdapterDescriptor(void) : |
| 945 | iVendorId(0), |
| 946 | iProductId(0), |
| 947 | iFirmwareVersion(0), |
| 948 | iPhysicalAddress(0), |
| 949 | iFirmwareBuildDate(0), |
| 950 | adapterType(ADAPTERTYPE_UNKNOWN) |
| 951 | { |
| 952 | } |
| 953 | |
| 954 | AdapterDescriptor(const cec_adapter_descriptor& other) |
| 955 | { |
| 956 | strComPath = other.strComPath; |
| 957 | strComName = other.strComName; |
| 958 | iVendorId = other.iVendorId; |
| 959 | iProductId = other.iProductId; |
| 960 | iFirmwareVersion = other.iFirmwareVersion; |
| 961 | iPhysicalAddress = other.iPhysicalAddress; |
| 962 | iFirmwareBuildDate = other.iFirmwareBuildDate; |
| 963 | adapterType = other.adapterType; |
| 964 | } |
| 965 | |
| 966 | std::string strComPath; /**< the path to the com port */ |
| 967 | std::string strComName; /**< the name of the com port */ |
| 968 | uint16_t iVendorId; |
| 969 | uint16_t iProductId; |
| 970 | uint16_t iFirmwareVersion; |
| 971 | uint16_t iPhysicalAddress; |
| 972 | uint32_t iFirmwareBuildDate; |
| 973 | cec_adapter_type adapterType; |
| 974 | } AdapterDescriptor; |
| 975 | #endif |
| 976 | |
| 977 | typedef struct cec_datapacket |
nothing calls this directly
no outgoing calls
no test coverage detected