public interface USBInfoDevice
The values of the USB property names are defined by the USB Implementers Forum, Inc.
Modifier and Type | Field and Description |
---|---|
static String |
DEVICE_CATEGORY
Constant for the value of the service property
DEVICE_CATEGORY
used for all USB devices. |
static int |
MATCH_CLASS
Device Access match value indicating a match with
USB_BDEVICECLASS or a match with USB_BINTERFACECLASS . |
static int |
MATCH_MODEL
Device Access match value indicating a match with
USB_IDVENDOR ,
and USB_IDPRODUCT . |
static int |
MATCH_PROTOCOL
Device Access match value indicating a match with
USB_BDEVICECLASS , USB_BDEVICESUBCLASS , and
USB_BDEVICEPROTOCOL or a match with USB_BINTERFACECLASS
, USB_BINTERFACESUBCLASS , and USB_BINTERFACEPROTOCOL . |
static int |
MATCH_SUBCLASS
Device Access match value indicating a match with
USB_BDEVICECLASS , and USB_BDEVICESUBCLASS or a match
with USB_BINTERFACECLASS , and USB_BINTERFACESUBCLASS . |
static int |
MATCH_VERSION
|
static String |
USB_ADDRESS
Service property to identify USB address.
|
static String |
USB_BALTERNATESETTING
Service property for USB Interface Descriptor field "bAlternateSetting".
|
static String |
USB_BCDDEVICE
Service property for USB Device Descriptor field "bcdDevice".
|
static String |
USB_BCDUSB
Service property for USB Device Descriptor field "bcdUSB".
|
static String |
USB_BDEVICECLASS
Service property for USB Device Descriptor field "bDeviceClass".
|
static String |
USB_BDEVICEPROTOCOL
Service property for USB Device Descriptor field "bDeviceProtocol".
|
static String |
USB_BDEVICESUBCLASS
Service property for USB Device Descriptor field "bDeviceSubClass".
|
static String |
USB_BINTERFACECLASS
Service property for USB Interface Descriptor field "bInterfaceClass".
|
static String |
USB_BINTERFACENUMBER
Service property for USB Interface Descriptor field "bInterfaceNumber".
|
static String |
USB_BINTERFACEPROTOCOL
Service property for USB Interface Descriptor field "bInterfaceProtocol".
|
static String |
USB_BINTERFACESUBCLASS
Service property for USB Interface Descriptor field "bInterfaceSubClass".
|
static String |
USB_BMAXPACKETSIZE0
Service property for USB Device Descriptor field "bMaxPacketSize0".
|
static String |
USB_BNUMCONFIGURATIONS
Service property for USB Device Descriptor field "bNumConfigurations".
|
static String |
USB_BNUMENDPOINTS
Service property for USB Interface Descriptor field "bNumEndpoints".
|
static String |
USB_BUS
Service property to identify USB bus.
|
static String |
USB_IDPRODUCT
Service property for USB Device Descriptor field "idProduct".
|
static String |
USB_IDVENDOR
Service property for USB Device Descriptor field "idVendor".
|
static String |
USB_INTERFACE
Service property for name referenced by USB Interface Descriptor field
"iInterface".
|
static String |
USB_MANUFACTURER
Service property for name referenced by USB Device Descriptor field
"iManufacturer".
|
static String |
USB_PRODUCT
Service property for name referenced by USB Device Descriptor field
"iProduct".
|
static String |
USB_SERIALNUMBER
Service property for name referenced by USB Device Descriptor field
"iSerialNumber".
|
static final String DEVICE_CATEGORY
DEVICE_CATEGORY
used for all USB devices.
A USB information base driver bundle must set this property key.
Constants.DEVICE_CATEGORY
,
Constant Field Valuesstatic final String USB_BCDUSB
The value type is String; the value is in 4-digit BCD format. For example, "0210". This service property is optional.
static final String USB_BDEVICECLASS
The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
static final String USB_BDEVICESUBCLASS
The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
static final String USB_BDEVICEPROTOCOL
The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
static final String USB_BMAXPACKETSIZE0
The value type is Integer. This service property is optional.
static final String USB_IDVENDOR
The value type is String; the value is in 4-digit hexadecimal. For example, "0403".
static final String USB_IDPRODUCT
The value type is String; the value is in 4-digit hexadecimal. For example, "8372".
static final String USB_BCDDEVICE
The value type is String; the value is in 4-digit BCD format. For example, "0200".
static final String USB_MANUFACTURER
The value type is String. For example, "Buffalo Inc.". This service property is optional.
static final String USB_PRODUCT
The value type is String. For example, "USB2.0 PC Camera". This service property is optional.
static final String USB_SERIALNUMBER
The value type is String. For example, "57B0002600000001". This service property is optional.
static final String USB_BNUMCONFIGURATIONS
The value type is Integer. This service property is optional.
static final String USB_BINTERFACENUMBER
The value type is Integer.
static final String USB_BALTERNATESETTING
The value type is Integer. This service property is optional.
static final String USB_BNUMENDPOINTS
The value type is Integer. This service property is optional.
static final String USB_BINTERFACECLASS
The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
static final String USB_BINTERFACESUBCLASS
The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
static final String USB_BINTERFACEPROTOCOL
The value type is String; the value is in 2-digit hexadecimal. For example, "ff".
static final String USB_INTERFACE
The value type is String. This service property is optional.
static final String 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.
static final String 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.
static final int MATCH_VERSION
static final int MATCH_MODEL
USB_IDVENDOR
,
and USB_IDPRODUCT
.static final int MATCH_PROTOCOL
USB_BDEVICECLASS
, USB_BDEVICESUBCLASS
, and
USB_BDEVICEPROTOCOL
or a match with USB_BINTERFACECLASS
, USB_BINTERFACESUBCLASS
, and USB_BINTERFACEPROTOCOL
.static final int MATCH_SUBCLASS
USB_BDEVICECLASS
, and USB_BDEVICESUBCLASS
or a match
with USB_BINTERFACECLASS
, and USB_BINTERFACESUBCLASS
.static final int MATCH_CLASS
USB_BDEVICECLASS
or a match with USB_BINTERFACECLASS
.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0