A C D E F G H I L M O R S T U V W

A

AbstractDeviceInfo - Class in ch.ntb.usb.testApp
 
AbstractDeviceInfo() - Constructor for class ch.ntb.usb.testApp.AbstractDeviceInfo
 
AbstractDeviceInfo.TransferMode - Enum in ch.ntb.usb.testApp
 
addTreeModelListener(TreeModelListener) - Method in class ch.ntb.usb.usbView.UsbTreeModel
 

C

ch.ntb.usb - package ch.ntb.usb
Includes the main classes for the Java libusb wrapper.
ch.ntb.usb.logger - package ch.ntb.usb.logger
Logging related classes.
ch.ntb.usb.testApp - package ch.ntb.usb.testApp
A test application with a GUI to write to and read from a device (based on Swing).
ch.ntb.usb.usbView - package ch.ntb.usb.usbView
Displays the bus and device information of the currently attached devices in a tree (based on Swing).
close() - Method in class ch.ntb.usb.Device
Release the claimed interface and close the opened device.
closeUsbDevice() - Method in class ch.ntb.usb.testApp.TestDevice
 
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.

D

Device - Class in ch.ntb.usb
This class represents an USB device.
Device(short, short) - Constructor for class ch.ntb.usb.Device
 
Device(short, short, String) - Constructor for class ch.ntb.usb.Device
 
devStructAddr - Variable in class ch.ntb.usb.Usb_Device
The address of the device structure to be passed to usb_open.
doCompareData() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 

E

endpointPopup - Variable in class ch.ntb.usb.usbView.UsbView
 
ERROR_BAD_FILE_DESCRIPTOR - Static variable in class ch.ntb.usb.LibusbJava
System error codes.
ERROR_BUSY - Static variable in class ch.ntb.usb.LibusbJava
System error codes.
ERROR_INVALID_PARAMETER - Static variable in class ch.ntb.usb.LibusbJava
System error codes.
ERROR_IO_ERROR - Static variable in class ch.ntb.usb.LibusbJava
System error codes.
ERROR_NO_SUCH_DEVICE_OR_ADDRESS - Static variable in class ch.ntb.usb.LibusbJava
System error codes.
ERROR_NOT_ENOUGH_MEMORY - Static variable in class ch.ntb.usb.LibusbJava
System error codes.
ERROR_SUCCESS - Static variable in class ch.ntb.usb.LibusbJava
System error codes.
ERROR_TIMEDOUT - Static variable in class ch.ntb.usb.LibusbJava
System error codes.

F

fireTreeStructureChanged(Usb_Bus) - Method in class ch.ntb.usb.usbView.UsbTreeModel
The only event raised by this model is TreeStructureChanged with the root as path, i.e. the whole tree has changed.
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.
getAltinterface() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
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.
getBcdUSB() - Method in class ch.ntb.usb.Usb_Device_Descriptor
Returns the USB specification number to which the device complies to.
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.
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.
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.
getBmAttributes() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
Returns the attributes of this endpoint.
getBMaxPacketSize0() - Method in class ch.ntb.usb.Usb_Device_Descriptor
Returns the maximum packet size for endpoint zero.
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() - Static method in class ch.ntb.usb.USB
Returns the root Usb_Bus element.
getBus() - Method in class ch.ntb.usb.Usb_Device
Returns the reference to the bus to which this device is connected.
getChild(Object, int) - Method in class ch.ntb.usb.usbView.UsbTreeModel
Returns the child of parent at index index in the parent's child array.
getChildCount(Object) - Method in class ch.ntb.usb.usbView.UsbTreeModel
Returns the number of children of parent.
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.
getConfiguration() - Method in class ch.ntb.usb.Device
Returns the current configuration used.
getConfiguration() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
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, String) - Static method in class ch.ntb.usb.USB
Create a new device an register it in a device queue.
getDevice(short, short) - Static method in class ch.ntb.usb.USB
See USB.getDevice(short, short, String).
getDeviceDescriptor() - Method in class ch.ntb.usb.Device
Returns the device descriptor associated with this device.
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.testApp.AbstractDeviceInfo
 
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.testApp.AbstractDeviceInfo
 
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.
getIndexOfChild(Object, Object) - Method in class ch.ntb.usb.usbView.UsbTreeModel
Returns the index of child in parent.
getInEPBulk() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getInEPInt() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getInMode() - Method in class ch.ntb.usb.testApp.TestDevice
 
getInterface() - Method in class ch.ntb.usb.Device
Returns the current interface.
getInterface() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
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.
getISerialNumber() - Method in class ch.ntb.usb.Usb_Device_Descriptor
Returns the index of serial number string descriptor.
getLocation() - Method in class ch.ntb.usb.Usb_Bus
Returns the location in the USB bus linked list.
getLogger(String) - Static method in class ch.ntb.usb.logger.LogUtil
 
getManufacturer() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getMaxDataSize() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getMaxPacketSize() - Method in class ch.ntb.usb.Device
Returns the maximum packet size in bytes which is allowed to be transmitted at once.
getMaxPower() - Method in class ch.ntb.usb.Usb_Config_Descriptor
Returns the maximum power consumption in 2mA units.
getMode() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
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.
getOutEPBulk() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getOutEPInt() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getOutMode() - Method in class ch.ntb.usb.testApp.TestDevice
 
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.
getProduct() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getRoot() - Method in class ch.ntb.usb.usbView.UsbTreeModel
Returns the root of the tree.
getRootDev() - Method in class ch.ntb.usb.Usb_Bus
Get the root device of this bus.
getSendData() - Method in class ch.ntb.usb.testApp.TestDevice
 
getSerialVersion() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getSleepTimeout() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getTimeout() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
getTransferTypes() - Method in class ch.ntb.usb.testApp.TestDevice
 
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.

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().
initValues() - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
initValues() - Method in class ch.ntb.usb.testApp.TestDevice
 
isLeaf(Object) - Method in class ch.ntb.usb.usbView.UsbTreeModel
Returns true if node is a leaf.
isOpen() - Method in class ch.ntb.usb.Device
Check if the device is open.

L

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
 
logBus(Usb_Bus) - Static method in class ch.ntb.usb.Utils
 
logBus(Usb_Bus, PrintStream) - Static method in class ch.ntb.usb.Utils
 
LogUtil - Class in ch.ntb.usb.logger
 
LogUtil() - Constructor for class ch.ntb.usb.logger.LogUtil
 

M

main(String[]) - Static method in class ch.ntb.usb.testApp.TestApp
 
main(String[]) - Static method in class ch.ntb.usb.usbView.UsbView
Launches this application

O

open(int, int, int) - Method in class ch.ntb.usb.Device
Opens the device and claims the specified configuration, interface and altinterface.
openUsbDevice() - Method in class ch.ntb.usb.testApp.TestDevice
 

R

read() - Method in class ch.ntb.usb.testApp.TestDevice
 
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.
removeTreeModelListener(TreeModelListener) - Method in class ch.ntb.usb.usbView.UsbTreeModel
 
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.
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.
REQ_TYPE_RECIP_DEVICE - Static variable in class ch.ntb.usb.USB
Specifies the intended recipient of the request.
REQ_TYPE_RECIP_ENDPOINT - Static variable in class ch.ntb.usb.USB
Specifies the intended recipient of the request.
REQ_TYPE_RECIP_INTERFACE - Static variable in class ch.ntb.usb.USB
Specifies the intended recipient of the request.
REQ_TYPE_RECIP_OTHER - Static variable in class ch.ntb.usb.USB
Specifies the intended recipient of the request.
REQ_TYPE_TYPE_CLASS - Static variable in class ch.ntb.usb.USB
Specifies the type of the request.
REQ_TYPE_TYPE_RESERVED - Static variable in class ch.ntb.usb.USB
Specifies the type of the request.
REQ_TYPE_TYPE_STANDARD - Static variable in class ch.ntb.usb.USB
Specifies the type of the request.
REQ_TYPE_TYPE_VENDOR - Static variable in class ch.ntb.usb.USB
Specifies the type of the request.
reset() - Method in class ch.ntb.usb.Device
Sends an USB reset to the device.
resetUsbDevice() - Method in class ch.ntb.usb.testApp.TestDevice
 

S

setAltinterface(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setConfiguration(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setDoCompareData(boolean) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setIdProduct(short) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setIdVendor(short) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setInEPBulk(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setInEPInt(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setInMode(AbstractDeviceInfo.TransferMode) - Method in class ch.ntb.usb.testApp.TestDevice
 
setInterface(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setLevel(Logger, Level) - Static method in class ch.ntb.usb.logger.LogUtil
 
setManufacturer(String) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setMaxDataSize(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setMode(AbstractDeviceInfo.TransferMode) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setOutEPBulk(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setOutEPInt(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setOutMode(AbstractDeviceInfo.TransferMode) - Method in class ch.ntb.usb.testApp.TestDevice
 
setProduct(String) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setResetOnFirstOpen(boolean, int) - Method in class ch.ntb.usb.Device
If enabled, the device is reset when first opened.
setSendData(String) - Method in class ch.ntb.usb.testApp.TestDevice
 
setSerialVersion(String) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setSleepTimeout(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 
setTimeout(int) - Method in class ch.ntb.usb.testApp.AbstractDeviceInfo
 

T

TestApp - Class in ch.ntb.usb.testApp
 
TestApp(TestDevice) - Constructor for class ch.ntb.usb.testApp.TestApp
 
TestDevice - Class in ch.ntb.usb.testApp
 
TestDevice() - Constructor for class ch.ntb.usb.testApp.TestDevice
 
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
 
toString() - Method in class ch.ntb.usb.Usb_Device_Descriptor
 
toString() - Method in class ch.ntb.usb.Usb_Endpoint_Descriptor
 
toString() - Method in class ch.ntb.usb.Usb_Interface
 
toString() - Method in class ch.ntb.usb.Usb_Interface_Descriptor
 

U

updateDescriptors() - Method in class ch.ntb.usb.Device
Updates the device and descriptor information from the bus.
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.
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.
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.
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.
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.
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_Descriptor.bDescriptorType).
USB_DT_CONFIG_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor sizes per descriptor type (Usb_Descriptor.bLength).
USB_DT_DEVICE - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor types (Usb_Descriptor.bDescriptorType).
USB_DT_DEVICE_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor sizes per descriptor type (Usb_Descriptor.bLength).
USB_DT_ENDPOINT - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor types (Usb_Descriptor.bDescriptorType).
USB_DT_ENDPOINT_AUDIO_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor sizes per descriptor type (Usb_Descriptor.bLength).
USB_DT_ENDPOINT_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor sizes per descriptor type (Usb_Descriptor.bLength).
USB_DT_HID - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor types (Usb_Descriptor.bDescriptorType).
USB_DT_HUB - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor types (Usb_Descriptor.bDescriptorType).
USB_DT_HUB_NONVAR_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor sizes per descriptor type (Usb_Descriptor.bLength).
USB_DT_INTERFACE - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor types (Usb_Descriptor.bDescriptorType).
USB_DT_INTERFACE_SIZE - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor sizes per descriptor type (Usb_Descriptor.bLength).
USB_DT_PHYSICAL - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor types (Usb_Descriptor.bDescriptorType).
USB_DT_REPORT - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor types (Usb_Descriptor.bDescriptorType).
USB_DT_STRING - Static variable in class ch.ntb.usb.Usb_Descriptor
Descriptor types (Usb_Descriptor.bDescriptorType).
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.
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.
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.
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.
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.
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.
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.
usb_strerror() - Static method in class ch.ntb.usb.LibusbJava
Returns the error string after an error occured.
USBException - Exception in ch.ntb.usb
 
USBException(String) - Constructor for exception ch.ntb.usb.USBException
 
USBTimeoutException - Exception in ch.ntb.usb
 
USBTimeoutException(String) - Constructor for exception ch.ntb.usb.USBTimeoutException
 
UsbTreeModel - Class in ch.ntb.usb.usbView
 
UsbTreeModel(Usb_Bus, JTextArea) - Constructor for class ch.ntb.usb.usbView.UsbTreeModel
Default constructor.
UsbView - Class in ch.ntb.usb.usbView
 
UsbView() - Constructor for class ch.ntb.usb.usbView.UsbView
This is the default constructor
Utils - Class in ch.ntb.usb
 
Utils() - Constructor for class ch.ntb.usb.Utils
 

V

valueChanged(TreeSelectionEvent) - Method in class ch.ntb.usb.usbView.UsbTreeModel
 
valueForPathChanged(TreePath, Object) - Method in class ch.ntb.usb.usbView.UsbTreeModel
Messaged when the user has altered the value for the item identified by path to newValue.
valueOf(String) - Static method in enum ch.ntb.usb.testApp.AbstractDeviceInfo.TransferMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.ntb.usb.testApp.AbstractDeviceInfo.TransferMode
Returns an array containing the constants of this enum type, in the order they're declared.

W

write(byte[], int) - Method in class ch.ntb.usb.testApp.TestDevice
 
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.

A C D E F G H I L M O R S T U V W