0
以下是USB描述符的代码(设备描述符作为示例)。我了解除BCD设备版本号以外的其他设置。我读了几个不同项目的USB代码。他们的设备版本号都是不同的。什么决定了设备版本号?有没有清单?如何分配USB的设备描述符“BCD设备版本号”
const unsigned char usb_dev_desc[] = {
18,
0x01, // device descriptor
0x00, 0x02, // USB 2.0
0x02, // Class CDC
0x00, // subclass
0x00, // protocol
0x08, // max packet size
0xd8, 0x04, // VID
0x0a, 0x00, // PID
0x00, 0x01, // device release number ????
0x01, // manuf string
0x02, // product string
0x00, // serial number string
0x01 // no. of configurations
};