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 developed and maintained at the NTB.

Overview

It provides the necessary shared libraries and Java classes to access libusb trough the Java Native Interface. This projects contains the Java library as well as the necessary shared library in C++. The class ch.ntb.usb.LibusbJava loads the shared library and provides the native interface to access libusb.
The source code is available at https://sourceforge.net/projects/libusbjava/. The 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 and then you are ready to transfer data to your device (see First Steps).

News

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.

Overview

start.1434707416.txt.gz · Last modified: 2016/02/25 13:33 (external edit)