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.

"ThreadSafe"
  • Field Details

    • DEVICE_CATEGORY

      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:
    • USB_BCDUSB

      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.

      See Also:
    • USB_BDEVICECLASS

      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".

      See Also:
    • USB_BDEVICESUBCLASS

      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".

      See Also:
    • USB_BDEVICEPROTOCOL

      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".

      See Also:
    • USB_BMAXPACKETSIZE0

      static final String USB_BMAXPACKETSIZE0
      Service property for USB Device Descriptor field "bMaxPacketSize0".

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

      See Also:
    • USB_IDVENDOR

      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".

      See Also:
    • USB_IDPRODUCT

      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".

      See Also:
    • USB_BCDDEVICE

      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".

      See Also:
    • USB_MANUFACTURER

      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.

      See Also:
    • USB_PRODUCT

      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.

      See Also:
    • USB_SERIALNUMBER

      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.

      See Also:
    • USB_BNUMCONFIGURATIONS

      static final String USB_BNUMCONFIGURATIONS
      Service property for USB Device Descriptor field "bNumConfigurations".

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

      See Also:
    • USB_BINTERFACENUMBER

      static final String USB_BINTERFACENUMBER
      Service property for USB Interface Descriptor field "bInterfaceNumber".

      The value type is Integer.

      See Also:
    • USB_BALTERNATESETTING

      static final String USB_BALTERNATESETTING
      Service property for USB Interface Descriptor field "bAlternateSetting".

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

      See Also:
    • USB_BNUMENDPOINTS

      static final String USB_BNUMENDPOINTS
      Service property for USB Interface Descriptor field "bNumEndpoints".

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

      See Also:
    • USB_BINTERFACECLASS

      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".

      See Also:
    • USB_BINTERFACESUBCLASS

      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".

      See Also:
    • USB_BINTERFACEPROTOCOL

      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".

      See Also:
    • USB_INTERFACE

      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.

      See Also:
    • USB_BUS

      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.

      See Also:
    • USB_ADDRESS

      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.

      See Also:
    • MATCH_VERSION

      static final int MATCH_VERSION
      Device Access match value indicating a match with USB_IDVENDOR, USB_IDPRODUCT, and USB_BCDDEVICE.
      See Also:
    • MATCH_MODEL

      static final int MATCH_MODEL
      Device Access match value indicating a match with USB_IDVENDOR, and USB_IDPRODUCT.
      See Also:
    • MATCH_PROTOCOL

      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.
      See Also:
    • MATCH_SUBCLASS

      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.
      See Also:
    • MATCH_CLASS

      static final int MATCH_CLASS
      Device Access match value indicating a match with USB_BDEVICECLASS or a match with USB_BINTERFACECLASS.
      See Also: