下面是一款USB CAN设备的设备描述符示例:
linux查看设备描述符:lsusb -d 0c72:000c -v
Device Descriptor: ===》设备描述符:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x0c72 PEAK System
idProduct 0x000c PCAN-USB
bcdDevice 1c.ff
iManufacturer 0
iProduct 3
iSerial 0
bNumConfigurations 1
Configuration Descriptor: ===》配置描述符:
bLength 9
bDescriptorType 2
wTotalLength 46
bNumInterfaces 1
bConfig