Interface USBInfoDevice
-
public interface USBInfoDevice
Represents a USB device. For each USB device, an object is registered with the framework under the USBInfoDevice interface. A USB information base driver must implement this interface.The values of the USB property names are defined by the USB Implementers Forum, Inc.
- Author:
- $Id: 3dbbee085fb6d20c6b7b2f922dfa7110db16ecf4 $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEVICE_CATEGORY
Constant for the value of the service propertyDEVICE_CATEGORY
used for all USB devices.static int
MATCH_CLASS
Device Access match value indicating a match withUSB_BDEVICECLASS
or a match withUSB_BINTERFACECLASS
.static int
MATCH_MODEL
Device Access match value indicating a match withUSB_IDVENDOR
, andUSB_IDPRODUCT
.static int
MATCH_PROTOCOL
Device Access match value indicating a match withUSB_BDEVICECLASS
,USB_BDEVICESUBCLASS
, andUSB_BDEVICEPROTOCOL
or a match withUSB_BINTERFACECLASS
,USB_BINTERFACESUBCLASS
, andUSB_BINTERFACEPROTOCOL
.static int
MATCH_SUBCLASS
Device Access match value indicating a match withUSB_BDEVICECLASS
, andUSB_BDEVICESUBCLASS
or a match withUSB_BINTERFACECLASS
, andUSB_BINTERFACESUBCLASS
.static int
MATCH_VERSION
static java.lang.String
USB_ADDRESS
Service property to identify USB address.static java.lang.String
USB_BALTERNATESETTING
Service property for USB Interface Descriptor field "bAlternateSetting".static java.lang.String
USB_BCDDEVICE
Service property for USB Device Descriptor field "bcdDevice".static java.lang.String
USB_BCDUSB
Service property for USB Device Descriptor field "bcdUSB".static java.lang.String
USB_BDEVICECLASS
Service property for USB Device Descriptor field "bDeviceClass".static java.lang.String
USB_BDEVICEPROTOCOL
Service property for USB Device Descriptor field "bDeviceProtocol".static java.lang.String
USB_BDEVICESUBCLASS
Service property for USB Device Descriptor field "bDeviceSubClass".static java.lang.String
USB_BINTERFACECLASS
Service property for USB Interface Descriptor field "bInterfaceClass".static java.lang.String
USB_BINTERFACENUMBER
Service property for USB Interface Descriptor field "bInterfaceNumber".static java.lang.String
USB_BINTERFACEPROTOCOL
Service property for USB Interface Descriptor field "bInterfaceProtocol".static java.lang.String
USB_BINTERFACESUBCLASS
Service property for USB Interface Descriptor field "bInterfaceSubClass".static java.lang.String
USB_BMAXPACKETSIZE0
Service property for USB Device Descriptor field "bMaxPacketSize0".static java.lang.String
USB_BNUMCONFIGURATIONS
Service property for USB Device Descriptor field "bNumConfigurations".static java.lang.String
USB_BNUMENDPOINTS
Service property for USB Interface Descriptor field "bNumEndpoints".static java.lang.String
USB_BUS
Service property to identify USB bus.static java.lang.String
USB_IDPRODUCT
Service property for USB Device Descriptor field "idProduct".static java.lang.String
USB_IDVENDOR
Service property for USB Device Descriptor field "idVendor".static java.lang.String
USB_INTERFACE
Service property for name referenced by USB Interface Descriptor field "iInterface".static java.lang.String
USB_MANUFACTURER
Service property for name referenced by USB Device Descriptor field "iManufacturer".static java.lang.String
USB_PRODUCT
Service property for name referenced by USB Device Descriptor field "iProduct".static java.lang.String
USB_SERIALNUMBER
Service property for name referenced by USB Device Descriptor field "iSerialNumber".
-
-
-
Field Detail
-
DEVICE_CATEGORY
static final java.lang.String DEVICE_CATEGORY
Constant for the value of the service propertyDEVICE_CATEGORY
used for all USB devices.A USB information base driver bundle must set this property key.
- See Also:
Constants.DEVICE_CATEGORY
, Constant Field Values
-
USB_BCDUSB
static final java.lang.String USB_BCDUSB
Service property for USB Device Descriptor field "bcdUSB".The value type is String; the value is in 4-digit BCD format. For example, "0210". This service property is optional.
- See Also:
- Constant Field Values
-
USB_BDEVICECLASS
static final java.lang.String USB_BDEVICECLASS
Service property for USB Device Descriptor field "bDeviceClass".The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
- See Also:
- Constant Field Values
-
USB_BDEVICESUBCLASS
static final java.lang.String USB_BDEVICESUBCLASS
Service property for USB Device Descriptor field "bDeviceSubClass".The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
- See Also:
- Constant Field Values
-
USB_BDEVICEPROTOCOL
static final java.lang.String USB_BDEVICEPROTOCOL
Service property for USB Device Descriptor field "bDeviceProtocol".The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
- See Also:
- Constant Field Values
-
USB_BMAXPACKETSIZE0
static final java.lang.String USB_BMAXPACKETSIZE0
Service property for USB Device Descriptor field "bMaxPacketSize0".The value type is Integer. This service property is optional.
- See Also:
- Constant Field Values
-
USB_IDVENDOR
static final java.lang.String USB_IDVENDOR
Service property for USB Device Descriptor field "idVendor".The value type is String; the value is in 4-digit hexadecimal. For example, "0403".
- See Also:
- Constant Field Values
-
USB_IDPRODUCT
static final java.lang.String USB_IDPRODUCT
Service property for USB Device Descriptor field "idProduct".The value type is String; the value is in 4-digit hexadecimal. For example, "8372".
- See Also:
- Constant Field Values
-
USB_BCDDEVICE
static final java.lang.String USB_BCDDEVICE
Service property for USB Device Descriptor field "bcdDevice".The value type is String; the value is in 4-digit BCD format. For example, "0200".
- See Also:
- Constant Field Values
-
USB_MANUFACTURER
static final java.lang.String USB_MANUFACTURER
Service property for name referenced by USB Device Descriptor field "iManufacturer".The value type is String. For example, "Buffalo Inc.". This service property is optional.
- See Also:
- Constant Field Values
-
USB_PRODUCT
static final java.lang.String USB_PRODUCT
Service property for name referenced by USB Device Descriptor field "iProduct".The value type is String. For example, "USB2.0 PC Camera". This service property is optional.
- See Also:
- Constant Field Values
-
USB_SERIALNUMBER
static final java.lang.String USB_SERIALNUMBER
Service property for name referenced by USB Device Descriptor field "iSerialNumber".The value type is String. For example, "57B0002600000001". This service property is optional.
- See Also:
- Constant Field Values
-
USB_BNUMCONFIGURATIONS
static final java.lang.String USB_BNUMCONFIGURATIONS
Service property for USB Device Descriptor field "bNumConfigurations".The value type is Integer. This service property is optional.
- See Also:
- Constant Field Values
-
USB_BINTERFACENUMBER
static final java.lang.String USB_BINTERFACENUMBER
Service property for USB Interface Descriptor field "bInterfaceNumber".The value type is Integer.
- See Also:
- Constant Field Values
-
USB_BALTERNATESETTING
static final java.lang.String USB_BALTERNATESETTING
Service property for USB Interface Descriptor field "bAlternateSetting".The value type is Integer. This service property is optional.
- See Also:
- Constant Field Values
-
USB_BNUMENDPOINTS
static final java.lang.String USB_BNUMENDPOINTS
Service property for USB Interface Descriptor field "bNumEndpoints".The value type is Integer. This service property is optional.
- See Also:
- Constant Field Values
-
USB_BINTERFACECLASS
static final java.lang.String USB_BINTERFACECLASS
Service property for USB Interface Descriptor field "bInterfaceClass".The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
- See Also:
- Constant Field Values
-
USB_BINTERFACESUBCLASS
static final java.lang.String USB_BINTERFACESUBCLASS
Service property for USB Interface Descriptor field "bInterfaceSubClass".The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
- See Also:
- Constant Field Values
-
USB_BINTERFACEPROTOCOL
static final java.lang.String USB_BINTERFACEPROTOCOL
Service property for USB Interface Descriptor field "bInterfaceProtocol".The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
- See Also:
- Constant Field Values
-
USB_INTERFACE
static final java.lang.String USB_INTERFACE
Service property for name referenced by USB Interface Descriptor field "iInterface".The value type is String. This service property is optional.
- See Also:
- Constant Field Values
-
USB_BUS
static final java.lang.String USB_BUS
Service property to identify USB bus.Used to identify USB devices with same VID / PID. The value is the ID of the USB bus assigned when connecting the USB device. The USB bus ID is an integer and does not change while the USB device remains connected. The value type is Integer.
- See Also:
- Constant Field Values
-
USB_ADDRESS
static final java.lang.String USB_ADDRESS
Service property to identify USB address.Used to identify USB devices with same VID / PID. The value is the ID of the USB address assigned when connecting the USB device. USB address is an integer in the range 1-127 and does not change while the USB device remains connected. The value type is Integer.
- See Also:
- Constant Field Values
-
MATCH_VERSION
static final int MATCH_VERSION
- See Also:
- Constant Field Values
-
MATCH_MODEL
static final int MATCH_MODEL
Device Access match value indicating a match withUSB_IDVENDOR
, andUSB_IDPRODUCT
.- See Also:
- Constant Field Values
-
MATCH_PROTOCOL
static final int MATCH_PROTOCOL
Device Access match value indicating a match withUSB_BDEVICECLASS
,USB_BDEVICESUBCLASS
, andUSB_BDEVICEPROTOCOL
or a match withUSB_BINTERFACECLASS
,USB_BINTERFACESUBCLASS
, andUSB_BINTERFACEPROTOCOL
.- See Also:
- Constant Field Values
-
MATCH_SUBCLASS
static final int MATCH_SUBCLASS
Device Access match value indicating a match withUSB_BDEVICECLASS
, andUSB_BDEVICESUBCLASS
or a match withUSB_BINTERFACECLASS
, andUSB_BINTERFACESUBCLASS
.- See Also:
- Constant Field Values
-
MATCH_CLASS
static final int MATCH_CLASS
Device Access match value indicating a match withUSB_BDEVICECLASS
or a match withUSB_BINTERFACECLASS
.- See Also:
- Constant Field Values
-
-