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

Class AdapterDescriptor

include/cectypes.h:942–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

940
941#if defined(__cplusplus)
942typedef 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
977typedef struct cec_datapacket

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected