This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start [2015/11/11 10:05] – ursgraf | start [2022/06/17 16:09] (current) – ursgraf | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Overview ====== | ====== Overview ====== | ||
- | LibusbJava is a Java wrapper for [[http:// | + | LibusbJava is a Java wrapper for [[http:// |
- | [{{: | + | [{{: |
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. \\ | 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: | The source code is organized as follows: | ||
- | * java -> the java source code | + | * LibusbJava_C -> the code for the shared library in C |
- | * LibusbJava | + | * LibusbJava_Java |
+ | * LibusbJavaFeature | ||
- | LibusbJava is licensed under the GNU Lesser General Public | + | LibusbJava is licensed under the Apache |
- | For any feedback or suggestions please use the Sourceforge | + | For any feedback or suggestions please use the GitLab |
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 [[.: | 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 [[.: | ||
Line 20: | Line 21: | ||
<WRAP blindcell 38%> | <WRAP blindcell 38%> | ||
==== News ==== | ==== News ==== | ||
- | <box right 100% | 2015.06.20: New website> | + | <box right 100% | 2022/5/31: New hosting> |
- | New website was released. | + | transferred from github to our gitlab server |
</ | </ | ||
+ | <box right 100% | 2018/10/23: New license> | ||
+ | change of license to Apache License 2.0 | ||
+ | </ | ||
+ | <box right 100% | 2018/10/23: New version> | ||
+ | full libusb support (interrupt and isochronous transfers added) | ||
+ | </ | ||
+ | |||
---- | ---- | ||
<box 100% green right | libusbJava> | <box 100% green right | libusbJava> | ||
- | * [[https://sourceforge.net/projects/libusbjava/| Code and Downloads]] | + | * [[https://gitlab.ost.ch/tech/inf/public/ |
- | * [[http:// | + | * [[http:// |
</ | </ | ||
<box 100% red right | **Important**> | <box 100% red right | **Important**> | ||
- | * LibusbJava has limited API at the moment. It is implemented just as far as we use it at the NTB with the [[http://wiki.ntb.ch/infoportal/embedded_systems/mpc555/usb-bdi|MPC555 USB BDI]]. | + | * Isochronous transfers work on Linux. On Windows, |
</ | </ | ||