# Index

C D E F G H I L O P R S T U W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## C

ch.ntb.usb - package ch.ntb.usb
  A Java wrapper for the libusb 0.1 and libusb-win32 USB library.
close() - Method in class ch.ntb.usb.Device
  Release the claimed interface and close the opened device.
controlMsg(int, int, int, int, byte[], int, int, boolean) - Method in class ch.ntb.usb.Device
  Performs a control request to the default control pipe on a device.
  The parameters mirror the types of the same name in the USB specification.

## D

Device - Class in ch.ntb.usb
  This class represents an USB device.
  To get an instance of an USB device use `USB.getDevice(...)`.
Device(short, short) - Constructor for class ch.ntb.usb.Device
Device(short, short, String) - Constructor for class ch.ntb.usb.Device

## E

ERROR_BAD_FILE_DESCRIPTOR - Static variable in class ch.ntb.usb.LibusbJava
  System error codes.
  This list is not complete! For more error codes see the file 'errorno.h' on your system.
ERROR_BUSY - Static variable in class ch.ntb.usb.LibusbJava
  System error codes.
  This list is not complete! For more error codes see the file 'errorno.h' on your system.
ERROR_INVALID_PARAMETER - Static variable in class ch.ntb.usb.LibusbJava
  System error codes.
  This list is not complete! For more error codes see the file 'errorno.h' on your system.
ERROR_IO_ERROR - Static variable in class ch.ntb.usb.LibusbJava
  System error codes.
  This list is not complete! For more error codes see the file 'errorno.h' on your system.
ERROR_NO_SUCH_DEVICE_OR_ADDRESS - Static variable in class ch.ntb.usb.LibusbJava
  System error codes.
  This list is not complete! For more error codes see the file 'errorno.h' on your system.
ERROR_NOT_ENOUGH_MEMORY - Static variable in class ch.ntb.usb.LibusbJava
  System error codes.
  This list is not complete! For more error codes see the file 'errorno.h' on your system.
ERROR_SUCCESS - Static variable in class ch.ntb.usb.LibusbJava
  System error codes.
  This list is not complete! For more error codes see the file 'errorno.h' on your system.
ERROR_TIMEDOUT - Static variable in class ch.ntb.usb.LibusbJava
  System error codes.
  This list is not complete! For more error codes see the file 'errorno.h' on your system.

## F

FULLSPEED_MAX_BULK_PACKET_SIZE - Static variable in class ch.ntb.usb.USB
  The maximum packet size of a bulk transfer when operating in fullspeed (12 MB/s) mode.

## G

getAltinterface() - Method in class ch.ntb.usb.Device
  Returns the alternative interface.
  This value is only valid after opening the device.
getAltsetting() - Method in class ch.ntb.usb.Usb_Interface
  Retuns an array of interface descriptors.
getBAlternateSetting() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the value used to select the alternate setting (`LibusbJava.usb_set_altinterface(long, int)`).
getBcdDevice() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the device release number.
  Assigned by the manufacturer of the device.
getBcdUSB() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the USB specification number to which the device complies to.
  This field reports the highest version of USB the device supports.
getBConfigurationValue() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the value to use as an argument to select this configuration (`LibusbJava.usb_set_configuration(long, int)`).
getBDescriptorType() - Method in class ch.ntb.usb.Usb_Descriptor
  Get the type of this descriptor.
getBDeviceClass() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the class code (Assigned by www.usb.org)
  If equal to zero, each interface specifies it's own class code.
getBDeviceProtocol() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the protocol code (Assigned by www.usb.org)
getBDeviceSubClass() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the subclass code (Assigned by www.usb.org)
getBEndpointAddress() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Returns the endpoint address.
  Bits 3..0: Endpoint number
  Bits 6..4: Reserved.
getBInterfaceClass() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the class code (Assigned by www.usb.org).
getBInterfaceNumber() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the number (identifier) of this interface.
getBInterfaceProtocol() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the protocol code (Assigned by www.usb.org).
getBInterfaceSubClass() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the subclass code (Assigned by www.usb.org).
getBInterval() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Returns the intervall for polling endpoint data transfers.
  Value in frame counts.
getBLength() - Method in class ch.ntb.usb.Usb_Descriptor
  Get the size of this descriptor in bytes.
getBmAttributes() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the power parameters for this configuration.
  Bit 7: Reserved, set to 1 (USB 1.0 Bus Powered)
  Bit 6: Self Powered
  Bit 5: Remote Wakeup
  Bit 4..0: Reserved, set to 0
getBmAttributes() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Returns the attributes of this endpoint.
  Bits 1..0: Transfer Type (see USB_ENDPOINT_TYPE_XXX).
  Bits 7..2: Reserved.
getBMaxPacketSize0() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the maximum packet size for endpoint zero.
  Valid sizes are 8, 16, 32, 64.
getBNumConfigurations() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the number of possible configurations supported at its current speed.
getBNumEndpoints() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the number of endpoints used for this interface.
getBNumInterfaces() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the number of interfaces.
getBRefresh() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
getBSynchAddress() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
getBus() - Method in class ch.ntb.usb.Usb_Device
  Returns the reference to the bus to which this device is connected.
getBus() - Static method in class ch.ntb.usb.USB
  Returns the root `Usb_Bus` element.
getChildren() - Method in class ch.ntb.usb.Usb_Device
  Returns a reference to the first child.
getConfig() - Method in class ch.ntb.usb.Usb_Device
  Returns the USB config descriptors.
getConfigDescriptors() - Method in class ch.ntb.usb.Device
  Returns the configuration descriptors associated with this device.
  The descriptors are updated by calling `Device.updateDescriptors()` or `Device.open(int, int, int)`.
getConfiguration() - Method in class ch.ntb.usb.Device
  Returns the current configuration used.
  This value is only valid after opening the device.
getDescriptor() - Method in class ch.ntb.usb.Usb_Device
  Returns the USB device descriptor.
getDevice() - Method in class ch.ntb.usb.Device
  Returns the Usb_Device instance associated with this device.
getDevice(short, short) - Static method in class ch.ntb.usb.USB
  See `USB.getDevice(short, short, String)`.
getDevice(short, short, String) - Static method in class ch.ntb.usb.USB
  Create a new device an register it in a device queue.
getDeviceDescriptor() - Method in class ch.ntb.usb.Device
  Returns the device descriptor associated with this device.
  The descriptor is updated by calling `Device.updateDescriptors()` or `Device.open(int, int, int)`.
getDevices() - Method in class ch.ntb.usb.Usb_Bus
  Get the first device ojects of the devices linked list.
getDevnum() - Method in class ch.ntb.usb.Usb_Device
  Returns the number assigned to this device.
getDirname() - Method in class ch.ntb.usb.Usb_Bus
  Returns the systems String representation of the bus.
getEndpoint() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns an array of endpoint descriptors.
getExtra() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the data of extra descriptor(s) if available.
getExtra() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Returns the data of extra descriptor(s) if available.
getExtra() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the data of extra descriptor(s) if available.
getExtralen() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the number of bytes of the extra descriptor.
getExtralen() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Returns the number of bytes of the extra descriptor.
getExtralen() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the number of bytes of the extra descriptor.
getFilename() - Method in class ch.ntb.usb.Device
  Returns the optional filename which is set when there are multiple devices with the same vendor and product id.
getFilename() - Method in class ch.ntb.usb.Usb_Device
  Returns the systems String representation.
getIConfiguration() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the index of the String descriptor describing this configuration.
getIdProduct() - Method in class ch.ntb.usb.Device
  Returns the product ID of the device.
getIdProduct() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the product ID (Assigned by www.usb.org)
getIdVendor() - Method in class ch.ntb.usb.Device
  Returns the vendor ID of the device.
getIdVendor() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the Vendor ID (Assigned by www.usb.org)
getIInterface() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
  Returns the index of the String descriptor describing this interface.
getIManufacturer() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the index of the manufacturer string descriptor.
  If this value is 0, no string descriptor is used.
getInterface() - Method in class ch.ntb.usb.Device
  Returns the current interface.
  This value is only valid after opening the device.
getInterface() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the USB interface descriptors.
getIProduct() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the index of the product string descriptor.
  If this value is 0, no string descriptor is used.
getISerialNumber() - Method in class ch.ntb.usb.Usb_Device_Descriptor
  Returns the index of serial number string descriptor.
  If this value is 0, no string descriptor is used.
getLocation() - Method in class ch.ntb.usb.Usb_Bus
  Returns the location in the USB bus linked list.
getMaxPacketSize() - Method in class ch.ntb.usb.Device
  Returns the maximum packet size in bytes which is allowed to be transmitted at once.
  The value is determined by reading the endpoint descriptor(s) when opening the device.
getMaxPower() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the maximum power consumption in 2mA units.
getNext() - Method in class ch.ntb.usb.Usb_Bus
  Returns the next bus object.
getNext() - Method in class ch.ntb.usb.Usb_Device
  Returns the pointer to the next device.
getNumAltsetting() - Method in class ch.ntb.usb.Usb_Interface
  Returns the number of alternate settings.
getNumChildren() - Method in class ch.ntb.usb.Usb_Device
  Returns the number of children of this device.
getPrev() - Method in class ch.ntb.usb.Usb_Bus
  Returns the previous bus object.
getPrev() - Method in class ch.ntb.usb.Usb_Device
  Returns the pointer to the previous device.
getRootDev() - Method in class ch.ntb.usb.Usb_Bus
  Get the root device of this bus.
getWMaxPacketSize() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Returns the maximum packet size of this endpoint is capable of sending or receiving.
getWTotalLength() - Method in class ch.ntb.usb.Usb_Config_Descriptor
  Returns the total length in bytes of all descriptors.
  When the configuration descriptor is read, it returns the entire configuration hierarchy which includes all related interface and endpoint descriptors.

## H

HIGHSPEED_MAX_BULK_PACKET_SIZE - Static variable in class ch.ntb.usb.USB
  The maximum packet size of a bulk transfer when operating in highspeed (480 MB/s) mode.

## I

init() - Static method in class ch.ntb.usb.USB
  Explicitly calls `LibusbJava.usb_init()`.
isOpen() - Method in class ch.ntb.usb.Device
  Check if the device is open.
  This checks only for a valid device handle.

## L

LibLoader - Class in ch.ntb.usb
  This class allows to load libraries in the normal way or as a system resource (e.g.
LibLoader() - Constructor for class ch.ntb.usb.LibLoader
LibusbJava - Class in ch.ntb.usb
  This class represents the Java Native Interface to the shared library which is (with some exceptions) a one-to-one representation of the libusb API.
LibusbJava() - Constructor for class ch.ntb.usb.LibusbJava
load(String) - Static method in class ch.ntb.usb.LibLoader
  Loads a library.
logBus(Usb_Bus) - Static method in class ch.ntb.usb.Utils
logBus(Usb_Bus, PrintStream) - Static method in class ch.ntb.usb.Utils

## O

open(int, int, int) - Method in class ch.ntb.usb.Device
  Opens the device and claims the specified configuration, interface and altinterface.
  First the bus is enumerated.

## P

Project Description - Search tag in class ch.ntb.usb.LibusbJava
  Section

## R

readBulk(int, byte[], int, int, boolean) - Method in class ch.ntb.usb.Device
  Read data from the device using a bulk transfer.
readInterrupt(int, byte[], int, int, boolean) - Method in class ch.ntb.usb.Device
  Read data from the device using a interrupt transfer.
Related Resources - Search tag in package ch.ntb.usb
  Section
REQ_CLEAR_FEATURE - Static variable in class ch.ntb.usb.USB
  This request is used to clear or disable a specific feature (USB spec 9.4.1).
REQ_GET_CONFIGURATION - Static variable in class ch.ntb.usb.USB
  This request returns the current device configuration value (USB spec 9.4.2).
REQ_GET_DESCRIPTOR - Static variable in class ch.ntb.usb.USB
  This request returns the specified descriptor if the descriptor exists (USB spec 9.4.3).
REQ_GET_INTERFACE - Static variable in class ch.ntb.usb.USB
  This request returns the selected alternate setting for the specified interface (USB spec 9.4.4).
REQ_GET_STATUS - Static variable in class ch.ntb.usb.USB
  This request returns status for the specified recipient (USB spec 9.4.5).
REQ_SET_ADDRESS - Static variable in class ch.ntb.usb.USB
  This request sets the device address for all future device accesses (USB spec 9.4.6).
REQ_SET_CONFIGURATION - Static variable in class ch.ntb.usb.USB
  This request sets the device configuration (USB spec 9.4.7).
REQ_SET_DESCRIPTOR - Static variable in class ch.ntb.usb.USB
  This request is optional and may be used to update existing descriptors or new descriptors may be added (USB spec 9.4.8).
REQ_SET_FEATURE - Static variable in class ch.ntb.usb.USB
  This request is used to set or enable a specific feature (USB spec 9.4.9).
REQ_SET_INTERFACE - Static variable in class ch.ntb.usb.USB
  This request allows the host to select an alternate setting for the specified interface (USB spec 9.4.10).
REQ_SYNCH_FRAME - Static variable in class ch.ntb.usb.USB
  This request is used to set and then report an endpoint’s synchronization frame (USB spec 9.4.11).
REQ_TYPE_DIR_DEVICE_TO_HOST - Static variable in class ch.ntb.usb.USB
  Identifies the direction of data transfer in the second phase of the control transfer.
  The state of the Direction bit is ignored if the wLength field is zero, signifying there is no Data stage.
  Specifies bit 7 of bmRequestType.
REQ_TYPE_DIR_HOST_TO_DEVICE - Static variable in class ch.ntb.usb.USB
  Identifies the direction of data transfer in the second phase of the control transfer.
  The state of the Direction bit is ignored if the wLength field is zero, signifying there is no Data stage.
  Specifies bit 7 of bmRequestType.
REQ_TYPE_RECIP_DEVICE - Static variable in class ch.ntb.usb.USB
  Specifies the intended recipient of the request.
  Requests may be directed to the device, an interface on the device, or a specific endpoint on a device.
REQ_TYPE_RECIP_ENDPOINT - Static variable in class ch.ntb.usb.USB
  Specifies the intended recipient of the request.
  Requests may be directed to the device, an interface on the device, or a specific endpoint on a device.
REQ_TYPE_RECIP_INTERFACE - Static variable in class ch.ntb.usb.USB
  Specifies the intended recipient of the request.
  Requests may be directed to the device, an interface on the device, or a specific endpoint on a device.
REQ_TYPE_RECIP_OTHER - Static variable in class ch.ntb.usb.USB
  Specifies the intended recipient of the request.
  Requests may be directed to the device, an interface on the device, or a specific endpoint on a device.
REQ_TYPE_TYPE_CLASS - Static variable in class ch.ntb.usb.USB
  Specifies the type of the request.
  Specifies bits 6..5 of bmRequestType.
REQ_TYPE_TYPE_RESERVED - Static variable in class ch.ntb.usb.USB
  Specifies the type of the request.
  Specifies bits 6..5 of bmRequestType.
REQ_TYPE_TYPE_STANDARD - Static variable in class ch.ntb.usb.USB
  Specifies the type of the request.
  Specifies bits 6..5 of bmRequestType.
REQ_TYPE_TYPE_VENDOR - Static variable in class ch.ntb.usb.USB
  Specifies the type of the request.
  Specifies bits 6..5 of bmRequestType.
reset() - Method in class ch.ntb.usb.Device
  Sends an USB reset to the device.

## S

setResetOnFirstOpen(boolean, int) - Method in class ch.ntb.usb.Device
  If enabled, the device is reset when first opened.

## T

toString() - Method in class ch.ntb.usb.Usb_Bus
toString() - Method in class ch.ntb.usb.Usb_Config_Descriptor
toString() - Method in class ch.ntb.usb.Usb_Device_Descriptor
toString() - Method in class ch.ntb.usb.Usb_Device
toString() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
toString() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
toString() - Method in class ch.ntb.usb.Usb_Interface

## U

updateDescriptors() - Method in class ch.ntb.usb.Device
  Updates the device and descriptor information from the bus.
  The descriptors can be read with `Device.getDeviceDescriptor()` and `Device.getConfigDescriptors()`.
USB - Class in ch.ntb.usb
  This class manages all USB devices and defines some USB specific constants.
USB() - Constructor for class ch.ntb.usb.USB
usb_bulk_read(long, int, byte[], int, int) - Static method in class ch.ntb.usb.LibusbJava
  Performs a bulk read request to the endpoint specified by ep.
usb_bulk_write(long, int, byte[], int, int) - Static method in class ch.ntb.usb.LibusbJava
  Performs a bulk write request to the endpoint specified by ep.
Usb_Bus - Class in ch.ntb.usb
  Represents an USB bus.
  This is the root class for the representation of the libusb USB structure.
Usb_Bus() - Constructor for class ch.ntb.usb.Usb_Bus
usb_claim_interface(long, int) - Static method in class ch.ntb.usb.LibusbJava
  Claim an interface of a device.
  Must be called!: `usb_claim_interface` must be called before you perform any operations related to this interface (like `usb_set_altinterface, usb_bulk_write`, etc).
USB_CLASS_AUDIO - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
USB_CLASS_COMM - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
USB_CLASS_DATA - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
USB_CLASS_HID - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
USB_CLASS_HUB - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
USB_CLASS_MASS_STORAGE - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
USB_CLASS_PER_INTERFACE - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
USB_CLASS_PRINTER - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
USB_CLASS_VENDOR_SPEC - Static variable in class ch.ntb.usb.Usb_Device_Descriptor
  Device and/or interface class codes.
usb_clear_halt(long, int) - Static method in class ch.ntb.usb.LibusbJava
  Clears any halt status on an endpoint.
usb_close(long) - Static method in class ch.ntb.usb.LibusbJava
  `usb_close` closes a device opened with `usb_open`.
Usb_Config_Descriptor - Class in ch.ntb.usb
  Represents the descriptor of a USB configuration.
  A USB device can have several different configuration.
  The length of the configuration descriptor is `Usb_Descriptor.USB_DT_CONFIG_SIZE` and the type is `Usb_Descriptor.USB_DT_CONFIG`.
Usb_Config_Descriptor() - Constructor for class ch.ntb.usb.Usb_Config_Descriptor
usb_control_msg(long, int, int, int, int, byte[], int, int) - Static method in class ch.ntb.usb.LibusbJava
  Performs a control request to the default control pipe on a device.
Usb_Descriptor - Class in ch.ntb.usb
  Common USB descriptor values.
Usb_Descriptor() - Constructor for class ch.ntb.usb.Usb_Descriptor
Usb_Device - Class in ch.ntb.usb
  Represents an USB device.
  An USB device has one device descriptor and it may have multiple configuration descriptors.
Usb_Device() - Constructor for class ch.ntb.usb.Usb_Device
Usb_Device_Descriptor - Class in ch.ntb.usb
  Represents the descriptor of a USB device.
  A USB device can only have one device descriptor.
Usb_Device_Descriptor() - Constructor for class ch.ntb.usb.Usb_Device_Descriptor
USB_DT_CONFIG - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_DT_CONFIG_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor sizes per descriptor type.
USB_DT_DEVICE - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_DT_DEVICE_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor sizes per descriptor type.
USB_DT_ENDPOINT - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_DT_ENDPOINT_AUDIO_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor sizes per descriptor type.
USB_DT_ENDPOINT_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor sizes per descriptor type.
USB_DT_HID - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_DT_HUB - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_DT_HUB_NONVAR_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor sizes per descriptor type.
USB_DT_INTERFACE - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_DT_INTERFACE_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor sizes per descriptor type.
USB_DT_PHYSICAL - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_DT_REPORT - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_DT_STRING - Static variable in class ch.ntb.usb.Usb_Descriptor
  Descriptor types.
USB_ENDPOINT_ADDRESS_MASK - Static variable in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Endpoint address mask (in bEndpointAddress).
Usb_Endpoint_Descriptor - Class in ch.ntb.usb
  Represents the descriptor of an USB endpoint.
  Endpoint descriptors are used to describe endpoints other than endpoint zero.
Usb_Endpoint_Descriptor() - Constructor for class ch.ntb.usb.Usb_Endpoint_Descriptor
USB_ENDPOINT_DIR_MASK - Static variable in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Endpoint address mask (in bEndpointAddress).
USB_ENDPOINT_TYPE_BULK - Static variable in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Possible endpoint types (in bmAttributes).
USB_ENDPOINT_TYPE_CONTROL - Static variable in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Possible endpoint types (in bmAttributes).
USB_ENDPOINT_TYPE_INTERRUPT - Static variable in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Possible endpoint types (in bmAttributes).
USB_ENDPOINT_TYPE_ISOCHRONOUS - Static variable in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Possible endpoint types (in bmAttributes).
USB_ENDPOINT_TYPE_MASK - Static variable in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Endpoint type mask (in bmAttributes).
usb_find_busses() - Static method in class ch.ntb.usb.LibusbJava
  `usb_find_busses` will find all of the busses on the system.
usb_find_devices() - Static method in class ch.ntb.usb.LibusbJava
  `usb_find_devices` will find all of the devices on each bus.
usb_get_busses() - Static method in class ch.ntb.usb.LibusbJava
  `usb_get_busses` returns a tree of descriptor objects.
  The tree represents the bus structure with devices, configurations, interfaces and endpoints.
usb_get_descriptor(long, byte, byte, int) - Static method in class ch.ntb.usb.LibusbJava
  Retrieves a descriptor from the device identified by the type and index of the descriptor from the default control pipe.
  See `LibusbJava.usb_get_descriptor_by_endpoint(long, int, byte, byte, int)` for a function that allows the control endpoint to be specified.
usb_get_descriptor_by_endpoint(long, int, byte, byte, int) - Static method in class ch.ntb.usb.LibusbJava
  Retrieves a descriptor from the device identified by the type and index of the descriptor from the control pipe identified by ep.
usb_get_string(long, int, int) - Static method in class ch.ntb.usb.LibusbJava
  Retrieves the string descriptor specified by index and langid from a device.
usb_get_string_simple(long, int) - Static method in class ch.ntb.usb.LibusbJava
  `usb_get_string_simple` is a wrapper around `usb_get_string` that retrieves the string description specified by index in the first language for the descriptor.
usb_init() - Static method in class ch.ntb.usb.LibusbJava
  Just like the name implies, `usb_init` sets up some internal structures.
Usb_Interface - Class in ch.ntb.usb
  Represents an USB interface.
  An interface is a group of alternate settings of a configuration.
Usb_Interface() - Constructor for class ch.ntb.usb.Usb_Interface
Usb_Interface_Descriptor - Class in ch.ntb.usb
  Represents the descriptor of a USB interface.
  The interface descriptor could be seen as a header or grouping of the endpoints into a functional group performing a single feature of the device.
  The length of the interface descriptor is `Usb_Descriptor.USB_DT_INTERFACE_SIZE` and the type is `Usb_Descriptor.USB_DT_INTERFACE`.
Usb_Interface_Descriptor() - Constructor for class ch.ntb.usb.Usb_Interface_Descriptor
usb_interrupt_read(long, int, byte[], int, int) - Static method in class ch.ntb.usb.LibusbJava
  Performs a interrupt read request to the endpoint specified by ep.
usb_interrupt_write(long, int, byte[], int, int) - Static method in class ch.ntb.usb.LibusbJava
  Performs an interrupt write request to the endpoint specified by ep.
USB_MAXALTSETTING - Static variable in class ch.ntb.usb.Usb_Interface
  Maximal number of alternate settings
USB_MAXCONFIG - Static variable in class ch.ntb.usb.Usb_Config_Descriptor
  Maximum number of configurations per device
USB_MAXENDPOINTS - Static variable in class ch.ntb.usb.Usb_Endpoint_Descriptor
  Maximum number of endpoints
USB_MAXINTERFACES - Static variable in class ch.ntb.usb.Usb_Interface_Descriptor
  Maximum number of interfaces
usb_open(Usb_Device) - Static method in class ch.ntb.usb.LibusbJava
  `usb_open` is to be used to open up a device for use.
usb_release_interface(long, int) - Static method in class ch.ntb.usb.LibusbJava
  Releases a previously claimed interface
usb_reset(long) - Static method in class ch.ntb.usb.LibusbJava
  Resets a device by sending a RESET down the port it is connected to.
  Causes re-enumeration: After calling `usb_reset`, the device will need to re-enumerate and thusly, requires you to find the new device and open a new handle.
usb_set_altinterface(long, int) - Static method in class ch.ntb.usb.LibusbJava
  Sets the active alternate setting of the current interface
usb_set_configuration(long, int) - Static method in class ch.ntb.usb.LibusbJava
  Sets the active configuration of a device
usb_set_debug(int) - Static method in class ch.ntb.usb.LibusbJava
  Sets the debugging level of libusb.
  The range is from 0 to 255, where 0 disables debug output and 255 enables all output.
usb_strerror() - Static method in class ch.ntb.usb.LibusbJava
  Returns the error string after an error occured.
USBException - Exception Class in ch.ntb.usb
USBException(String) - Constructor for exception class ch.ntb.usb.USBException
USBTimeoutException - Exception Class in ch.ntb.usb
USBTimeoutException(String) - Constructor for exception class ch.ntb.usb.USBTimeoutException
Utils - Class in ch.ntb.usb
Utils() - Constructor for class ch.ntb.usb.Utils

## W

writeBulk(int, byte[], int, int, boolean) - Method in class ch.ntb.usb.Device
  Write data to the device using a bulk transfer.
writeInterrupt(int, byte[], int, int, boolean) - Method in class ch.ntb.usb.Device
  Write data to the device using a interrupt transfer.

C D E F G H I L O P R S T U W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form