![]() |
|
||||||
A structure representing the standard USB device descriptor. More...
#include <libusbk.h>
Data Fields | |
| UCHAR | bLength |
| Size of this descriptor (in bytes) | |
| UCHAR | bDescriptorType |
| Descriptor type. | |
| USHORT | bcdUSB |
| USB specification release number in binary-coded decimal. More... | |
| UCHAR | bDeviceClass |
| USB-IF class code for the device. | |
| UCHAR | bDeviceSubClass |
| USB-IF subclass code for the device. | |
| UCHAR | bDeviceProtocol |
| USB-IF protocol code for the device. | |
| UCHAR | bMaxPacketSize0 |
| Maximum packet size for control endpoint 0. | |
| USHORT | idVendor |
| USB-IF vendor ID. | |
| USHORT | idProduct |
| USB-IF product ID. | |
| USHORT | bcdDevice |
| Device release number in binary-coded decimal. | |
| UCHAR | iManufacturer |
| Index of string descriptor describing manufacturer. | |
| UCHAR | iProduct |
| Index of string descriptor describing product. | |
| UCHAR | iSerialNumber |
| Index of string descriptor containing device serial number. | |
| UCHAR | bNumConfigurations |
| Number of possible configurations. | |
A structure representing the standard USB device descriptor.
This descriptor is documented in section 9.6.1 of the USB 2.0 specification. All multiple-byte fields are represented in host-endian format.
| USHORT bcdUSB |
USB specification release number in binary-coded decimal.
A value of 0x0200 indicates USB 2.0, 0x0110 indicates USB 1.1, etc.
1.8.6