Commit Graph

67 Commits

Author SHA1 Message Date
spandi
4c25d9fed0 Allow 0 size control messages
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@264 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2008-02-06 20:38:24 +00:00
spandi
b6d82b5754 support for 64 bit os (thanks to Jonas)
dummy root bus added to UsbView
tests updated

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@259 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-09-03 19:09:49 +00:00
spandi
a08d70e123 documentation updated
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@258 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-28 19:10:38 +00:00
spandi
c75f649ece typo fix
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@257 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-17 16:24:16 +00:00
spandi
920bb89f8b javadoc update
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@256 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-15 17:49:32 +00:00
spandi
36e03ecbb8 device handle check fixed (check for 0 and not <0 as this may be a valid address)
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@255 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-15 17:46:33 +00:00
spandi
2a13255fd0 support for system specific error numbers
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@253 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-11 15:02:40 +00:00
spandi
8dc3f8c515 device handle check fixed (check for 0 and not <0 as this may be a valid address)
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@252 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-11 12:54:13 +00:00
spandi
7fb6e148ed test class added which replicates the code from testlibusb.c
new test class for MX500 mouse
allow test with only read operations and interrupt and/or bulk transfers

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@251 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-11 12:42:19 +00:00
spandi
8be58d4b78 - LibusbWin changed to LibusbJava in error messages
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@245 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-20 19:26:59 +00:00
spandi
11f8d93094 - print extra descriptors as hex array
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@244 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-19 19:22:46 +00:00
spandi
0f627b66c6 - support for extra descriptor added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@243 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-14 21:57:42 +00:00
spandi
546472fd21 - file header updated with new project page and e-mail
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@238 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-05 17:10:46 +00:00
spandi
a5c1fd261a - derive USBException from IOException instead of Exception
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@235 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-03 18:57:20 +00:00
schlaepfer
6f0c071943 - set LogLevel to OFF if wrong .configure file is loaded
- Debug output added

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@233 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-01-12 14:45:56 +00:00
schlaepfer
53fcb783b8 - support for control transfer
- USBException replaced by ArrayIndexOutOfBoundsException on array boundary check

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@232 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-19 08:19:30 +00:00
schlaepfer
2d8c8fd9cc - AbstractDeviceInfo moved to ch.ntb.usb.testApp (no more references to test directory)
- initialization parameters for TestDevice added

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@229 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-12 12:49:32 +00:00
schlaepfer
416301ee83 - use pack instead of setSize to fit the windows to the correct size
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@228 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-07 08:06:41 +00:00
schlaepfer
07eab220ce - release resources and clear device handle
- tests for invalid parameters

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@227 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-06 11:20:45 +00:00
schlaepfer
f41c33f20d - missing copyright note added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@226 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-04 08:05:08 +00:00
schlaepfer
db8d66c992 - TestApp ported from SWT to Swing
- Start TestApp from UsbView with selected interface
- some refactoring

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@225 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-04 08:01:32 +00:00
schlaepfer
4a284332a6 - JScrollPane added
- expand tree 

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@221 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-29 11:44:49 +00:00
schlaepfer
af40b52734 - use getter methods to access Usb_xxx instance variables
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@220 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-29 11:44:06 +00:00
schlaepfer
9ec7c3c53c - project name updated
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@219 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 10:11:36 +00:00
schlaepfer
74647ec42f - document changes
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@212 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 07:40:24 +00:00
schlaepfer
17dcf1b09d - LibusbWin renamed to LibusbJava
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@208 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 13:05:08 +00:00
schlaepfer
48d62f7232 - output a warning instead of an exception if the properties file .configure can not be found
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@207 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 13:04:03 +00:00
schlaepfer
6ab623c1fb - licese information included
- readme added

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@202 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-22 09:11:17 +00:00
schlaepfer
c4337f3793 - associate descriptors with device
- update and get descriptors

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@198 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-20 08:52:00 +00:00
schlaepfer
77b6d90492 - loading of .configure file fixed for eclipse
- testdevice.properties updated for new package names

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@197 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-17 07:51:01 +00:00
schlaepfer
4d826dba80 - infoportal link updated
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@195 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-16 10:23:27 +00:00
schlaepfer
1f9758376a - log level check fixed
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@193 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-15 09:23:12 +00:00
schlaepfer
22d0cfe5a9 - -1 as value for alt_interface will omit the call to set_alt_interface
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@190 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-13 14:24:33 +00:00
schlaepfer
94e032b926 - usb_set_debug method added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@188 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-10-27 12:41:08 +00:00
schlaepfer
21926fdef8 - version updated
- .configure moved to src/bin directory
- UTF-8 decoder for filepath

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@185 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-10-26 12:39:53 +00:00
tkuratle
2a7c5c23d0 - isOpen added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@183 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-10-26 08:03:50 +00:00
schlaepfer
c6fbe3e654 - use final attribute for logger
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@182 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-10-24 13:58:05 +00:00
schlaepfer
8f3325e137 - throw FileNotFoundException
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@181 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-10-24 13:57:03 +00:00
schlaepfer
fe38d72f65 - Loading of properties file corrected
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@180 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-10-23 14:47:25 +00:00
schlaepfer
afbdb640d5 - set logger to final
- log level check corrected (null pointer exception)

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@179 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-10-23 13:14:35 +00:00
schlaepfer
b97aba3961 - plugin functionality added
- Logging adapted to use the .configure property file

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@178 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-10-20 15:00:56 +00:00
dummyinf
80543727b6 - doc updated
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@176 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-09-25 14:56:39 +00:00
dummyinf
927f51e379 - reset device handle on close
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@175 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-09-25 14:56:05 +00:00
schlaepfer
5d3259c085 - compiler warnings fixed
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@171 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-08-31 14:22:44 +00:00
schlaepfer
c7d6ad0b1a - setResetOnFirstOpen(): new timeout parameter
- javadoc changes

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@169 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-08-31 13:27:22 +00:00
schlaepfer
896c4714ae - unneeded constructor removed
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@168 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-08-24 14:26:01 +00:00
schlaepfer
ae6e3be1da - unneeded constructor removed
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@167 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-08-24 14:25:49 +00:00
schlaepfer
7f05775955 - javadoc update
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@166 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-08-24 14:23:10 +00:00
schlaepfer
4f4ccfdb57 - update root_bus on structure change
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@164 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-08-24 14:20:12 +00:00
schlaepfer
55f8dc6bad - package ch.ntb.usb.test renamed to ch.ntb.usb.tesApp
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@163 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-08-24 12:56:59 +00:00