DeviceDescriptor Class
NuGet: GHIElectronics.TinyCLR.Devices.UsbClient
Assembly: GHIElectronics.TinyCLR.Devices.UsbClient
Namespace: GHIElectronics.TinyCLR.Devices.UsbClient
The USB device descriptor.
public class DeviceDescriptor : Descriptor
Constructors
DeviceDescriptor(ushort Vendor, ushort Product, ushort bcdUsb, ushort bcdDevice)
public DeviceDescriptor(ushort Vendor, ushort Product, ushort bcdUsb, ushort bcdDevice) : base(0)
Creates a new device descriptor.
Fields
idVendor
public ushort idVendor
The vendor id.
idProduct
public ushort idProduct
The product id.
bcdDevice
public ushort bcdDevice
The device release number.
iManufacturer
public byte iManufacturer
The string index of the manufacturer.
iProduct
public byte iProduct
The string index of the product.
iSerialNumber
public byte iSerialNumber
The string index of the serial number.
bDeviceClass
public byte bDeviceClass
The device class code.
bDeviceSubClass
public byte bDeviceSubClass
The device subclass code.
bDeviceProtocol
public byte bDeviceProtocol
The device protocol code.
bMaxPacketSize0
public byte bMaxPacketSize0
The maximum packet size for endpoint zero.
bcdUSB
public ushort bcdUSB
The USB specification release number.