| Package | Description |
|---|---|
| com.ibm.jusb | |
| com.ibm.jusb.tools.swing | |
| com.ibm.jusb.tools.text | |
| com.mcreations.usb.windows | |
| javax.usb |
Core interfaces and classes modeling USB devices, descriptors, communication pipes and requests/operations.
|
| javax.usb.event |
Classes and interfaces modeling an event model (similar to JavaBeans event model) for USB devices and pipes.
|
| javax.usb.examples | |
| javax.usb.util |
Various utility classes and interfaces that are used by other classes and interfaces in the javax.usb specification.
|
| org.lsst.ccs.drivers.usb |
| Modifier and Type | Class and Description |
|---|---|
class |
UsbDeviceImp
UsbDevice platform-independent implementation.
|
class |
UsbHubImp
UsbHub implementation.
|
class |
VirtualRootUsbHubImp
Virtual root UsbHub implementation.
|
| Modifier and Type | Method and Description |
|---|---|
UsbDevice |
UsbPortImp.getUsbDevice() |
UsbDevice |
UsbConfigurationImp.getUsbDevice() |
| Modifier and Type | Field and Description |
|---|---|
protected UsbDevice |
UsbDevicePanel.usbDevice |
| Modifier and Type | Method and Description |
|---|---|
UsbDevice |
UsbDevicePanel.getUsbDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SwingUsbView.createDevice(UsbDevice device,
DefaultMutableTreeNode node) |
protected DefaultMutableTreeNode |
SwingUsbView.getDeviceNode(UsbDevice device) |
void |
UsbControlIrpPanel.submit(UsbDevice device) |
| Constructor and Description |
|---|
UsbDevicePanel(UsbDevice device) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
TextUsbView.displayUsbDevice(UsbDevice device,
String offset) |
| Modifier and Type | Class and Description |
|---|---|
class |
WindowsHubOsImp
Windows implementation of an UsbHub is just a thin wrapper
around
UsbHubImp. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
UsbHub
Interface for a USB hub.
|
| Modifier and Type | Method and Description |
|---|---|
UsbDevice |
UsbConfiguration.getUsbDevice()
Get the parent UsbDevice that this UsbConfiguration belongs to.
|
UsbDevice |
UsbPort.getUsbDevice()
Get the UsbDevice attached to this UsbPort.
|
| Modifier and Type | Method and Description |
|---|---|
UsbDevice |
UsbDeviceEvent.getUsbDevice()
Get the UsbDevice.
|
UsbDevice |
UsbServicesEvent.getUsbDevice()
Get the UsbDevice.
|
| Constructor and Description |
|---|
UsbDeviceDataEvent(UsbDevice source,
UsbControlIrp irp)
Constructor.
|
UsbDeviceErrorEvent(UsbDevice source,
UsbControlIrp irp)
Constructor.
|
UsbDeviceEvent(UsbDevice source)
Constructor.
|
UsbServicesEvent(UsbServices source,
UsbDevice device)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static List |
FindUsbDevice.getAllUsbDevices(UsbDevice usbDevice)
This forms an inclusive list of all UsbDevices connected to this UsbDevice.
|
static List |
FindUsbDevice.getUsbDevicesWithDeviceClass(UsbDevice usbDevice,
byte deviceClass)
Get a List of all devices that match the specified device class.
|
static List |
FindUsbDevice.getUsbDevicesWithId(UsbDevice usbDevice,
short vendorId,
short productId)
Get a List of all devices that match the specified vendor and product id.
|
static List |
FindUsbDevice.getUsbDevicesWithManufacturerString(UsbDevice usbDevice,
String manufacturerString)
Get a List of all devices that match the specified manufacturer string.
|
static List |
FindUsbInterface.getUsbInterfacesWithInterfaceClass(UsbDevice usbDevice,
byte interfaceClass)
Get a List of all interfaces that match the specified interface class.
|
static void |
ShowTopology.processUsingGetAttachedUsbDevices(UsbDevice usbDevice,
String prefix)
Process all devices in the system using getAttachedUsbDevices().
|
static void |
ShowTopology.processUsingGetUsbPorts(UsbDevice usbDevice,
String prefix)
Process all devices in the system using getUsbPorts().
|
static boolean |
DefaultControlPipe.sendUsbControlIrp(UsbDevice usbDevice,
UsbControlIrp usbControlIrp)
Send the UsbControlIrp to the UsbDevice on the DCP.
|
static void |
DefaultControlPipe.showStandardRequestCommunication(UsbDevice usbDevice)
Show how to communicate using the StandardRequest utility class.
|
static void |
DefaultControlPipe.showUsbControlIrpCommunication(UsbDevice usbDevice)
Show how to communicate using UsbControlIrp objects.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
UsbUtil.SynchronizedUsbDevice
A synchronized UsbDevice wrapper implementation.
|
| Modifier and Type | Field and Description |
|---|---|
protected UsbDevice |
StandardRequest.usbDevice |
UsbDevice |
UsbUtil.SynchronizedUsbDevice.usbDevice |
| Modifier and Type | Method and Description |
|---|---|
static UsbDevice |
UsbUtil.synchronizedUsbDevice(UsbDevice usbDevice)
Create a synchronized UsbDevice.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
StandardRequest.clearFeature(UsbDevice usbDevice,
byte recipient,
short featureSelector,
short target)
Clear Feature.
|
static byte |
StandardRequest.getConfiguration(UsbDevice usbDevice)
Get Configuration.
|
static int |
StandardRequest.getDescriptor(UsbDevice usbDevice,
byte type,
byte index,
short langid,
byte[] data)
Get Descriptor.
|
static byte |
StandardRequest.getInterface(UsbDevice usbDevice,
short interfaceNumber)
Get Interface.
|
static short |
StandardRequest.getStatus(UsbDevice usbDevice,
byte recipient,
short target)
Get Status.
|
static void |
StandardRequest.setAddress(UsbDevice usbDevice,
short deviceAddress)
Set Address.
|
static void |
StandardRequest.setConfiguration(UsbDevice usbDevice,
short configurationValue)
Set Configuration.
|
static int |
StandardRequest.setDescriptor(UsbDevice usbDevice,
byte type,
byte index,
short langid,
byte[] data)
Set Descriptor.
|
static void |
StandardRequest.setFeature(UsbDevice usbDevice,
byte recipient,
short featureSelector,
short target)
Set Feature.
|
static void |
StandardRequest.setInterface(UsbDevice usbDevice,
short interfaceNumber,
short alternateSetting)
Set Interface.
|
static short |
StandardRequest.synchFrame(UsbDevice usbDevice,
short endpointAddress)
Synch Frame.
|
static UsbDevice |
UsbUtil.synchronizedUsbDevice(UsbDevice usbDevice)
Create a synchronized UsbDevice.
|
| Constructor and Description |
|---|
StandardRequest(UsbDevice usbDevice)
Constructor.
|
UsbUtil.SynchronizedUsbDevice(UsbDevice usbDevice) |
| Modifier and Type | Method and Description |
|---|---|
UsbDevice |
UsbComm.findDevice(int vid,
int pid)
Finds a USB device and sets it as current
|
UsbDevice |
UsbComm.findDevice(int vid,
int pid,
int index)
Finds a USB device and sets it as current
|
UsbDevice |
UsbComm.findDevice(int vid,
int pid,
String serial)
Finds a USB device and sets it as current
|
UsbDevice |
UsbComm.findDevice(int vid,
int pid,
String serial,
int index)
Finds a USB device and sets it as current
|
UsbDevice |
UsbComm.getDevice()
Gets the current USB device
|
| Modifier and Type | Method and Description |
|---|---|
static UsbInterface |
UsbComm.getInterface(UsbDevice device,
int iface)
Gets the active setting of the specified USB interface of the
specified device.
|
static int |
UsbComm.getSpeed(UsbDevice device)
Gets the speed of a device *** Deprecated ***
|
void |
UsbComm.setDevice(UsbDevice device)
Sets the current USB device
|
Copyright © 2014 LSST. All Rights Reserved.