如何分配USB';s设备描述符“;BCD设备发布号“;
下面是USB描述符的代码(以设备描述符为例)。我了解这些设置,但BCD设备版本号除外。我读了几个不同项目的USB代码。他们的设备版本号都不一样。什么决定了设备的发行号?有名单吗如何分配USB';s设备描述符“;BCD设备发布号“;,usb,usb-descriptor,Usb,Usb Descriptor,下面是USB描述符的代码(以设备描述符为例)。我了解这些设置,但BCD设备版本号除外。我读了几个不同项目的USB代码。他们的设备版本号都不一样。什么决定了设备的发行号?有名单吗 const unsigned char usb_dev_desc[] = { 18, 0x01, // device descriptor 0x00, 0x02, // USB 2.0 0x02, // Class CDC 0x00, // subclass 0x00, /
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
};
我认为该设备的生产商决定了该设备的编号