LibusbJava

libusb for Java

User Tools

Site Tools


start

This is an old revision of the document!


Overview

LibusbJava is a Java wrapper for libusb and is developed and maintained at the NTB.

Overview

This projects provides the necessary shared libraries in C++ and Java classes to access libusb trough the Java Native Interface. The class ch.ntb.usb.LibusbJava loads the shared library and provides the native interface to access the underlying libusb.
The source code is organized as follows:

  • java → the java source code
  • LibusbJava → the shared library

LibusbJava is licensed under the GNU Lesser General Public License (LGPL).
For any feedback or suggestions please use the Sourceforge project page at http://sourceforge.net/projects/libusbjava/.

You can use an USB device with LibusbJava with few steps: create a context, search a device, open it, claim an interface. After this you are ready to transfer data to your device (see First Steps).

News

2018/10/23: New version

full libusb support (interrupt and isochronous transfers added)

Important

  • LibusbJava has limited API at the moment. It is implemented just as far as we use it at the NTB with the MPC555 USB BDI.
start.1540283213.txt.gz · Last modified: 2018/10/23 10:26 by ursgraf