[BREAKGLASS] Append-only mirror of github.com/sparrowwallet/usb4java
Go to file
Luca Longinotti 09d582157f Implement equals/hashCode for ControlSetup by comparing the two buffers fully (only thing you can do!).
Change equals/hashCode for IsoPacketDescriptor and related Transfer to use only their pointers to native memory.
This is because two Transfers may be the same on all accounts, but they still are not the same Transfer that's happening.
Also it interfered with removal of Transfers from a list in the callback: Java couldn't clearly distinguish them and started accessing members of some that were already freed, resulting in exceptions.
Furhter, implement toString for IsoPacketDescriptor, Transfer and ControlSetup.
2013-06-18 11:02:25 +02:00
src Implement equals/hashCode for ControlSetup by comparing the two buffers fully (only thing you can do!). 2013-06-18 11:02:25 +02:00
.gitignore Include full autoconf build system in repo 2013-04-30 21:03:08 +02:00
LICENSE.md Convert LICENSE.txt to LICENSE.md 2013-04-13 13:37:00 +02:00
pom.xml Bump version for testing. 2013-06-14 17:04:15 +02:00
README.md Convert README.txt to markdown and integrate CI status graphic 2013-04-22 19:32:01 +02:00

usb4java

USB library for Java based on libusb 1.0

Copyright (C) 2011 Klaus Reimer k@ailis.de

See LICENSE.md for licensing information.

This library can be used to access USB devices in Java. It is based on the native libusb 1.0 shared library and reflects this API as complete as possible. usb4java also implements the javax.usb (JSR80) API. So you can choose if you want to access the USB devices via the low-level libusb 1.0 API or via the high level javax.usb API.

The native libraries are included in pre-compiled form for Linux, Windows and Mac OS X in 32 and 64 bit versions. The libraries are automatically extracted and loaded so you don't need to care about them.

For more detailed information please visit the usb4java website.

Build Status