Package ch.ntb.usb

A Java wrapper for the libusb 0.1 and libusb-win32 USB library.

See:
          Description

Class Summary
Device This class represents an USB device.
LibLoader This class allows to load libraries in the normal way or as a system resource (e.g. form the current .jar file).
LibusbJava 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.
USB This class manages all USB devices and defines some USB specific constants.
Usb_Bus Represents an USB bus.
Usb_Config_Descriptor Represents the descriptor of a USB configuration.
Usb_Descriptor Common USB descriptor values.
Usb_Device Represents an USB device.
Usb_Device_Descriptor Represents the descriptor of a USB device.
Usb_Endpoint_Descriptor Represents the descriptor of an USB endpoint.
Usb_Interface Represents an USB interface.
Usb_Interface_Descriptor Represents the descriptor of a USB interface.
Utils  
 

Exception Summary
USBException  
USBTimeoutException  
 

Package ch.ntb.usb Description

A Java wrapper for the libusb 0.1 and libusb-win32 USB library.

The Java libusb wrapper is known to work on Linux, Windows and Mac, but should work on every operating system which supports libusb and Java.

This software has originally been developed by members of the Computer Science Laboratory at the University of Applied Sciences of Technology NTB, Buchs, Switzerland.

The main project page is http://libusbjava.sourceforge.net.

This version is distributed together with the Java API of the ZTEX EZ-USB SDK and bases on the SVN version of Apr. 6, 2009. It is extended by the ability to load the (OS dependent) libraries form system ressource (e.g. in the current .jar file), see the LibLoader Class.

LibusbJava.java is the JNI class to the libusbJava.so and LibusbJava.dll, respectively. Every class starting with Usb_ represents a descriptor of the bus structure which is retrieved by calling LibusbJava.usb_get_busses().

Related Resources

For more information about this project visit http://libusbjava.sourceforge.net.