javax.usb
Interface UsbDeviceDescriptor

All Superinterfaces:
UsbDescriptor

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

public short bcdUSB()
Get this descriptor's bcdUSB.

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

bDeviceClass

public byte bDeviceClass()
Get this descriptor's bDeviceClass.

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

bDeviceSubClass

public byte bDeviceSubClass()
Get this descriptor's bDeviceSubClass.

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

bDeviceProtocol

public byte bDeviceProtocol()
Get this descriptor's bDeviceProtocol.

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

bMaxPacketSize0

public byte bMaxPacketSize0()
Get this descriptor's bMaxPacketSize.

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

idVendor

public short idVendor()
Get this descriptor's idVendor.

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

idProduct

public short idProduct()
Get this descriptor's idProduct.

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

bcdDevice

public short bcdDevice()
Get this descriptor's bcdDevice.

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

iManufacturer

public byte iManufacturer()
Get this descriptor's iManufacturer.

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

iProduct

public byte iProduct()
Get this descriptor's iProduct.

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

iSerialNumber

public byte iSerialNumber()
Get this descriptor's iSerialNumber.

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

bNumConfigurations

public byte bNumConfigurations()
Get this descriptor's bNumConfigurations.

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


Copyright © 2009 Eurotech Inc. All rights reserved.