javax.usb
Interface UsbDeviceDescriptor

All Superinterfaces:
UsbDescriptor
All Known Implementing Classes:
UsbDeviceDescriptorImp

public interface UsbDeviceDescriptor
extends UsbDescriptor

Interface for a USB device descriptor.

See the USB 1.1 specification section 9.6.1.

Author:
Dan Streetman

Method Summary
 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.
 
Methods inherited from interface javax.usb.UsbDescriptor
bDescriptorType, bLength
 

Method Detail

bcdUSB

short bcdUSB()
Get this descriptor's bcdUSB.

Returns:
This descriptor's bcdUSB.
See Also:
This is unsigned.

bDeviceClass

byte bDeviceClass()
Get this descriptor's bDeviceClass.

Returns:
This descriptor's bDeviceClass.
See Also:
This is unsigned.

bDeviceSubClass

byte bDeviceSubClass()
Get this descriptor's bDeviceSubClass.

Returns:
This descriptor's bDeviceSubClass.
See Also:
This is unsigned.

bDeviceProtocol

byte bDeviceProtocol()
Get this descriptor's bDeviceProtocol.

Returns:
This descriptor's bDeviceProtocol.
See Also:
This is unsigned.

bMaxPacketSize0

byte bMaxPacketSize0()
Get this descriptor's bMaxPacketSize.

Returns:
This descriptor's bMaxPacketSize.
See Also:
This is unsigned.

idVendor

short idVendor()
Get this descriptor's idVendor.

Returns:
This descriptor's idVendor.
See Also:
This is unsigned.

idProduct

short idProduct()
Get this descriptor's idProduct.

Returns:
This descriptor's idProduct.
See Also:
This is unsigned.

bcdDevice

short bcdDevice()
Get this descriptor's bcdDevice.

Returns:
This descriptor's bcdDevice.
See Also:
This is unsigned.

iManufacturer

byte iManufacturer()
Get this descriptor's iManufacturer.

Returns:
This descriptor's iManufacturer.
See Also:
This is unsigned.

iProduct

byte iProduct()
Get this descriptor's iProduct.

Returns:
This descriptor's iProduct.
See Also:
This is unsigned.

iSerialNumber

byte iSerialNumber()
Get this descriptor's iSerialNumber.

Returns:
This descriptor's iSerialNumber.
See Also:
This is unsigned.

bNumConfigurations

byte bNumConfigurations()
Get this descriptor's bNumConfigurations.

Returns:
This descriptor's bNumConfigurations.
See Also:
This is unsigned.