Klaus Reimer
230a433408
Implement JNI code for setPollfdNotifiers() method.
2013-03-05 21:06:46 +01:00
Klaus Reimer
2463d30408
Add Java part of polling and timing functions
2013-03-02 13:43:12 +01:00
Klaus Reimer
f8e3bb8c0e
Explicitly loading libusb-1.0.so from usb4java
2013-03-02 12:09:56 +01:00
Klaus Reimer
24da607def
Remove Test file
2013-03-01 22:20:19 +01:00
Klaus Reimer
b55f66bade
Implement synchronized IO
2013-03-01 22:18:38 +01:00
Klaus Reimer
d56ce5589e
Implement getDescriptor and getStringDescriptor methods
2013-03-01 21:13:54 +01:00
Klaus Reimer
dfb8104520
Implement libusbx descriptor stuff and some unit tests.
2013-03-01 20:22:42 +01:00
Klaus Reimer
2169a91c1a
Implement large parts of libusbx 1.0 JNI wrapper
2013-02-28 22:02:27 +01:00
Klaus Reimer
ad87ef7c19
Add toString methods
2013-02-28 07:15:33 +01:00
Klaus Reimer
90dfbd984a
Add missing Context class
2013-02-28 00:12:33 +01:00
Klaus Reimer
fa8e34a344
Started working on switch to libusbx 1.0
2013-02-28 00:12:07 +01:00
Klaus Reimer
9f208cb3cb
Implement support for control endpoints.
2013-02-24 21:59:11 +01:00
Klaus Reimer
99d6caa3d9
Unify type conversion
2013-02-24 21:43:55 +01:00
Klaus Reimer
614e493e5f
Fix wrong key type
2013-02-24 21:43:45 +01:00
Klaus Reimer
b39ca1aeb0
Add short package handling
2013-02-24 20:09:06 +01:00
Klaus Reimer
9a497e7708
Unified handling of bulk and interrupt IO
2013-02-24 17:56:24 +01:00
Klaus Reimer
5209e5c3ec
Correct processing of short packets
2013-02-24 17:36:19 +01:00
Klaus Reimer
40930d68d9
Improve IRP processing thread execution
2013-02-24 17:35:38 +01:00
Klaus Reimer
ab5c148f37
Switch from synchronized list to thread-safe queue to speed up
...
asynchronous operations
2013-02-24 16:30:36 +01:00
Klaus Reimer
1887a0d89e
Read multiple chunks if necessary
2013-02-24 16:02:56 +01:00
Klaus Reimer
25f0db3ecd
Send dataEventOccurred event when control IRP has finished.
2013-02-24 02:03:11 +01:00
Klaus Reimer
d694fe7d55
Ignore duplicate listeners.
2013-02-24 02:02:06 +01:00
Klaus Reimer
62f79e31ae
Fix wrong logic in isBusy
2013-02-20 17:43:31 +01:00
Klaus Reimer
c2fb86f1d8
Move os, arch and ext names into constants
2013-02-20 17:42:01 +01:00
Klaus Reimer
02ebe76c65
Improve error handling during native lib loading so javax.usb no
...
longer hides the important exceptions.
2013-02-20 17:30:08 +01:00
Klaus Reimer
c5d52c3ae2
Native libraries are no longer extracted to a temporary directory when
...
they are not in a JAR file.
2013-02-16 17:46:48 +01:00
Klaus Reimer
e89e800b22
Increase version
2013-02-16 15:23:05 +01:00
Klaus Reimer
ea52468ecd
Made library loading more universal to support loading shared libraries
...
for platforms not officially supported by usb4java.
2013-02-16 15:22:42 +01:00
Klaus Reimer
f36e7ec5f2
Rename Dump tool to Main. This tool is now executed automatically when
...
executing the JAR file. Maybe later I add some command line parameters
to use this tool as a Java implementation of lsusb.
2013-02-15 19:31:58 +01:00
Klaus Reimer
aebea196f7
Convert back into single project structure. Let's keep it simple
2013-02-15 19:27:41 +01:00
Klaus Reimer
2cb5374e98
New project structure and push version to 0.4.0
2012-11-12 20:39:16 +01:00
Klaus Reimer
e7948fc191
Change loading of native libraries. They are now included in the
...
classpath and extracted to a temporary directory during runtime. Looks
like I also fixed the loading problems of libusb.dylib on MacOS X by
changing the dependency path from @executable_path to @loader_path. So
no java.library.path and DYLD_LIBRARY_PATH needed anymore. Just add
usb4java as a dependency and that#s it.
2012-11-12 18:06:48 +01:00
Klaus Reimer
7affcc1864
Fix warnings
2012-11-12 18:06:48 +01:00
Klaus Reimer
40a72d0bc8
Added comments about usage of direct buffers in JNI wrapper.
2011-12-12 08:33:14 +01:00
Klaus Reimer
ffbd846872
Removed obsolete warning suppressions.
2011-10-31 11:03:27 +01:00
Klaus Reimer
71a98a2de6
JNI loading errors are now all logged so they are also visible when
...
using the high level API and so ALL four error messages are displayed
and not just the last one.
2011-10-31 11:02:12 +01:00
Klaus Reimer
0bd97df5bf
Prepared for release 0.3.3
2011-03-28 22:06:21 +02:00
Klaus Reimer
6b627678d1
Updated implementation version.
...
Added changelog entry.
2011-03-27 14:26:13 +02:00
Klaus Reimer
580e7bd8d5
Now trying to load the JNI library with the following lib names:
...
usb4java, usb4java32, libusb4java, libusb4java32
2011-03-27 14:21:28 +02:00
Klaus Reimer
a9e6d6f9db
Switched to version 0.3.1.
...
FIxed missing support for custom buffer offsets and lengths.
2011-03-05 16:53:59 +01:00
Klaus Reimer
38f8afe126
Changed version number.
2011-02-20 11:17:49 +01:00
Klaus Reimer
d2f4708b40
Added timeout configuration.
2011-02-20 11:15:56 +01:00
Klaus Reimer
3b7601b84f
Corrected static/final order.
2011-02-13 13:56:54 +01:00
Klaus Reimer
127238b599
Corrected javadoc.
2011-02-13 13:53:53 +01:00
Klaus Reimer
df9be6b67f
Added page about configuration.
2011-02-11 19:12:47 +01:00
Klaus Reimer
78e525d8b2
Added configuration.
...
Added scanHierarchy config to switch between scanning root_dev or devices list.
Added configuration to filter for vendors and products for a better performance when many devices are connected.
2011-02-11 17:51:16 +01:00
Klaus Reimer
f70aa2fb5b
Changed field to use interface type.
2011-02-08 22:30:01 +01:00
Klaus Reimer
d77b0495f3
Added two missing fields in hashCode.
...
Corrected order of fields in hashcode.
2011-02-08 22:26:33 +01:00
Klaus Reimer
715bc509bc
Added safety check in case the byte buffer is NULL.
2011-02-08 22:21:57 +01:00
Klaus Reimer
dad4b7c3ac
Made toString final
2011-02-06 15:50:30 +01:00