public class UsbDeviceDescriptorImp extends UsbDescriptorImp implements UsbDeviceDescriptor
| Constructor and Description |
|---|
UsbDeviceDescriptorImp(byte bLength,
byte bDescriptorType,
short bcdUSB,
byte bDeviceClass,
byte bDeviceSubClass,
byte bDeviceProtocol,
byte bMaxPacketSize0,
short idVendor,
short idProduct,
short bcdDevice,
byte iManufacturer,
byte iProduct,
byte iSerialNumber,
byte bNumConfigurations)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
short |
bcdDevice()
Get this descriptor's bcdDevice.
|
short |
bcdUSB()
Get this descriptor's bcdUSB.
|
byte |
bDeviceClass()
Get this descriptor's bDeviceClass.
|
byte |
bDeviceProtocol()
Get this descriptor's bDeviceProtocol.
|
byte |
bDeviceSubClass()
Get this descriptor's bDeviceSubClass.
|
byte |
bMaxPacketSize0()
Get this descriptor's bMaxPacketSize.
|
byte |
bNumConfigurations()
Get this descriptor's bNumConfigurations.
|
short |
idProduct()
Get this descriptor's idProduct.
|
short |
idVendor()
Get this descriptor's idVendor.
|
byte |
iManufacturer()
Get this descriptor's iManufacturer.
|
byte |
iProduct()
Get this descriptor's iProduct.
|
byte |
iSerialNumber()
Get this descriptor's iSerialNumber.
|
String |
toString()
Get a String representing this.
|
bDescriptorType, bLength, equals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitbDescriptorType, bLengthpublic UsbDeviceDescriptorImp(byte bLength,
byte bDescriptorType,
short bcdUSB,
byte bDeviceClass,
byte bDeviceSubClass,
byte bDeviceProtocol,
byte bMaxPacketSize0,
short idVendor,
short idProduct,
short bcdDevice,
byte iManufacturer,
byte iProduct,
byte iSerialNumber,
byte bNumConfigurations)
bLength - This descriptor's bLength.bDescriptorType - This descriptor's bDescriptorType.bcdUSB - This descriptor's bcdUSB.bDeviceClass - This descriptor's bDeviceClass.bDeviceSubClass - This descriptor's bDeviceSubClass.bDeviceProtocol - This descriptor's bDeviceProtocol.bMaxPacketSize0 - This descriptor's bMaxPacketSize0.idVendor - This descriptor's idVendor.idProduct - This descriptor's idProduct.bcdDevice - This descriptor's bcdDevice.iManufacturer - This descriptor's iManufacturer.iProduct - This descriptor's iProduct.iSerialNumber - This descriptor's iSerialNumber.bNumConfigurations - This descriptor's bNumConfigurations.public short bcdUSB()
bcdUSB in interface UsbDeviceDescriptorThis is unsigned.public byte bDeviceClass()
bDeviceClass in interface UsbDeviceDescriptorThis is unsigned.public byte bDeviceSubClass()
bDeviceSubClass in interface UsbDeviceDescriptorThis is unsigned.public byte bDeviceProtocol()
bDeviceProtocol in interface UsbDeviceDescriptorThis is unsigned.public byte bMaxPacketSize0()
bMaxPacketSize0 in interface UsbDeviceDescriptorThis is unsigned.public short idVendor()
idVendor in interface UsbDeviceDescriptorThis is unsigned.public short idProduct()
idProduct in interface UsbDeviceDescriptorThis is unsigned.public short bcdDevice()
bcdDevice in interface UsbDeviceDescriptorThis is unsigned.public byte iManufacturer()
iManufacturer in interface UsbDeviceDescriptorThis is unsigned.public byte iProduct()
iProduct in interface UsbDeviceDescriptorThis is unsigned.public byte iSerialNumber()
iSerialNumber in interface UsbDeviceDescriptorThis is unsigned.public byte bNumConfigurations()
bNumConfigurations in interface UsbDeviceDescriptorThis is unsigned.public String toString()
toString in class UsbDescriptorImpCopyright © 2014 LSST. All Rights Reserved.