Top Description Fields
org.osgi.service.usbinfo

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

Modifier and TypeField and Description
public static final String
DEVICE_CATEGORY

Constant for the value of the service property DEVICE_CATEGORY used for all USB devices.

public static final int
MATCH_CLASS

Device Access match value indicating a match with USB_BDEVICECLASS or a match with USB_BINTERFACECLASS.

public static final int
MATCH_MODEL

Device Access match value indicating a match with USB_IDVENDOR, and USB_IDPRODUCT.

public static final int
public static final 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.

public static final int
MATCH_VERSION

Device Access match value indicating a match with USB_IDVENDOR, USB_IDPRODUCT, and USB_BCDDEVICE.

public static final String
USB_ADDRESS

Service property to identify USB address.

public static final String
USB_BALTERNATESETTING

Service property for USB Interface Descriptor field "bAlternateSetting".

public static final String
USB_BCDDEVICE

Service property for USB Device Descriptor field "bcdDevice".

public static final String
USB_BCDUSB

Service property for USB Device Descriptor field "bcdUSB".

public static final String
USB_BDEVICECLASS

Service property for USB Device Descriptor field "bDeviceClass".

public static final String
USB_BDEVICEPROTOCOL

Service property for USB Device Descriptor field "bDeviceProtocol".

public static final String
USB_BDEVICESUBCLASS

Service property for USB Device Descriptor field "bDeviceSubClass".

public static final String
USB_BINTERFACECLASS

Service property for USB Interface Descriptor field "bInterfaceClass".

public static final String
USB_BINTERFACENUMBER

Service property for USB Interface Descriptor field "bInterfaceNumber".

public static final String
USB_BINTERFACEPROTOCOL

Service property for USB Interface Descriptor field "bInterfaceProtocol".

public static final String
USB_BINTERFACESUBCLASS

Service property for USB Interface Descriptor field "bInterfaceSubClass".

public static final String
USB_BMAXPACKETSIZE0

Service property for USB Device Descriptor field "bMaxPacketSize0".

public static final String
USB_BNUMCONFIGURATIONS

Service property for USB Device Descriptor field "bNumConfigurations".

public static final String
USB_BNUMENDPOINTS

Service property for USB Interface Descriptor field "bNumEndpoints".

public static final String
USB_BUS

Service property to identify USB bus.

public static final String
USB_IDPRODUCT

Service property for USB Device Descriptor field "idProduct".

public static final String
USB_IDVENDOR

Service property for USB Device Descriptor field "idVendor".

public static final String
USB_INTERFACE

Service property for name referenced by USB Interface Descriptor field "iInterface".

public static final String
USB_MANUFACTURER

Service property for name referenced by USB Device Descriptor field "iManufacturer".

public static final String
USB_PRODUCT

Service property for name referenced by USB Device Descriptor field "iProduct".

public static final String
USB_SERIALNUMBER

Service property for name referenced by USB Device Descriptor field "iSerialNumber".

Field Detail

DEVICE_CATEGORYback to summary
public static final String DEVICE_CATEGORY

Constant for the value of the service property DEVICE_CATEGORY used for all USB devices.

A USB information base driver bundle must set this property key.

See Also
org.osgi.service.device.Constants#DEVICE_CATEGORY
MATCH_CLASSback to summary
public static final int MATCH_CLASS

Device Access match value indicating a match with USB_BDEVICECLASS or a match with USB_BINTERFACECLASS.

MATCH_MODELback to summary
public static final int MATCH_MODEL

Device Access match value indicating a match with USB_IDVENDOR, and USB_IDPRODUCT.

MATCH_PROTOCOLback to summary
public static final 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.

MATCH_SUBCLASSback to summary
public static final 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.

MATCH_VERSIONback to summary
public static final int MATCH_VERSION

Device Access match value indicating a match with USB_IDVENDOR, USB_IDPRODUCT, and USB_BCDDEVICE.

USB_ADDRESSback to summary
public static final 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.

USB_BALTERNATESETTINGback to summary
public static final String USB_BALTERNATESETTING

Service property for USB Interface Descriptor field "bAlternateSetting".

The value type is Integer. This service property is optional.

USB_BCDDEVICEback to summary
public static final 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".

USB_BCDUSBback to summary
public static final 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.

USB_BDEVICECLASSback to summary
public static final 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".

USB_BDEVICEPROTOCOLback to summary
public static final 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".

USB_BDEVICESUBCLASSback to summary
public static final 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".

USB_BINTERFACECLASSback to summary
public static final 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".

USB_BINTERFACENUMBERback to summary
public static final String USB_BINTERFACENUMBER

Service property for USB Interface Descriptor field "bInterfaceNumber".

The value type is Integer.

USB_BINTERFACEPROTOCOLback to summary
public static final 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".

USB_BINTERFACESUBCLASSback to summary
public static final 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".

USB_BMAXPACKETSIZE0back to summary
public static final String USB_BMAXPACKETSIZE0

Service property for USB Device Descriptor field "bMaxPacketSize0".

The value type is Integer. This service property is optional.

USB_BNUMCONFIGURATIONSback to summary
public static final String USB_BNUMCONFIGURATIONS

Service property for USB Device Descriptor field "bNumConfigurations".

The value type is Integer. This service property is optional.

USB_BNUMENDPOINTSback to summary
public static final String USB_BNUMENDPOINTS

Service property for USB Interface Descriptor field "bNumEndpoints".

The value type is Integer. This service property is optional.

USB_BUSback to summary
public static final 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.

USB_IDPRODUCTback to summary
public static final 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".

USB_IDVENDORback to summary
public static final 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".

USB_INTERFACEback to summary
public static final String USB_INTERFACE

Service property for name referenced by USB Interface Descriptor field "iInterface".

The value type is String. This service property is optional.

USB_MANUFACTURERback to summary
public static final 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.

USB_PRODUCTback to summary
public static final 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.

USB_SERIALNUMBERback to summary
public static final 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.