X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcectypes.h;h=002ff970de8cfe14ceb8852712061ecbb36e90d7;hb=e7fd53c8e125db215629cdc557c45e2e875d02cc;hp=7b39f841b57a274b707521e1bc9f122e2d91d182;hpb=ab2ab9ee1ac85713acdd5c29f1c35a5992fae214;p=deb_libcec.git diff --git a/include/cectypes.h b/include/cectypes.h index 7b39f84..002ff97 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -883,6 +883,18 @@ typedef struct cec_adapter char comm[1024]; /**< the name of the com port */ } cec_adapter; +typedef struct cec_adapter_descriptor +{ + char strComPath[1024]; /**< the path to the com port */ + char strComName[1024]; /**< the name of the com port */ + uint16_t iVendorId; + uint16_t iProductId; + uint16_t iFirmwareVersion; + uint16_t iPhysicalAddress; + uint32_t iFirmwareBuildDate; + cec_adapter_type adapterType; +} cec_adapter_descriptor; + typedef struct cec_datapacket { uint8_t data[100]; /**< the actual data */