- bAlternateSetting() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the value used to select this alternate setting for this
interface.
- bcdDevice() - Method in class org.usb4java.DeviceDescriptor
-
Returns the device release number in binary-coded decimal.
- bcdUSB() - Method in class org.usb4java.DeviceDescriptor
-
Returns the USB specification release number in binary-coded decimal.
- bConfigurationValue() - Method in class org.usb4java.ConfigDescriptor
-
Returns the identifier value for this configuration.
- bDescriptorType() - Method in class org.usb4java.BosDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.BosDevCapabilityDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.ConfigDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.ContainerIdDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.DeviceDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.EndpointDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.SsEndpointCompanionDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns the descriptor type.
- bDescriptorType() - Method in class org.usb4java.Usb20ExtensionDescriptor
-
Returns the descriptor type.
- bDevCapabilityType() - Method in class org.usb4java.BosDevCapabilityDescriptor
-
Returns the device capability type.
- bDevCapabilityType() - Method in class org.usb4java.ContainerIdDescriptor
-
Returns the device capability type.
- bDevCapabilityType() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns the device capability type.
- bDevCapabilityType() - Method in class org.usb4java.Usb20ExtensionDescriptor
-
Returns the device capability type.
- bDeviceClass() - Method in class org.usb4java.DeviceDescriptor
-
Returns the USB-IF class code for the device.
- bDeviceProtocol() - Method in class org.usb4java.DeviceDescriptor
-
Returns the USB-IF protocol code for the device, qualified by the
bDeviceClass and bDeviceSubClass values.
- bDeviceSubClass() - Method in class org.usb4java.DeviceDescriptor
-
Returns the USB-IF subclass code for the device, qualified by the
bDeviceClass value.
- bEndpointAddress() - Method in class org.usb4java.EndpointDescriptor
-
The address of the endpoint described by this descriptor.
- bFunctionalitySupport() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns the lowest speed at which all the functionality supported by the
device is available to the user.
- bInterfaceClass() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the USB-IF class code for this interface.
- bInterfaceNumber() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the number of this interface.
- bInterfaceProtocol() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the USB-IF protocol code for this interface, qualified by the
bInterfaceClass and bInterfaceSubClass values.
- bInterfaceSubClass() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the USB-IF subclass code for this interface, qualified by the
bInterfaceClass value.
- bInterval() - Method in class org.usb4java.EndpointDescriptor
-
Returns the interval for polling endpoint for data transfers.
- bLength() - Method in class org.usb4java.BosDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.BosDevCapabilityDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.ConfigDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.ContainerIdDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.DeviceDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.EndpointDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.SsEndpointCompanionDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns the size of this descriptor (in bytes).
- bLength() - Method in class org.usb4java.Usb20ExtensionDescriptor
-
Returns the size of this descriptor (in bytes).
- BM_LPM_SUPPORT - Static variable in class org.usb4java.LibUsb
-
Supports Link Power Management (LPM).
- BM_LTM_SUPPORT - Static variable in class org.usb4java.LibUsb
-
Supports Latency Tolerance Messages (LTM).
- bmAttributes() - Method in class org.usb4java.ConfigDescriptor
-
Returns the configuration characteristics.
- bmAttributes() - Method in class org.usb4java.EndpointDescriptor
-
Attributes which apply to the endpoint when it is configured using the
bConfigurationValue.
- bmAttributes() - Method in class org.usb4java.SsEndpointCompanionDescriptor
-
Returns the attributes.
- bmAttributes() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns the bitmap of supported device level features.
- bmAttributes() - Method in class org.usb4java.Usb20ExtensionDescriptor
-
Returns the bitmap of supported device level features.
- bMaxBurst() - Method in class org.usb4java.SsEndpointCompanionDescriptor
-
Returns the maximum number of packets the endpoint can send or receive as
part of a burst.
- bMaxPacketSize0() - Method in class org.usb4java.DeviceDescriptor
-
Returns the maximum packet size for endpoint 0.
- bMaxPower() - Method in class org.usb4java.ConfigDescriptor
-
Returns the maximum power consumption of the USB device from this bus
configuration when the device is fully operation.
- bmRequestType() - Method in class org.usb4java.ControlSetup
-
Returns the request type.
- bNumConfigurations() - Method in class org.usb4java.DeviceDescriptor
-
Returns the number of possible configurations.
- bNumDeviceCaps() - Method in class org.usb4java.BosDescriptor
-
Returns the number of separate device capability descriptors in the BOS.
- bNumEndpoints() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the number of endpoints used by this interface (excluding the
control endpoint).
- bNumInterfaces() - Method in class org.usb4java.ConfigDescriptor
-
Returns the number of interfaces supported by this configuration.
- BosDescriptor - Class in org.usb4java
-
A structure representing the Binary Device Object Store (BOS) descriptor.
- BosDescriptor() - Constructor for class org.usb4java.BosDescriptor
-
- BosDevCapabilityDescriptor - Class in org.usb4java
-
A generic representation of a BOS Device Capability descriptor.
- bRefresh() - Method in class org.usb4java.EndpointDescriptor
-
For audio devices only: the rate at which synchronization feedback is
provided.
- bRequest() - Method in class org.usb4java.ControlSetup
-
Returns the request.
- bReserved() - Method in class org.usb4java.ContainerIdDescriptor
-
Returns the reserved field.
- bSynchAddress() - Method in class org.usb4java.EndpointDescriptor
-
For audio devices only: the address of the synch endpoint.
- BT_CONTAINER_ID - Static variable in class org.usb4java.LibUsb
-
Container ID type.
- BT_CONTAINER_ID_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a BOS descriptor.
- BT_SS_USB_DEVICE_CAPABILITY - Static variable in class org.usb4java.LibUsb
-
SuperSpeed USB device capability.
- BT_SS_USB_DEVICE_CAPABILITY_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a BOS descriptor.
- BT_USB_2_0_EXTENSION - Static variable in class org.usb4java.LibUsb
-
USB 2.0 extensions.
- BT_USB_2_0_EXTENSION_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a BOS descriptor.
- BT_WIRELESS_USB_DEVICE_CAPABILITY - Static variable in class org.usb4java.LibUsb
-
Wireless USB device capability.
- bU1DevExitLat() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns the U1 Device Exit Latency.
- bU2DevExitLat() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns the U2 Device Exit Latency.
- buffer() - Method in class org.usb4java.Transfer
-
Returns the data buffer.
- BufferUtils - Class in org.usb4java
-
- bulkTransfer(DeviceHandle, byte, ByteBuffer, IntBuffer, long) - Static method in class org.usb4java.LibUsb
-
Perform a USB bulk transfer.
- callback() - Method in class org.usb4java.Transfer
-
Returns the current callback object.
- cancelTransfer(Transfer) - Static method in class org.usb4java.LibUsb
-
Asynchronously cancel a previously submitted transfer.
- CAP_HAS_CAPABILITY - Static variable in class org.usb4java.LibUsb
-
- CAP_HAS_HID_ACCESS - Static variable in class org.usb4java.LibUsb
-
The library can access HID devices without requiring user intervention.
- CAP_HAS_HOTPLUG - Static variable in class org.usb4java.LibUsb
-
Hotplug support is available on this platform.
- CAP_SUPPORTS_DETACH_KERNEL_DRIVER - Static variable in class org.usb4java.LibUsb
-
- claimInterface(DeviceHandle, int) - Static method in class org.usb4java.LibUsb
-
Claim an interface on a given device handle.
- CLASS_APPLICATION - Static variable in class org.usb4java.LibUsb
-
Application class.
- CLASS_AUDIO - Static variable in class org.usb4java.LibUsb
-
Audio class.
- CLASS_COMM - Static variable in class org.usb4java.LibUsb
-
Communications class.
- CLASS_CONTENT_SECURITY - Static variable in class org.usb4java.LibUsb
-
Content Security.
- CLASS_DATA - Static variable in class org.usb4java.LibUsb
-
Data class.
- CLASS_DIAGNOSTIC_DEVICE - Static variable in class org.usb4java.LibUsb
-
Diagnostic Device.
- CLASS_HID - Static variable in class org.usb4java.LibUsb
-
Human Interface Device class.
- CLASS_HUB - Static variable in class org.usb4java.LibUsb
-
Hub class.
- CLASS_IMAGE - Static variable in class org.usb4java.LibUsb
-
Image class.
- CLASS_MASS_STORAGE - Static variable in class org.usb4java.LibUsb
-
Mass storage class.
- CLASS_PER_INTERFACE - Static variable in class org.usb4java.LibUsb
-
In the context of a device descriptor, this bDeviceClass value indicates
that each interface specifies its own class information and all
interfaces operate independently.
- CLASS_PERSONAL_HEALTHCARE - Static variable in class org.usb4java.LibUsb
-
Personal Healthcare.
- CLASS_PHYSICAL - Static variable in class org.usb4java.LibUsb
-
Physical.
- CLASS_PRINTER - Static variable in class org.usb4java.LibUsb
-
Printer class.
- CLASS_PTP - Static variable in class org.usb4java.LibUsb
-
Image class.
- CLASS_SMART_CARD - Static variable in class org.usb4java.LibUsb
-
Smart Card.
- CLASS_VENDOR_SPEC - Static variable in class org.usb4java.LibUsb
-
Class is vendor-specific.
- CLASS_VIDEO - Static variable in class org.usb4java.LibUsb
-
Video.
- CLASS_WIRELESS - Static variable in class org.usb4java.LibUsb
-
Wireless class.
- clearHalt(DeviceHandle, byte) - Static method in class org.usb4java.LibUsb
-
Clear the halt/stall condition for an endpoint.
- close(DeviceHandle) - Static method in class org.usb4java.LibUsb
-
Close a device handle.
- ConfigDescriptor - Class in org.usb4java
-
A structure representing the standard USB configuration descriptor.
- ConfigDescriptor() - Constructor for class org.usb4java.ConfigDescriptor
-
- containerId() - Method in class org.usb4java.ContainerIdDescriptor
-
Returns the 128 bit UUID.
- ContainerIdDescriptor - Class in org.usb4java
-
A structure representing the Container ID descriptor.
- ContainerIdDescriptor() - Constructor for class org.usb4java.ContainerIdDescriptor
-
- Context - Class in org.usb4java
-
Structure representing a libusb session.
- Context() - Constructor for class org.usb4java.Context
-
Constructs a new libusb context.
- CONTROL_SETUP_SIZE - Static variable in class org.usb4java.LibUsb
-
The size of a control setup packet.
- ControlSetup - Class in org.usb4java
-
Setup packet for control transfers.
- controlTransfer(DeviceHandle, byte, byte, short, short, ByteBuffer, long) - Static method in class org.usb4java.LibUsb
-
Perform a USB control transfer.
- controlTransferGetData(Transfer) - Static method in class org.usb4java.LibUsb
-
Get the data section of a control transfer.
- controlTransferGetSetup(Transfer) - Static method in class org.usb4java.LibUsb
-
Get the control setup packet of a control transfer.
- cpuToLe16(short) - Static method in class org.usb4java.LibUsb
-
Convert a 16-bit value from host-endian to little-endian format.
- decodeBCD(short) - Static method in class org.usb4java.DescriptorUtils
-
Decodes a binary-coded decimal into a string and returns it.
- DescriptorUtils - Class in org.usb4java
-
Utility methods used for descriptor dumps.
- detachKernelDriver(DeviceHandle, int) - Static method in class org.usb4java.LibUsb
-
Detach a kernel driver from an interface.
- devCapability() - Method in class org.usb4java.BosDescriptor
-
Returns the array with the device capability descriptors.
- devCapabilityData() - Method in class org.usb4java.BosDevCapabilityDescriptor
-
Returns the device capability data (bLength - 3 bytes).
- devHandle() - Method in class org.usb4java.Transfer
-
Returns the handle of the device that this transfer will be submitted to.
- Device - Class in org.usb4java
-
Structure representing a USB device detected on the system.
- DeviceDescriptor - Class in org.usb4java
-
A structure representing the standard USB device descriptor.
- DeviceDescriptor() - Constructor for class org.usb4java.DeviceDescriptor
-
- DeviceHandle - Class in org.usb4java
-
Structure representing a handle on a USB device.
- DeviceHandle() - Constructor for class org.usb4java.DeviceHandle
-
Constructs a new device handle.
- DeviceList - Class in org.usb4java
-
- DeviceList() - Constructor for class org.usb4java.DeviceList
-
Constructs a new device list.
- devMemAlloc(DeviceHandle, int) - Static method in class org.usb4java.LibUsb
-
Attempts to allocate a block of persistent DMA memory suitable for transfers against the given device.
- devMemFree(DeviceHandle, ByteBuffer, int) - Static method in class org.usb4java.LibUsb
-
- DT_BOS - Static variable in class org.usb4java.LibUsb
-
BOS descriptor.
- DT_BOS_MAX_SIZE - Static variable in class org.usb4java.LibUsb
-
We unwrap the BOS => define its maximum size.
- DT_BOS_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a BOS descriptor.
- DT_CONFIG - Static variable in class org.usb4java.LibUsb
-
Configuration descriptor.
- DT_CONFIG_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a config descriptor.
- DT_DEVICE - Static variable in class org.usb4java.LibUsb
-
Device descriptor.
- DT_DEVICE_CAPABILITY - Static variable in class org.usb4java.LibUsb
-
Device Capability descriptor.
- DT_DEVICE_CAPABILITY_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a device capability descriptor.
- DT_DEVICE_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a device descriptor.
- DT_ENDPOINT - Static variable in class org.usb4java.LibUsb
-
Endpoint descriptor.
- DT_ENDPOINT_AUDIO_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of an endpoint descriptor with audio extension.
- DT_ENDPOINT_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of an endpoint descriptor.
- DT_HID - Static variable in class org.usb4java.LibUsb
-
HID descriptor.
- DT_HUB - Static variable in class org.usb4java.LibUsb
-
Hub descriptor.
- DT_HUB_NONVAR_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a hub descriptor.
- DT_INTERFACE - Static variable in class org.usb4java.LibUsb
-
Interface descriptor.
- DT_INTERFACE_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of an interface descriptor.
- DT_PHYSICAL - Static variable in class org.usb4java.LibUsb
-
Physical descriptor.
- DT_REPORT - Static variable in class org.usb4java.LibUsb
-
HID report descriptor.
- DT_SS_ENDPOINT_COMPANION - Static variable in class org.usb4java.LibUsb
-
SuperSpeed Endpoint Companion descriptor.
- DT_SS_ENDPOINT_COMPANION_SIZE - Static variable in class org.usb4java.LibUsb
-
Size of a SuperSpeed endpoint companion descriptor.
- DT_STRING - Static variable in class org.usb4java.LibUsb
-
String descriptor.
- DT_SUPERSPEED_HUB - Static variable in class org.usb4java.LibUsb
-
SuperSpeed Hub descriptor.
- dump() - Method in class org.usb4java.BosDescriptor
-
Returns a dump of this descriptor.
- dump() - Method in class org.usb4java.BosDevCapabilityDescriptor
-
Returns a dump of this descriptor.
- dump() - Method in class org.usb4java.ConfigDescriptor
-
Returns a dump of this descriptor.
- dump() - Method in class org.usb4java.ContainerIdDescriptor
-
Returns a dump of this descriptor.
- dump(ByteBuffer) - Static method in class org.usb4java.DescriptorUtils
-
Dumps the specified byte buffer into a hex string and returns it.
- dump(DeviceDescriptor) - Static method in class org.usb4java.DescriptorUtils
-
Dumps the specified USB device descriptor into a string and returns it.
- dump(DeviceDescriptor, String, String, String) - Static method in class org.usb4java.DescriptorUtils
-
Dumps the specified USB device descriptor into a string and returns it.
- dump(ConfigDescriptor) - Static method in class org.usb4java.DescriptorUtils
-
Dumps the specified USB configuration descriptor into a string and
returns it.
- dump(InterfaceDescriptor) - Static method in class org.usb4java.DescriptorUtils
-
Dumps the specified USB interface descriptor into a string and returns
it.
- dump(EndpointDescriptor) - Static method in class org.usb4java.DescriptorUtils
-
Dumps the specified USB endpoint descriptor into a string and returns it.
- dump() - Method in class org.usb4java.DeviceDescriptor
-
Returns a dump of this descriptor.
- dump(DeviceHandle) - Method in class org.usb4java.DeviceDescriptor
-
Returns a dump of this descriptor.
- dump() - Method in class org.usb4java.EndpointDescriptor
-
Returns a dump of this descriptor.
- dump() - Method in class org.usb4java.Interface
-
Returns a dump of this interface.
- dump() - Method in class org.usb4java.InterfaceDescriptor
-
Returns a dump of this descriptor.
- dump() - Method in class org.usb4java.SsEndpointCompanionDescriptor
-
Returns a dump of this descriptor.
- dump() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns a dump of this descriptor.
- dump() - Method in class org.usb4java.Usb20ExtensionDescriptor
-
Returns a dump of this descriptor.
- endpoint() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the array with endpoints.
- endpoint() - Method in class org.usb4java.Transfer
-
Returns the address of the endpoint where this transfer will be sent.
- ENDPOINT_ADDRESS_MASK - Static variable in class org.usb4java.LibUsb
-
Endpoint address mask.
- ENDPOINT_DIR_MASK - Static variable in class org.usb4java.LibUsb
-
Endpoint direction mask.
- ENDPOINT_IN - Static variable in class org.usb4java.LibUsb
-
In: device-to-host.
- ENDPOINT_OUT - Static variable in class org.usb4java.LibUsb
-
Out: host-to-device.
- EndpointDescriptor - Class in org.usb4java
-
A structure representing the standard USB endpoint descriptor.
- equals(Object) - Method in class org.usb4java.BosDescriptor
-
- equals(Object) - Method in class org.usb4java.BosDevCapabilityDescriptor
-
- equals(Object) - Method in class org.usb4java.ConfigDescriptor
-
- equals(Object) - Method in class org.usb4java.ContainerIdDescriptor
-
- equals(Object) - Method in class org.usb4java.Context
-
- equals(Object) - Method in class org.usb4java.ControlSetup
-
- equals(Object) - Method in class org.usb4java.Device
-
- equals(Object) - Method in class org.usb4java.DeviceDescriptor
-
- equals(Object) - Method in class org.usb4java.DeviceHandle
-
- equals(Object) - Method in class org.usb4java.DeviceList
-
- equals(Object) - Method in class org.usb4java.EndpointDescriptor
-
- equals(Object) - Method in class org.usb4java.HotplugCallbackHandle
-
- equals(Object) - Method in class org.usb4java.Interface
-
- equals(Object) - Method in class org.usb4java.InterfaceDescriptor
-
- equals(Object) - Method in class org.usb4java.IsoPacketDescriptor
-
- equals(Object) - Method in class org.usb4java.Pollfd
-
- equals(Object) - Method in class org.usb4java.Pollfds
-
- equals(Object) - Method in class org.usb4java.SsEndpointCompanionDescriptor
-
- equals(Object) - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
- equals(Object) - Method in class org.usb4java.Transfer
-
- equals(Object) - Method in class org.usb4java.Usb20ExtensionDescriptor
-
- equals(Object) - Method in class org.usb4java.Version
-
- ERROR_ACCESS - Static variable in class org.usb4java.LibUsb
-
Access denied (insufficient permissions).
- ERROR_BUSY - Static variable in class org.usb4java.LibUsb
-
Resource busy.
- ERROR_COUNT - Static variable in class org.usb4java.LibUsb
-
Total number of error codes.
- ERROR_INTERRUPTED - Static variable in class org.usb4java.LibUsb
-
System call interrupted (perhaps due to signal).
- ERROR_INVALID_PARAM - Static variable in class org.usb4java.LibUsb
-
Invalid parameter.
- ERROR_IO - Static variable in class org.usb4java.LibUsb
-
Input/output error.
- ERROR_NO_DEVICE - Static variable in class org.usb4java.LibUsb
-
No such device (it may have been disconnected).
- ERROR_NO_MEM - Static variable in class org.usb4java.LibUsb
-
Insufficient memory.
- ERROR_NOT_FOUND - Static variable in class org.usb4java.LibUsb
-
Entity not found.
- ERROR_NOT_SUPPORTED - Static variable in class org.usb4java.LibUsb
-
Operation not supported or unimplemented on this platform.
- ERROR_OTHER - Static variable in class org.usb4java.LibUsb
-
Other error.
- ERROR_OVERFLOW - Static variable in class org.usb4java.LibUsb
-
Overflow.
- ERROR_PIPE - Static variable in class org.usb4java.LibUsb
-
Pipe error.
- ERROR_TIMEOUT - Static variable in class org.usb4java.LibUsb
-
Operation timed out.
- errorName(int) - Static method in class org.usb4java.LibUsb
-
Returns a string with the ASCII name of a libusb error or transfer status
code.
- eventHandlerActive(Context) - Static method in class org.usb4java.LibUsb
-
Determine if an active thread is handling events (i.e.
- eventHandlingOk(Context) - Static method in class org.usb4java.LibUsb
-
Determine if it is still OK for this thread to be doing event handling.
- events() - Method in class org.usb4java.Pollfd
-
Returns the event flags to poll.
- exit(Context) - Static method in class org.usb4java.LibUsb
-
Deinitialize libusb.
- extra() - Method in class org.usb4java.ConfigDescriptor
-
Extra descriptors.
- extra() - Method in class org.usb4java.EndpointDescriptor
-
Extra descriptors.
- extra() - Method in class org.usb4java.InterfaceDescriptor
-
Extra descriptors.
- extraLength() - Method in class org.usb4java.ConfigDescriptor
-
Length of the extra descriptors, in bytes.
- extraLength() - Method in class org.usb4java.EndpointDescriptor
-
Length of the extra descriptors, in bytes.
- extraLength() - Method in class org.usb4java.InterfaceDescriptor
-
Length of the extra descriptors, in bytes.
- get(int) - Method in class org.usb4java.DeviceList
-
Returns the device with the specified index.
- get(int) - Method in class org.usb4java.Pollfds
-
Returns the poll file descriptor with the specified index.
- getActiveConfigDescriptor(Device, ConfigDescriptor) - Static method in class org.usb4java.LibUsb
-
Get the USB configuration descriptor for the currently active
configuration.
- getApiVersion() - Static method in class org.usb4java.LibUsb
-
Returns the API version of the underlying libusb library.
- getBosDescriptor(DeviceHandle, BosDescriptor) - Static method in class org.usb4java.LibUsb
-
Get a Binary Object Store (BOS) descriptor.
- getBuffer() - Method in class org.usb4java.DeviceDescriptor
-
Returns the Java byte buffer which contains the descriptor structure.
- getBusNumber(Device) - Static method in class org.usb4java.LibUsb
-
Get the number of the bus that a device is connected to.
- getConfigDescriptor(Device, byte, ConfigDescriptor) - Static method in class org.usb4java.LibUsb
-
Get a USB configuration descriptor based on its index.
- getConfigDescriptorByValue(Device, byte, ConfigDescriptor) - Static method in class org.usb4java.LibUsb
-
Get a USB configuration descriptor with a specific bConfigurationValue.
- getConfiguration(DeviceHandle, IntBuffer) - Static method in class org.usb4java.LibUsb
-
Determine the bConfigurationValue of the currently active configuration.
- getContainerIdDescriptor(Context, BosDevCapabilityDescriptor, ContainerIdDescriptor) - Static method in class org.usb4java.LibUsb
-
Get a Container ID descriptor.
- getDescriptor(DeviceHandle, byte, byte, ByteBuffer) - Static method in class org.usb4java.LibUsb
-
Retrieve a descriptor from the default control pipe.
- getDevice(DeviceHandle) - Static method in class org.usb4java.LibUsb
-
Get the underlying device for a handle.
- getDeviceAddress(Device) - Static method in class org.usb4java.LibUsb
-
Get the address of the device on the bus it is connected to.
- getDeviceDescriptor(Device, DeviceDescriptor) - Static method in class org.usb4java.LibUsb
-
Get the USB device descriptor for a given device.
- getDeviceList(Context, DeviceList) - Static method in class org.usb4java.LibUsb
-
Returns a list of USB devices currently attached to the system.
- getDeviceSpeed(Device) - Static method in class org.usb4java.LibUsb
-
Get the negotiated connection speed for a device.
- getDirectionName(byte) - Static method in class org.usb4java.DescriptorUtils
-
Returns the name of the USB traffic direction for the specified
endpoint address.
- getErrorCode() - Method in exception org.usb4java.LibUsbException
-
Returns the error code.
- getIsoPacketBuffer(Transfer, int) - Static method in class org.usb4java.LibUsb
-
Convenience function to locate the position of an isochronous packet
within the buffer of an isochronous transfer.
- getIsoPacketBufferSimple(Transfer, int) - Static method in class org.usb4java.LibUsb
-
Convenience function to locate the position of an isochronous packet
within the buffer of an isochronous transfer, for transfers where each
packet is of identical size.
- getMaxIsoPacketSize(Device, byte) - Static method in class org.usb4java.LibUsb
-
Calculate the maximum packet size which a specific endpoint is capable
sending or receiving in the duration of 1 microframe.
- getMaxPacketSize(Device, byte) - Static method in class org.usb4java.LibUsb
-
Convenience function to retrieve the wMaxPacketSize value for a
particular endpoint in the active device configuration.
- getNextTimeout(Context, LongBuffer) - Static method in class org.usb4java.LibUsb
-
Determine the next internal timeout that libusb needs to handle.
- getParent(Device) - Static method in class org.usb4java.LibUsb
-
Get the the parent from the specified device [EXPERIMENTAL].
- getPointer() - Method in class org.usb4java.BosDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.BosDevCapabilityDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.ConfigDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.ContainerIdDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.Context
-
Returns the native pointer to the context structure.
- getPointer() - Method in class org.usb4java.Device
-
Returns the native pointer to the device structure.
- getPointer() - Method in class org.usb4java.DeviceDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.DeviceHandle
-
Returns the native pointer to the device handle structure.
- getPointer() - Method in class org.usb4java.DeviceList
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.EndpointDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.Interface
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.IsoPacketDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.Pollfd
-
Returns the native pointer to the pollfd structure.
- getPointer() - Method in class org.usb4java.Pollfds
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.SsEndpointCompanionDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.Transfer
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.Usb20ExtensionDescriptor
-
Returns the native pointer.
- getPointer() - Method in class org.usb4java.Version
-
Returns the native pointer.
- getPollfds(Context) - Static method in class org.usb4java.LibUsb
-
Retrieve a list of file descriptors that should be polled by your main loop as libusb event sources.
- getPortNumber(Device) - Static method in class org.usb4java.LibUsb
-
Get the number of the port that a device is connected to.
- getPortNumbers(Device, ByteBuffer) - Static method in class org.usb4java.LibUsb
-
Get the list of all port numbers from root for the specified device.
- getPortPath(Context, Device, ByteBuffer) - Static method in class org.usb4java.LibUsb
-
- getSize() - Method in class org.usb4java.DeviceList
-
Returns the number of devices in the list.
- getSize() - Method in class org.usb4java.Pollfds
-
Returns the number of poll file descriptors in the list.
- getSpeedName(int) - Static method in class org.usb4java.DescriptorUtils
-
Returns the name for the specified speed number.
- getSsEndpointCompanionDescriptor(Context, EndpointDescriptor, SsEndpointCompanionDescriptor) - Static method in class org.usb4java.LibUsb
-
Get an endpoints superspeed endpoint companion descriptor (if any).
- getSsUsbDeviceCapabilityDescriptor(Context, BosDevCapabilityDescriptor, SsUsbDeviceCapabilityDescriptor) - Static method in class org.usb4java.LibUsb
-
Get a SuperSpeed USB Device Capability descriptor.
- getStringDescriptor(DeviceHandle, byte) - Static method in class org.usb4java.LibUsb
-
- getStringDescriptor(DeviceHandle, byte, short, ByteBuffer) - Static method in class org.usb4java.LibUsb
-
Retrieve a descriptor from a device.
- getStringDescriptorAscii(DeviceHandle, byte, StringBuffer) - Static method in class org.usb4java.LibUsb
-
Retrieve a string descriptor in C style ASCII.
- getSynchTypeName(byte) - Static method in class org.usb4java.DescriptorUtils
-
Returns the name for the synchronization type in the specified endpoint
attributes.
- getTransferTypeName(byte) - Static method in class org.usb4java.DescriptorUtils
-
Returns the name for the transfer type in the specified endpoint
attributes.
- getUsageTypeName(byte) - Static method in class org.usb4java.DescriptorUtils
-
Returns the name for the usage type in the specified endpoint attributes.
- getUsb20ExtensionDescriptor(Context, BosDevCapabilityDescriptor, Usb20ExtensionDescriptor) - Static method in class org.usb4java.LibUsb
-
Get an USB 2.0 Extension descriptor.
- getUSBClassName(byte) - Static method in class org.usb4java.DescriptorUtils
-
Returns the name of the specified USB class.
- getValue() - Method in class org.usb4java.HotplugCallbackHandle
-
Returns the hotplug callback handle value.
- getVersion() - Static method in class org.usb4java.LibUsb
-
Returns the version of the libusb runtime.
- iConfiguration() - Method in class org.usb4java.ConfigDescriptor
-
Returns the index of string descriptor describing this configuration.
- idProduct() - Method in class org.usb4java.DeviceDescriptor
-
Returns the USB-IF product ID.
- idVendor() - Method in class org.usb4java.DeviceDescriptor
-
Returns the USB-IF vendor ID.
- iface() - Method in class org.usb4java.ConfigDescriptor
-
Returns the array with interfaces supported by this configuration.
- iInterface() - Method in class org.usb4java.InterfaceDescriptor
-
Returns the index of string descriptor describing this interface.
- iManufacturer() - Method in class org.usb4java.DeviceDescriptor
-
Returns the index of the string descriptor describing manufacturer.
- init(Context) - Static method in class org.usb4java.LibUsb
-
Initialize libusb.
- Interface - Class in org.usb4java
-
A collection of alternate settings for a particular USB interface.
- InterfaceDescriptor - Class in org.usb4java
-
A structure representing the standard USB interface descriptor.
- interruptEventHandler(Context) - Static method in class org.usb4java.LibUsb
-
Interrupt any active thread that is handling events.
- interruptTransfer(DeviceHandle, byte, ByteBuffer, IntBuffer, long) - Static method in class org.usb4java.LibUsb
-
Perform a USB interrupt transfer.
- iProduct() - Method in class org.usb4java.DeviceDescriptor
-
Returns the index of the string descriptor describing product.
- iSerialNumber() - Method in class org.usb4java.DeviceDescriptor
-
Returns the index of the string descriptor containing device serial
number.
- ISO_SYNC_TYPE_ADAPTIVE - Static variable in class org.usb4java.LibUsb
-
Adaptive.
- ISO_SYNC_TYPE_ASYNC - Static variable in class org.usb4java.LibUsb
-
Asynchronous.
- ISO_SYNC_TYPE_MASK - Static variable in class org.usb4java.LibUsb
-
The mask used to filter out sync types from attributes.
- ISO_SYNC_TYPE_NONE - Static variable in class org.usb4java.LibUsb
-
No synchronization.
- ISO_SYNC_TYPE_SYNC - Static variable in class org.usb4java.LibUsb
-
Synchronous.
- ISO_USAGE_TYPE_DATA - Static variable in class org.usb4java.LibUsb
-
Data endpoint.
- ISO_USAGE_TYPE_FEEDBACK - Static variable in class org.usb4java.LibUsb
-
Feedback endpoint.
- ISO_USAGE_TYPE_IMPLICIT - Static variable in class org.usb4java.LibUsb
-
Implicit feedback Data endpoint.
- ISO_USAGE_TYPE_MASK - Static variable in class org.usb4java.LibUsb
-
The mask used to filter out usage types from attributes.
- isoPacketDesc() - Method in class org.usb4java.Transfer
-
Array of isochronous packet descriptors, for isochronous transfers only.
- IsoPacketDescriptor - Class in org.usb4java
-
Isochronous packet descriptor.
- iterator() - Method in class org.usb4java.DeviceList
-
- iterator() - Method in class org.usb4java.Pollfds
-
- le16ToCpu(short) - Static method in class org.usb4java.LibUsb
-
Convert a 16-bit value from little-endian to host-endian format.
- length() - Method in class org.usb4java.IsoPacketDescriptor
-
Returns the length of data to request in this packet.
- length() - Method in class org.usb4java.Transfer
-
Returns the length of the data buffer.
- LibUsb - Class in org.usb4java
-
Static class providing the constants and functions of libusb.
- LibUsbException - Exception in org.usb4java
-
A runtime exception which automatically outputs the libusb error string.
- LibUsbException(int) - Constructor for exception org.usb4java.LibUsbException
-
Constructs a libusb exception which just outputs the error code and
the error message from libusb.
- LibUsbException(String, int) - Constructor for exception org.usb4java.LibUsbException
-
Constructs a libusb exception which outputs the error code and
the error message from libusb together with a custom error message.
- load() - Static method in class org.usb4java.Loader
-
Loads the libusb native wrapper library.
- Loader - Class in org.usb4java
-
Utility class to load native libraries from classpath.
- LoaderException - Exception in org.usb4java
-
Thrown when JNI library could not be loaded.
- LoaderException(String) - Constructor for exception org.usb4java.LoaderException
-
Constructor.
- LoaderException(String, Throwable) - Constructor for exception org.usb4java.LoaderException
-
Constructor.
- lockEvents(Context) - Static method in class org.usb4java.LibUsb
-
Acquire the event handling lock, blocking until successful acquisition if
it is contended.
- lockEventWaiters(Context) - Static method in class org.usb4java.LibUsb
-
Acquire the event waiters lock.
- LOG_LEVEL_DEBUG - Static variable in class org.usb4java.LibUsb
-
Debug and informational messages are printed to stdout, warnings and
errors to stderr.
- LOG_LEVEL_ERROR - Static variable in class org.usb4java.LibUsb
-
Error messages are printed to stderr.
- LOG_LEVEL_INFO - Static variable in class org.usb4java.LibUsb
-
Informational messages are printed to stdout, warning and error messages
are printed to stderr.
- LOG_LEVEL_NONE - Static variable in class org.usb4java.LibUsb
-
No messages ever printed by the library (default).
- LOG_LEVEL_WARNING - Static variable in class org.usb4java.LibUsb
-
Warning and error messages are printed to stderr.
- LOW_SPEED_OPERATION - Static variable in class org.usb4java.LibUsb
-
Low speed operation supported (1.5MBit/s).
- rc() - Method in class org.usb4java.Version
-
Returns the release candidate suffix string, e.g.
- RECIPIENT_DEVICE - Static variable in class org.usb4java.LibUsb
-
Device.
- RECIPIENT_ENDPOINT - Static variable in class org.usb4java.LibUsb
-
Endpoint.
- RECIPIENT_INTERFACE - Static variable in class org.usb4java.LibUsb
-
Interface.
- RECIPIENT_OTHER - Static variable in class org.usb4java.LibUsb
-
Other.
- refDevice(Device) - Static method in class org.usb4java.LibUsb
-
Increment the reference count of a device.
- releaseInterface(DeviceHandle, int) - Static method in class org.usb4java.LibUsb
-
- REQUEST_CLEAR_FEATURE - Static variable in class org.usb4java.LibUsb
-
Clear or disable a specific feature.
- REQUEST_GET_CONFIGURATION - Static variable in class org.usb4java.LibUsb
-
Get the current device configuration value.
- REQUEST_GET_DESCRIPTOR - Static variable in class org.usb4java.LibUsb
-
Set device address for all future accesses.
- REQUEST_GET_INTERFACE - Static variable in class org.usb4java.LibUsb
-
Return the selected alternate setting for the specified interface.
- REQUEST_GET_STATUS - Static variable in class org.usb4java.LibUsb
-
Request status of the specific recipient.
- REQUEST_SET_ADDRESS - Static variable in class org.usb4java.LibUsb
-
Set device address for all future accesses.
- REQUEST_SET_CONFIGURATION - Static variable in class org.usb4java.LibUsb
-
Get the current device configuration value.
- REQUEST_SET_DESCRIPTOR - Static variable in class org.usb4java.LibUsb
-
Set device address for all future accesses.
- REQUEST_SET_FEATURE - Static variable in class org.usb4java.LibUsb
-
Set or enable a specific feature.
- REQUEST_SET_INTERFACE - Static variable in class org.usb4java.LibUsb
-
Select an alternate interface for the specified interface.
- REQUEST_SET_SEL - Static variable in class org.usb4java.LibUsb
-
Sets both the U1 and U2 Exit Latency.
- REQUEST_SYNCH_FRAME - Static variable in class org.usb4java.LibUsb
-
Set then report an endpoint's synchronization frame.
- REQUEST_TYPE_CLASS - Static variable in class org.usb4java.LibUsb
-
Class.
- REQUEST_TYPE_RESERVED - Static variable in class org.usb4java.LibUsb
-
Reserved.
- REQUEST_TYPE_STANDARD - Static variable in class org.usb4java.LibUsb
-
Standard.
- REQUEST_TYPE_VENDOR - Static variable in class org.usb4java.LibUsb
-
Vendor.
- resetDevice(DeviceHandle) - Static method in class org.usb4java.LibUsb
-
Perform a USB port reset to reinitialize a device.
- SET_ISOCH_DELAY - Static variable in class org.usb4java.LibUsb
-
Delay from the time a host transmits a packet to the time it is received
by the device.
- setAutoDetachKernelDriver(DeviceHandle, boolean) - Static method in class org.usb4java.LibUsb
-
Enable/disable libusb's automatic kernel driver detachment.
- setBmRequestType(byte) - Method in class org.usb4java.ControlSetup
-
Sets the request type.
- setBRequest(byte) - Method in class org.usb4java.ControlSetup
-
Sets the request.
- setBuffer(ByteBuffer) - Method in class org.usb4java.Transfer
-
Sets the data buffer.
- setCallback(TransferCallback) - Method in class org.usb4java.Transfer
-
Sets the callback object.
- setConfiguration(DeviceHandle, int) - Static method in class org.usb4java.LibUsb
-
Set the active configuration for a device.
- setDebug(Context, int) - Static method in class org.usb4java.LibUsb
-
- setDevHandle(DeviceHandle) - Method in class org.usb4java.Transfer
-
Sets the handle of the device that this transfer will be submitted to.
- setEndpoint(byte) - Method in class org.usb4java.Transfer
-
Sets the address of the endpoint where this transfer will be sent.
- setFlags(byte) - Method in class org.usb4java.Transfer
-
Sets the bitwise OR combination of libusb transfer flags.
- setInterfaceAltSetting(DeviceHandle, int, int) - Static method in class org.usb4java.LibUsb
-
Activate an alternate setting for an interface.
- setIsoPacketLengths(Transfer, int) - Static method in class org.usb4java.LibUsb
-
Convenience function to set the length of all packets in an isochronous
transfer, based on the
Transfer.numIsoPackets()
field.
- setLength(int) - Method in class org.usb4java.IsoPacketDescriptor
-
Sets the length of data to request in this packet.
- setLength(int) - Method in class org.usb4java.Transfer
-
Sets the length of the data buffer.
- setLocale(String) - Static method in class org.usb4java.LibUsb
-
Set the language, and only the language, not the encoding! used for
translatable libusb messages.
- setNumIsoPackets(int) - Method in class org.usb4java.Transfer
-
Sets the number of isochronous packets.
- setOption(Context, int) - Static method in class org.usb4java.LibUsb
-
Set an option in the library.
- setOption(Context, int, int) - Static method in class org.usb4java.LibUsb
-
Set an option in the library.
- setPollfdNotifiers(Context, PollfdListener, Object) - Static method in class org.usb4java.LibUsb
-
Register notification functions for file descriptor additions/removals.
- setStreamId(int) - Method in class org.usb4java.Transfer
-
Set a transfer's bulk stream id.
- setTimeout(long) - Method in class org.usb4java.Transfer
-
Sets the timeout for this transfer in milliseconds.
- setType(byte) - Method in class org.usb4java.Transfer
-
Sets the type of the endpoint.
- setUserData(Object) - Method in class org.usb4java.Transfer
-
Sets the user data object, representing user context data to pass to
the callback function and that can be accessed from there.
- setWIndex(short) - Method in class org.usb4java.ControlSetup
-
Sets the index.
- setWLength(short) - Method in class org.usb4java.ControlSetup
-
Sets the number of bytes to transfer.
- setWValue(short) - Method in class org.usb4java.ControlSetup
-
Sets the value.
- slice(ByteBuffer, int, int) - Static method in class org.usb4java.BufferUtils
-
Slices a part of the specified
ByteBuffer
into a new byte buffer
and returns it.
- SPEED_FULL - Static variable in class org.usb4java.LibUsb
-
The device is operating at full speed (12MBit/s).
- SPEED_HIGH - Static variable in class org.usb4java.LibUsb
-
The device is operating at high speed (480MBit/s).
- SPEED_LOW - Static variable in class org.usb4java.LibUsb
-
The device is operating at low speed (1.5MBit/s).
- SPEED_SUPER - Static variable in class org.usb4java.LibUsb
-
The device is operating at super speed (5000MBit/s).
- SPEED_SUPER_PLUS - Static variable in class org.usb4java.LibUsb
-
The device is operating at super speed plus (10000MBit/s).
- SPEED_UNKNOWN - Static variable in class org.usb4java.LibUsb
-
The OS doesn't report or know the device speed.
- SsEndpointCompanionDescriptor - Class in org.usb4java
-
A structure representing the superspeed endpoint companion descriptor.
- SsEndpointCompanionDescriptor() - Constructor for class org.usb4java.SsEndpointCompanionDescriptor
-
- SsUsbDeviceCapabilityDescriptor - Class in org.usb4java
-
A structure representing the SuperSpeed USB Device Capability descriptor.
- SsUsbDeviceCapabilityDescriptor() - Constructor for class org.usb4java.SsUsbDeviceCapabilityDescriptor
-
- status() - Method in class org.usb4java.IsoPacketDescriptor
-
Returns the status code for this packet.
- status() - Method in class org.usb4java.Transfer
-
Returns the status of the transfer.
- streamId() - Method in class org.usb4java.Transfer
-
Get a transfer's bulk stream id.
- strError(int) - Static method in class org.usb4java.LibUsb
-
Returns a string with a short description of the given error code, this
description is intended for displaying to the end user and will be in the
language set by
LibUsb.setLocale(String)
.
- submitTransfer(Transfer) - Static method in class org.usb4java.LibUsb
-
Submit a transfer.
- SUCCESS - Static variable in class org.usb4java.LibUsb
-
Success (no error).
- SUPER_SPEED_OPERATION - Static variable in class org.usb4java.LibUsb
-
Superspeed operation supported (5000MBit/s).