- Changed the project name according to the new naming convention

- Changed package names according to the new naming convention


git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@277 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
uniederer
2012-03-16 12:17:47 +00:00
parent 8b297fd01e
commit 5ef50110e7
43 changed files with 362 additions and 362 deletions

View File

@@ -85,7 +85,7 @@ jfieldID usb_epDescFID_bLength, usb_epDescFID_bDescriptorType, \
* Method: usb_set_debug * Method: usb_set_debug
* Signature: (B)V * Signature: (B)V
*/ */
JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1debug JNIEXPORT void JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1debug
(JNIEnv *env, jclass obj, jint level) (JNIEnv *env, jclass obj, jint level)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -96,7 +96,7 @@ JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1debug
* Method: usb_init * Method: usb_init
* Signature: ()V * Signature: ()V
*/ */
JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbJava_usb_1init JNIEXPORT void JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1init
(JNIEnv *env, jclass obj) (JNIEnv *env, jclass obj)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -108,7 +108,7 @@ JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbJava_usb_1init
* Method: usb_find_busses * Method: usb_find_busses
* Signature: ()I * Signature: ()I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1find_1busses JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1find_1busses
(JNIEnv *env, jclass obj) (JNIEnv *env, jclass obj)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -120,7 +120,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1find_1busses
* Method: usb_find_devices * Method: usb_find_devices
* Signature: ()I * Signature: ()I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1find_1devices JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1find_1devices
(JNIEnv *env, jclass obj) (JNIEnv *env, jclass obj)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -132,7 +132,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1find_1devices
* Method: usb_get_busses * Method: usb_get_busses
* Signature: ()Lch/ntb/usb/Usb_Bus; * Signature: ()Lch/ntb/usb/Usb_Bus;
*/ */
JNIEXPORT jobject JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1busses JNIEXPORT jobject JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1busses
(JNIEnv *env, jclass obj) (JNIEnv *env, jclass obj)
{ {
@@ -545,7 +545,7 @@ JNIEXPORT jobject JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1busses
* Method: usb_open * Method: usb_open
* Signature: (Lch/ntb/usb/Usb_Device;)I * Signature: (Lch/ntb/usb/Usb_Device;)I
*/ */
JNIEXPORT jlong JNICALL Java_ch_ntb_usb_LibusbJava_usb_1open JNIEXPORT jlong JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1open
(JNIEnv *env, jclass obj, jobject dev) (JNIEnv *env, jclass obj, jobject dev)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -576,7 +576,7 @@ JNIEXPORT jlong JNICALL Java_ch_ntb_usb_LibusbJava_usb_1open
* Method: usb_close * Method: usb_close
* Signature: (I)I * Signature: (I)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1close JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1close
(JNIEnv *env, jclass obj, jlong dev_handle) (JNIEnv *env, jclass obj, jlong dev_handle)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -588,7 +588,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1close
* Method: usb_set_configuration * Method: usb_set_configuration
* Signature: (II)I * Signature: (II)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1configuration JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1configuration
(JNIEnv *env, jclass obj, jlong dev_handle, jint configuration) (JNIEnv *env, jclass obj, jlong dev_handle, jint configuration)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -600,7 +600,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1configuration
* Method: usb_set_altinterface * Method: usb_set_altinterface
* Signature: (II)I * Signature: (II)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1altinterface JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1altinterface
(JNIEnv *env, jclass obj, jlong dev_handle, jint alternate) (JNIEnv *env, jclass obj, jlong dev_handle, jint alternate)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -612,7 +612,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1altinterface
* Method: usb_clear_halt * Method: usb_clear_halt
* Signature: (II)I * Signature: (II)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1clear_1halt JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1clear_1halt
(JNIEnv *env, jclass obj, jlong dev_handle, jint ep) (JNIEnv *env, jclass obj, jlong dev_handle, jint ep)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -624,7 +624,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1clear_1halt
* Method: usb_reset * Method: usb_reset
* Signature: (I)I * Signature: (I)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1reset JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1reset
(JNIEnv *env, jclass obj, jlong dev_handle) (JNIEnv *env, jclass obj, jlong dev_handle)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -636,7 +636,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1reset
* Method: usb_claim_interface * Method: usb_claim_interface
* Signature: (II)I * Signature: (II)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1claim_1interface JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1claim_1interface
(JNIEnv *env, jclass obj, jlong dev_handle, jint interface) (JNIEnv *env, jclass obj, jlong dev_handle, jint interface)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -648,7 +648,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1claim_1interface
* Method: usb_release_interface * Method: usb_release_interface
* Signature: (II)I * Signature: (II)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1release_1interface JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1release_1interface
(JNIEnv *env, jclass obj, jlong dev_handle, jint interface) (JNIEnv *env, jclass obj, jlong dev_handle, jint interface)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -660,7 +660,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1release_1interface
* Method: usb_control_msg * Method: usb_control_msg
* Signature: (IIIII[BII)I * Signature: (IIIII[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1control_1msg JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1control_1msg
(JNIEnv *env, jclass obj, jlong dev_handle, jint requesttype, jint request, jint value, jint index, jbyteArray jbytes, jint size, jint timeout) (JNIEnv *env, jclass obj, jlong dev_handle, jint requesttype, jint request, jint value, jint index, jbyteArray jbytes, jint size, jint timeout)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -676,7 +676,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1control_1msg
* Method: usb_get_string * Method: usb_get_string
* Signature: (III)Ljava/lang/String; * Signature: (III)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1string JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1string
(JNIEnv *env, jclass obj, jlong dev_handle, jint index, jint langid) (JNIEnv *env, jclass obj, jlong dev_handle, jint index, jint langid)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -692,7 +692,7 @@ JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1string
* Method: usb_get_string_simple * Method: usb_get_string_simple
* Signature: (II)Ljava/lang/String; * Signature: (II)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1string_1simple JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1string_1simple
(JNIEnv *env, jclass obj, jlong dev_handle, jint index) (JNIEnv *env, jclass obj, jlong dev_handle, jint index)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -708,7 +708,7 @@ JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1string_1simple
* Method: usb_get_descriptor * Method: usb_get_descriptor
* Signature: (IBBI)Ljava/lang/String; * Signature: (IBBI)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1descriptor
(JNIEnv *env, jclass obj, jlong dev_handle, jbyte type, jbyte index, jint size) (JNIEnv *env, jclass obj, jlong dev_handle, jbyte type, jbyte index, jint size)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -725,7 +725,7 @@ JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor
* Method: usb_get_descriptor_by_endpoint * Method: usb_get_descriptor_by_endpoint
* Signature: (IIBBI)Ljava/lang/String; * Signature: (IIBBI)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor_1by_1endpoint JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1descriptor_1by_1endpoint
(JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyte type, jbyte index, jint size) (JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyte type, jbyte index, jint size)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -742,7 +742,7 @@ JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor_1by_1e
* Method: usb_bulk_write * Method: usb_bulk_write
* Signature: (II[BII)I * Signature: (II[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1bulk_1write JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1bulk_1write
(JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyteArray jbytes, jint size, jint timeout) (JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyteArray jbytes, jint size, jint timeout)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -757,7 +757,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1bulk_1write
* Method: usb_bulk_read * Method: usb_bulk_read
* Signature: (II[BII)I * Signature: (II[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1bulk_1read JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1bulk_1read
(JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyteArray jbytes, jint size, jint timeout) (JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyteArray jbytes, jint size, jint timeout)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -774,7 +774,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1bulk_1read
* Method: usb_interrupt_write * Method: usb_interrupt_write
* Signature: (II[BII)I * Signature: (II[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1write JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1interrupt_1write
(JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyteArray jbytes, jint size, jint timeout) (JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyteArray jbytes, jint size, jint timeout)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -789,7 +789,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1write
* Method: usb_interrupt_read * Method: usb_interrupt_read
* Signature: (II[BII)I * Signature: (II[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1read JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1interrupt_1read
(JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyteArray jbytes, jint size, jint timeout) (JNIEnv *env, jclass obj, jlong dev_handle, jint ep, jbyteArray jbytes, jint size, jint timeout)
{ {
clearLibusbJavaError(); clearLibusbJavaError();
@@ -806,7 +806,7 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1read
* Method: usb_strerror * Method: usb_strerror
* Signature: ()Ljava/lang/String; * Signature: ()Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1strerror JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1strerror
(JNIEnv *env, jclass obj){ (JNIEnv *env, jclass obj){
char *str; char *str;
@@ -826,7 +826,7 @@ JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1strerror
* Method: usb_error_no * Method: usb_error_no
* Signature: (I)I * Signature: (I)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1error_1no JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1error_1no
(JNIEnv *env, jclass obj, jint java_error_no){ (JNIEnv *env, jclass obj, jint java_error_no){
switch (java_error_no) { switch (java_error_no) {

View File

@@ -1,205 +1,205 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h> #include <jni.h>
/* Header for class ch_ntb_usb_LibusbJava */ /* Header for class ch_ntb_inf_libusbJava_LibusbJava */
#ifndef _Included_ch_ntb_usb_LibusbJava #ifndef _Included_ch_ntb_inf_libusbJava_LibusbJava
#define _Included_ch_ntb_usb_LibusbJava #define _Included_ch_ntb_inf_libusbJava_LibusbJava
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_set_debug * Method: usb_set_debug
* Signature: (I)V * Signature: (I)V
*/ */
JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1debug JNIEXPORT void JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1debug
(JNIEnv *, jclass, jint); (JNIEnv *, jclass, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_init * Method: usb_init
* Signature: ()V * Signature: ()V
*/ */
JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbJava_usb_1init JNIEXPORT void JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1init
(JNIEnv *, jclass); (JNIEnv *, jclass);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_find_busses * Method: usb_find_busses
* Signature: ()I * Signature: ()I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1find_1busses JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1find_1busses
(JNIEnv *, jclass); (JNIEnv *, jclass);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_find_devices * Method: usb_find_devices
* Signature: ()I * Signature: ()I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1find_1devices JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1find_1devices
(JNIEnv *, jclass); (JNIEnv *, jclass);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_get_busses * Method: usb_get_busses
* Signature: ()Lch/ntb/usb/Usb_Bus; * Signature: ()Lch/ntb/inf/libusbJava/Usb_Bus;
*/ */
JNIEXPORT jobject JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1busses JNIEXPORT jobject JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1busses
(JNIEnv *, jclass); (JNIEnv *, jclass);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_open * Method: usb_open
* Signature: (Lch/ntb/usb/Usb_Device;)J * Signature: (Lch/ntb/inf/libusbJava/Usb_Device;)J
*/ */
JNIEXPORT jlong JNICALL Java_ch_ntb_usb_LibusbJava_usb_1open JNIEXPORT jlong JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1open
(JNIEnv *, jclass, jobject); (JNIEnv *, jclass, jobject);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_close * Method: usb_close
* Signature: (J)I * Signature: (J)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1close JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1close
(JNIEnv *, jclass, jlong); (JNIEnv *, jclass, jlong);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_set_configuration * Method: usb_set_configuration
* Signature: (JI)I * Signature: (JI)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1configuration JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1configuration
(JNIEnv *, jclass, jlong, jint); (JNIEnv *, jclass, jlong, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_set_altinterface * Method: usb_set_altinterface
* Signature: (JI)I * Signature: (JI)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1altinterface JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1altinterface
(JNIEnv *, jclass, jlong, jint); (JNIEnv *, jclass, jlong, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_clear_halt * Method: usb_clear_halt
* Signature: (JI)I * Signature: (JI)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1clear_1halt JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1clear_1halt
(JNIEnv *, jclass, jlong, jint); (JNIEnv *, jclass, jlong, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_reset * Method: usb_reset
* Signature: (J)I * Signature: (J)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1reset JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1reset
(JNIEnv *, jclass, jlong); (JNIEnv *, jclass, jlong);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_claim_interface * Method: usb_claim_interface
* Signature: (JI)I * Signature: (JI)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1claim_1interface JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1claim_1interface
(JNIEnv *, jclass, jlong, jint); (JNIEnv *, jclass, jlong, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_release_interface * Method: usb_release_interface
* Signature: (JI)I * Signature: (JI)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1release_1interface JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1release_1interface
(JNIEnv *, jclass, jlong, jint); (JNIEnv *, jclass, jlong, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_control_msg * Method: usb_control_msg
* Signature: (JIIII[BII)I * Signature: (JIIII[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1control_1msg JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1control_1msg
(JNIEnv *, jclass, jlong, jint, jint, jint, jint, jbyteArray, jint, jint); (JNIEnv *, jclass, jlong, jint, jint, jint, jint, jbyteArray, jint, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_get_string * Method: usb_get_string
* Signature: (JII)Ljava/lang/String; * Signature: (JII)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1string JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1string
(JNIEnv *, jclass, jlong, jint, jint); (JNIEnv *, jclass, jlong, jint, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_get_string_simple * Method: usb_get_string_simple
* Signature: (JI)Ljava/lang/String; * Signature: (JI)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1string_1simple JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1string_1simple
(JNIEnv *, jclass, jlong, jint); (JNIEnv *, jclass, jlong, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_get_descriptor * Method: usb_get_descriptor
* Signature: (JBBI)Ljava/lang/String; * Signature: (JBBI)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1descriptor
(JNIEnv *, jclass, jlong, jbyte, jbyte, jint); (JNIEnv *, jclass, jlong, jbyte, jbyte, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_get_descriptor_by_endpoint * Method: usb_get_descriptor_by_endpoint
* Signature: (JIBBI)Ljava/lang/String; * Signature: (JIBBI)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor_1by_1endpoint JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1descriptor_1by_1endpoint
(JNIEnv *, jclass, jlong, jint, jbyte, jbyte, jint); (JNIEnv *, jclass, jlong, jint, jbyte, jbyte, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_bulk_write * Method: usb_bulk_write
* Signature: (JI[BII)I * Signature: (JI[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1bulk_1write JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1bulk_1write
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint); (JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_bulk_read * Method: usb_bulk_read
* Signature: (JI[BII)I * Signature: (JI[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1bulk_1read JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1bulk_1read
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint); (JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_interrupt_write * Method: usb_interrupt_write
* Signature: (JI[BII)I * Signature: (JI[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1write JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1interrupt_1write
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint); (JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_interrupt_read * Method: usb_interrupt_read
* Signature: (JI[BII)I * Signature: (JI[BII)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1read JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1interrupt_1read
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint); (JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_strerror * Method: usb_strerror
* Signature: ()Ljava/lang/String; * Signature: ()Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1strerror JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1strerror
(JNIEnv *, jclass); (JNIEnv *, jclass);
/* /*
* Class: ch_ntb_usb_LibusbJava * Class: ch_ntb_inf_libusbJava_LibusbJava
* Method: usb_error_no * Method: usb_error_no
* Signature: (I)I * Signature: (I)I
*/ */
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1error_1no JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1error_1no
(JNIEnv *, jclass, jint); (JNIEnv *, jclass, jint);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>ch.ntb.usb</name> <name>ch.ntb.inf.libusbJava</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@@ -5,5 +5,5 @@ Bundle-SymbolicName: ch.ntb.usb
Bundle-Version: 1.0.2 Bundle-Version: 1.0.2
Bundle-Vendor: libusbjava.sourceforge.net Bundle-Vendor: libusbjava.sourceforge.net
Require-Bundle: org.junit4 Require-Bundle: org.junit4
Export-Package: ch.ntb.usb Export-Package: ch.ntb.inf.libusbJava
Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-RequiredExecutionEnvironment: J2SE-1.5

View File

@@ -1,12 +1,12 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- ====================================================================== <!-- ======================================================================
ch.ntb.usb ch.ntb.inf.libusbJava
Ant tasks for ch.ntb.usb Ant tasks for ch.ntb.inf.libusbJava
====================================================================== --> ====================================================================== -->
<project name="ch.ntb.usb" basedir="." default="javadoc"> <project name="ch.ntb.inf.libusbJava" basedir="." default="javadoc">
<description> <description>
Ant tasks for ch.ntb.usb Ant tasks for ch.ntb.inf.libusbJava
</description> </description>
<tstamp /> <tstamp />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- ====================================================================== <!-- ======================================================================
ch.ntb.usb ch.ntb.inf.libusbJava
Ant deployment tasks for ch.ntb.usb Ant deployment tasks for ch.ntb.inf.libusbJava
NOTE: for deployment the properties NOTE: for deployment the properties
project.server.username project.server.username
@@ -10,9 +10,9 @@
(e.g. -Dproject.server.username=X as jvm command line argument). (e.g. -Dproject.server.username=X as jvm command line argument).
====================================================================== --> ====================================================================== -->
<project name="ch.ntb.usb.deployment" basedir="."> <project name="ch.ntb.inf.libusbJava.deployment" basedir=".">
<description> <description>
Ant deployment tasks for ch.ntb.usb Ant deployment tasks for ch.ntb.inf.libusbJava
</description> </description>
<import file="build.xml" /> <import file="build.xml" />

View File

@@ -1,5 +1,5 @@
#Thu Aug 24 14:28:28 CEST 2006 #Thu Aug 24 14:28:28 CEST 2006
project.name=ch.ntb.usb project.name=ch.ntb.inf.libusbJava
project.vendor=inf.ntb.ch project.vendor=inf.ntb.ch
project.dir.src=src project.dir.src=src
project.dir.bin=bin project.dir.bin=bin
@@ -7,4 +7,4 @@ project.dir.lib=lib
project.dir.doc=doc project.dir.doc=doc
project.dir.demos=demos project.dir.demos=demos
project.jarfile=${project.name} project.jarfile=${project.name}
project.manifest.mainclass=ch.ntb.usb.usbView.UsbView project.manifest.mainclass=ch.ntb.inf.libusbJava.usbView.UsbView

View File

@@ -1,6 +1,6 @@
# enable or disable logging # enable or disable logging
ch.ntb.usb/debug = true ch.ntb.inf.libusbJava/debug = true
# set and configure individual loggers here # set and configure individual loggers here
# the format is: projectName/debug/<loggerX> = <logger name>/<log level> # the format is: projectName/debug/<loggerX> = <logger name>/<log level>
ch.ntb.usb/debug/logger0 = ch.ntb.usb/OFF ch.ntb.inf.libusbJava/debug/logger0 = ch.ntb.inf.libusbJava/OFF
ch.ntb.usb/debug/logger1 = ch.ntb.usb.test/INFO ch.ntb.inf.libusbJava/debug/logger1 = ch.ntb.inf.libusbJava.test/INFO

View File

@@ -5,12 +5,12 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
import ch.ntb.usb.logger.LogUtil; import ch.ntb.inf.libusbJava.logger.LogUtil;
/** /**
* This class represents an USB device.<br> * This class represents an USB device.<br>
@@ -19,7 +19,7 @@ import ch.ntb.usb.logger.LogUtil;
*/ */
public class Device { public class Device {
private static final Logger logger = LogUtil.getLogger("ch.ntb.usb"); private static final Logger logger = LogUtil.getLogger("ch.ntb.inf.libusbJava");
private int maxPacketSize; private int maxPacketSize;
@@ -545,11 +545,11 @@ public class Device {
* *
* @param requestType * @param requestType
* USB device request type (USB specification 9.3, * USB device request type (USB specification 9.3,
* bmRequestType). Use constants from {@link ch.ntb.usb.USB} * bmRequestType). Use constants from {@link ch.ntb.inf.libusbJava.USB}
* (REQ_TYPE_xxx). * (REQ_TYPE_xxx).
* @param request * @param request
* specific request (USB specification 9.4, bRequest). Use * specific request (USB specification 9.4, bRequest). Use
* constants from {@link ch.ntb.usb.USB} (REQ_xxx). * constants from {@link ch.ntb.inf.libusbJava.USB} (REQ_xxx).
* @param value * @param value
* field that varies according to request (USB specification 9.4, * field that varies according to request (USB specification 9.4,
* wValue) * wValue)

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* This class represents the Java Native Interface to the shared library which * This class represents the Java Native Interface to the shared library which

View File

@@ -5,13 +5,13 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
import java.util.Iterator; import java.util.Iterator;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.logging.Logger; import java.util.logging.Logger;
import ch.ntb.usb.logger.LogUtil; import ch.ntb.inf.libusbJava.logger.LogUtil;
/** /**
* This class manages all USB devices and defines some USB specific constants.<br> * This class manages all USB devices and defines some USB specific constants.<br>
@@ -23,7 +23,7 @@ public class USB {
/** /**
* This request returns status for the specified recipient (USB spec 9.4.5). * This request returns status for the specified recipient (USB spec 9.4.5).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_GET_STATUS = 0x00; public static final int REQ_GET_STATUS = 0x00;
@@ -31,7 +31,7 @@ public class USB {
* This request is used to clear or disable a specific feature (USB spec * This request is used to clear or disable a specific feature (USB spec
* 9.4.1). * 9.4.1).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_CLEAR_FEATURE = 0x01; public static final int REQ_CLEAR_FEATURE = 0x01;
@@ -40,7 +40,7 @@ public class USB {
* This request is used to set or enable a specific feature (USB spec * This request is used to set or enable a specific feature (USB spec
* 9.4.9). * 9.4.9).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_SET_FEATURE = 0x03; public static final int REQ_SET_FEATURE = 0x03;
@@ -49,7 +49,7 @@ public class USB {
* This request sets the device address for all future device accesses (USB * This request sets the device address for all future device accesses (USB
* spec 9.4.6). * spec 9.4.6).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_SET_ADDRESS = 0x05; public static final int REQ_SET_ADDRESS = 0x05;
@@ -57,7 +57,7 @@ public class USB {
* This request returns the specified descriptor if the descriptor exists * This request returns the specified descriptor if the descriptor exists
* (USB spec 9.4.3). * (USB spec 9.4.3).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_GET_DESCRIPTOR = 0x06; public static final int REQ_GET_DESCRIPTOR = 0x06;
@@ -65,7 +65,7 @@ public class USB {
* This request is optional and may be used to update existing descriptors * This request is optional and may be used to update existing descriptors
* or new descriptors may be added (USB spec 9.4.8). * or new descriptors may be added (USB spec 9.4.8).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_SET_DESCRIPTOR = 0x07; public static final int REQ_SET_DESCRIPTOR = 0x07;
@@ -73,14 +73,14 @@ public class USB {
* This request returns the current device configuration value (USB spec * This request returns the current device configuration value (USB spec
* 9.4.2). * 9.4.2).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_GET_CONFIGURATION = 0x08; public static final int REQ_GET_CONFIGURATION = 0x08;
/** /**
* This request sets the device configuration (USB spec 9.4.7). * This request sets the device configuration (USB spec 9.4.7).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_SET_CONFIGURATION = 0x09; public static final int REQ_SET_CONFIGURATION = 0x09;
@@ -88,7 +88,7 @@ public class USB {
* This request returns the selected alternate setting for the specified * This request returns the selected alternate setting for the specified
* interface (USB spec 9.4.4). * interface (USB spec 9.4.4).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_GET_INTERFACE = 0x0A; public static final int REQ_GET_INTERFACE = 0x0A;
@@ -96,7 +96,7 @@ public class USB {
* This request allows the host to select an alternate setting for the * This request allows the host to select an alternate setting for the
* specified interface (USB spec 9.4.10). * specified interface (USB spec 9.4.10).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_SET_INTERFACE = 0x0B; public static final int REQ_SET_INTERFACE = 0x0B;
@@ -104,7 +104,7 @@ public class USB {
* This request is used to set and then report an endpoints synchronization * This request is used to set and then report an endpoints synchronization
* frame (USB spec 9.4.11). * frame (USB spec 9.4.11).
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_SYNCH_FRAME = 0x0C; public static final int REQ_SYNCH_FRAME = 0x0C;
@@ -117,7 +117,7 @@ public class USB {
* signifying there is no Data stage.<br> * signifying there is no Data stage.<br>
* Specifies bit 7 of bmRequestType. * Specifies bit 7 of bmRequestType.
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_TYPE_DIR_HOST_TO_DEVICE = (0x00 << 7), public static final int REQ_TYPE_DIR_HOST_TO_DEVICE = (0x00 << 7),
@@ -128,7 +128,7 @@ public class USB {
* Specifies the type of the request.<br> * Specifies the type of the request.<br>
* Specifies bits 6..5 of bmRequestType. * Specifies bits 6..5 of bmRequestType.
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_TYPE_TYPE_STANDARD = (0x00 << 5), public static final int REQ_TYPE_TYPE_STANDARD = (0x00 << 5),
@@ -144,7 +144,7 @@ public class USB {
* specified, the wIndex field identifies the interface or endpoint.<br> * specified, the wIndex field identifies the interface or endpoint.<br>
* Specifies bits 4..0 of bmRequestType. * Specifies bits 4..0 of bmRequestType.
* *
* @see ch.ntb.usb.Device#controlMsg(int, int, int, int, byte[], int, int, * @see ch.ntb.inf.libusbJava.Device#controlMsg(int, int, int, int, byte[], int, int,
* boolean) * boolean)
*/ */
public static final int REQ_TYPE_RECIP_DEVICE = 0x00, public static final int REQ_TYPE_RECIP_DEVICE = 0x00,
@@ -163,7 +163,7 @@ public class USB {
*/ */
public static int FULLSPEED_MAX_BULK_PACKET_SIZE = 64; public static int FULLSPEED_MAX_BULK_PACKET_SIZE = 64;
private static final Logger logger = LogUtil.getLogger("ch.ntb.usb"); private static final Logger logger = LogUtil.getLogger("ch.ntb.inf.libusbJava");
private static LinkedList<Device> devices = new LinkedList<Device>(); private static LinkedList<Device> devices = new LinkedList<Device>();

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
import java.io.IOException; import java.io.IOException;

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
public class USBTimeoutException extends USBException { public class USBTimeoutException extends USBException {

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* Represents an USB bus.<br> * Represents an USB bus.<br>

View File

@@ -5,15 +5,15 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* Represents the descriptor of a USB configuration.<br> * Represents the descriptor of a USB configuration.<br>
* A USB device can have several different configuration.<br> * A USB device can have several different configuration.<br>
* <br> * <br>
* The length of the configuration descriptor is * The length of the configuration descriptor is
* {@link ch.ntb.usb.Usb_Descriptor#USB_DT_CONFIG_SIZE} and the type is * {@link ch.ntb.inf.libusbJava.Usb_Descriptor#USB_DT_CONFIG_SIZE} and the type is
* {@link ch.ntb.usb.Usb_Descriptor#USB_DT_CONFIG}. * {@link ch.ntb.inf.libusbJava.Usb_Descriptor#USB_DT_CONFIG}.
* *
*/ */
public class Usb_Config_Descriptor extends Usb_Descriptor { public class Usb_Config_Descriptor extends Usb_Descriptor {

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* Common USB descriptor values.<br> * Common USB descriptor values.<br>

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* Represents an USB device.<br> * Represents an USB device.<br>

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* Represents the descriptor of a USB device.<br> * Represents the descriptor of a USB device.<br>
@@ -13,8 +13,8 @@ package ch.ntb.usb;
* yet important information about the device.<br> * yet important information about the device.<br>
* <br> * <br>
* The length of the device descriptor is * The length of the device descriptor is
* {@link ch.ntb.usb.Usb_Descriptor#USB_DT_DEVICE_SIZE} and the type is * {@link ch.ntb.inf.libusbJava.Usb_Descriptor#USB_DT_DEVICE_SIZE} and the type is
* {@link ch.ntb.usb.Usb_Descriptor#USB_DT_DEVICE}. * {@link ch.ntb.inf.libusbJava.Usb_Descriptor#USB_DT_DEVICE}.
* *
*/ */
public class Usb_Device_Descriptor extends Usb_Descriptor { public class Usb_Device_Descriptor extends Usb_Descriptor {

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* Represents the descriptor of an USB endpoint.<br> * Represents the descriptor of an USB endpoint.<br>
@@ -16,8 +16,8 @@ package ch.ntb.usb;
* the bus.<br> * the bus.<br>
* <br> * <br>
* The length of the configuration descriptor is * The length of the configuration descriptor is
* {@link ch.ntb.usb.Usb_Descriptor#USB_DT_ENDPOINT_SIZE} and the type is * {@link ch.ntb.inf.libusbJava.Usb_Descriptor#USB_DT_ENDPOINT_SIZE} and the type is
* {@link ch.ntb.usb.Usb_Descriptor#USB_DT_ENDPOINT}. * {@link ch.ntb.inf.libusbJava.Usb_Descriptor#USB_DT_ENDPOINT}.
* *
*/ */
public class Usb_Endpoint_Descriptor extends Usb_Descriptor { public class Usb_Endpoint_Descriptor extends Usb_Descriptor {

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* Represents an USB interface.<br> * Represents an USB interface.<br>

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
/** /**
* Represents the descriptor of a USB interface.<br> * Represents the descriptor of a USB interface.<br>
@@ -13,8 +13,8 @@ package ch.ntb.usb;
* endpoints into a functional group performing a single feature of the device.<br> * endpoints into a functional group performing a single feature of the device.<br>
* <br> * <br>
* The length of the interface descriptor is * The length of the interface descriptor is
* {@link ch.ntb.usb.Usb_Descriptor#USB_DT_INTERFACE_SIZE} and the type is * {@link ch.ntb.inf.libusbJava.Usb_Descriptor#USB_DT_INTERFACE_SIZE} and the type is
* {@link ch.ntb.usb.Usb_Descriptor#USB_DT_INTERFACE}. * {@link ch.ntb.inf.libusbJava.Usb_Descriptor#USB_DT_INTERFACE}.
* *
*/ */
public class Usb_Interface_Descriptor extends Usb_Descriptor { public class Usb_Interface_Descriptor extends Usb_Descriptor {

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb; package ch.ntb.inf.libusbJava;
import java.io.PrintStream; import java.io.PrintStream;

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb.logger; package ch.ntb.inf.libusbJava.logger;
import java.io.InputStream; import java.io.InputStream;
import java.util.Properties; import java.util.Properties;
@@ -20,7 +20,7 @@ public class LogUtil {
// debug this class // debug this class
private static final boolean debugLogUtil = false; private static final boolean debugLogUtil = false;
private static final String PLUGIN_ID = "ch.ntb.usb"; private static final String PLUGIN_ID = "ch.ntb.inf.libusbJava";
private static final String PROPERTIES_FILE = ".configure"; private static final String PROPERTIES_FILE = ".configure";
private static final String LOGGER_WARNING = "Warning in class " private static final String LOGGER_WARNING = "Warning in class "
+ LogUtil.class.getName() + LogUtil.class.getName()

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb.testApp; package ch.ntb.inf.libusbJava.testApp;
public abstract class AbstractDeviceInfo { public abstract class AbstractDeviceInfo {

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb.testApp; package ch.ntb.inf.libusbJava.testApp;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Color; import java.awt.Color;

View File

@@ -5,20 +5,20 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb.testApp; package ch.ntb.inf.libusbJava.testApp;
import java.util.Vector; import java.util.Vector;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
import ch.ntb.usb.Device; import ch.ntb.inf.libusbJava.Device;
import ch.ntb.usb.USB; import ch.ntb.inf.libusbJava.USB;
import ch.ntb.usb.USBException; import ch.ntb.inf.libusbJava.USBException;
import ch.ntb.usb.logger.LogUtil; import ch.ntb.inf.libusbJava.logger.LogUtil;
public class TestDevice extends AbstractDeviceInfo { public class TestDevice extends AbstractDeviceInfo {
private static final Logger logger = LogUtil.getLogger("ch.ntb.usb.test"); private static final Logger logger = LogUtil.getLogger("ch.ntb.inf.libusbJava.test");
private String sendData = "0x5b 0x02 0x01 0x00 0x03 0x03 0xf0 0xf0 0x1f"; private String sendData = "0x5b 0x02 0x01 0x00 0x03 0x03 0xf0 0xf0 0x1f";

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb.usbView; package ch.ntb.inf.libusbJava.usbView;
import java.util.Vector; import java.util.Vector;
@@ -18,14 +18,14 @@ import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.TreeModel; import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath; import javax.swing.tree.TreePath;
import ch.ntb.usb.LibusbJava; import ch.ntb.inf.libusbJava.LibusbJava;
import ch.ntb.usb.Usb_Bus; import ch.ntb.inf.libusbJava.Usb_Bus;
import ch.ntb.usb.Usb_Config_Descriptor; import ch.ntb.inf.libusbJava.Usb_Config_Descriptor;
import ch.ntb.usb.Usb_Device; import ch.ntb.inf.libusbJava.Usb_Device;
import ch.ntb.usb.Usb_Device_Descriptor; import ch.ntb.inf.libusbJava.Usb_Device_Descriptor;
import ch.ntb.usb.Usb_Endpoint_Descriptor; import ch.ntb.inf.libusbJava.Usb_Endpoint_Descriptor;
import ch.ntb.usb.Usb_Interface; import ch.ntb.inf.libusbJava.Usb_Interface;
import ch.ntb.usb.Usb_Interface_Descriptor; import ch.ntb.inf.libusbJava.Usb_Interface_Descriptor;
public class UsbTreeModel implements TreeModel, TreeSelectionListener { public class UsbTreeModel implements TreeModel, TreeSelectionListener {

View File

@@ -5,7 +5,7 @@
* http://libusbjava.sourceforge.net * http://libusbjava.sourceforge.net
* This library is covered by the LGPL, read LGPL.txt for details. * This library is covered by the LGPL, read LGPL.txt for details.
*/ */
package ch.ntb.usb.usbView; package ch.ntb.inf.libusbJava.usbView;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Component; import java.awt.Component;
@@ -28,16 +28,16 @@ import javax.swing.JTree;
import javax.swing.KeyStroke; import javax.swing.KeyStroke;
import javax.swing.tree.TreePath; import javax.swing.tree.TreePath;
import ch.ntb.usb.LibusbJava; import ch.ntb.inf.libusbJava.LibusbJava;
import ch.ntb.usb.Usb_Bus; import ch.ntb.inf.libusbJava.Usb_Bus;
import ch.ntb.usb.Usb_Config_Descriptor; import ch.ntb.inf.libusbJava.Usb_Config_Descriptor;
import ch.ntb.usb.Usb_Device; import ch.ntb.inf.libusbJava.Usb_Device;
import ch.ntb.usb.Usb_Device_Descriptor; import ch.ntb.inf.libusbJava.Usb_Device_Descriptor;
import ch.ntb.usb.Usb_Endpoint_Descriptor; import ch.ntb.inf.libusbJava.Usb_Endpoint_Descriptor;
import ch.ntb.usb.Usb_Interface_Descriptor; import ch.ntb.inf.libusbJava.Usb_Interface_Descriptor;
import ch.ntb.usb.testApp.TestApp; import ch.ntb.inf.libusbJava.testApp.TestApp;
import ch.ntb.usb.testApp.TestDevice; import ch.ntb.inf.libusbJava.testApp.TestDevice;
import ch.ntb.usb.testApp.AbstractDeviceInfo.TransferMode; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo.TransferMode;
public class UsbView extends JFrame { public class UsbView extends JFrame {

View File

@@ -7,9 +7,9 @@
*/ */
package ch.ntb.usb.demo; package ch.ntb.usb.demo;
import ch.ntb.usb.LibusbJava; import ch.ntb.inf.libusbJava.LibusbJava;
import ch.ntb.usb.Usb_Bus; import ch.ntb.inf.libusbJava.Usb_Bus;
import ch.ntb.usb.Utils; import ch.ntb.inf.libusbJava.Utils;
/** /**
* Initalises Libusb and prints the bus(ses) with attached devices to the * Initalises Libusb and prints the bus(ses) with attached devices to the
@@ -20,7 +20,7 @@ import ch.ntb.usb.Utils;
public class LogBus { public class LogBus {
private static void logBus() { private static void logBus() {
// if you don't use the ch.ntb.usb.Device class you must initialise // if you don't use the ch.ntb.inf.libusbJava.Device class you must initialise
// Libusb before use // Libusb before use
LibusbJava.usb_init(); LibusbJava.usb_init();
LibusbJava.usb_find_busses(); LibusbJava.usb_find_busses();

View File

@@ -7,9 +7,9 @@
*/ */
package ch.ntb.usb.demo; package ch.ntb.usb.demo;
import ch.ntb.usb.Device; import ch.ntb.inf.libusbJava.Device;
import ch.ntb.usb.USB; import ch.ntb.inf.libusbJava.USB;
import ch.ntb.usb.USBException; import ch.ntb.inf.libusbJava.USBException;
/** /**
* Demo class to demonstrate simple read and write operations to an USB device.<br> * Demo class to demonstrate simple read and write operations to an USB device.<br>

View File

@@ -26,16 +26,16 @@ import org.junit.AfterClass;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Test; import org.junit.Test;
import ch.ntb.usb.Device; import ch.ntb.inf.libusbJava.Device;
import ch.ntb.usb.LibusbJava; import ch.ntb.inf.libusbJava.LibusbJava;
import ch.ntb.usb.USB; import ch.ntb.inf.libusbJava.USB;
import ch.ntb.usb.USBException; import ch.ntb.inf.libusbJava.USBException;
import ch.ntb.usb.Usb_Bus; import ch.ntb.inf.libusbJava.Usb_Bus;
import ch.ntb.usb.Usb_Config_Descriptor; import ch.ntb.inf.libusbJava.Usb_Config_Descriptor;
import ch.ntb.usb.Usb_Device_Descriptor; import ch.ntb.inf.libusbJava.Usb_Device_Descriptor;
import ch.ntb.usb.Utils; import ch.ntb.inf.libusbJava.Utils;
import ch.ntb.usb.testApp.AbstractDeviceInfo; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo;
import ch.ntb.usb.testApp.AbstractDeviceInfo.TransferMode; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo.TransferMode;
public class DeviceTest { public class DeviceTest {

View File

@@ -21,14 +21,14 @@ import org.junit.AfterClass;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Test; import org.junit.Test;
import ch.ntb.usb.Device; import ch.ntb.inf.libusbJava.Device;
import ch.ntb.usb.LibusbJava; import ch.ntb.inf.libusbJava.LibusbJava;
import ch.ntb.usb.USB; import ch.ntb.inf.libusbJava.USB;
import ch.ntb.usb.USBException; import ch.ntb.inf.libusbJava.USBException;
import ch.ntb.usb.Usb_Bus; import ch.ntb.inf.libusbJava.Usb_Bus;
import ch.ntb.usb.Utils; import ch.ntb.inf.libusbJava.Utils;
import ch.ntb.usb.testApp.AbstractDeviceInfo; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo;
import ch.ntb.usb.testApp.AbstractDeviceInfo.TransferMode; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo.TransferMode;
public class MemoryLeakTest { public class MemoryLeakTest {

View File

@@ -7,13 +7,13 @@
*/ */
package ch.ntb.usb.test; package ch.ntb.usb.test;
import ch.ntb.usb.LibusbJava; import ch.ntb.inf.libusbJava.LibusbJava;
import ch.ntb.usb.Usb_Bus; import ch.ntb.inf.libusbJava.Usb_Bus;
import ch.ntb.usb.Usb_Config_Descriptor; import ch.ntb.inf.libusbJava.Usb_Config_Descriptor;
import ch.ntb.usb.Usb_Device; import ch.ntb.inf.libusbJava.Usb_Device;
import ch.ntb.usb.Usb_Endpoint_Descriptor; import ch.ntb.inf.libusbJava.Usb_Endpoint_Descriptor;
import ch.ntb.usb.Usb_Interface; import ch.ntb.inf.libusbJava.Usb_Interface;
import ch.ntb.usb.Usb_Interface_Descriptor; import ch.ntb.inf.libusbJava.Usb_Interface_Descriptor;
/** /**
* This class replicates the code from testlibusb.c supplied in the * This class replicates the code from testlibusb.c supplied in the

View File

@@ -7,8 +7,8 @@
*/ */
package ch.ntb.usb.test.devices; package ch.ntb.usb.test.devices;
import ch.ntb.usb.USB; import ch.ntb.inf.libusbJava.USB;
import ch.ntb.usb.testApp.AbstractDeviceInfo; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo;
public class AT90USB1287 extends AbstractDeviceInfo { public class AT90USB1287 extends AbstractDeviceInfo {

View File

@@ -7,8 +7,8 @@
*/ */
package ch.ntb.usb.test.devices; package ch.ntb.usb.test.devices;
import ch.ntb.usb.USB; import ch.ntb.inf.libusbJava.USB;
import ch.ntb.usb.testApp.AbstractDeviceInfo; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo;
public class CY7C68013A extends AbstractDeviceInfo { public class CY7C68013A extends AbstractDeviceInfo {

View File

@@ -7,7 +7,7 @@
*/ */
package ch.ntb.usb.test.devices; package ch.ntb.usb.test.devices;
import ch.ntb.usb.testApp.AbstractDeviceInfo; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo;
public class MX500 extends AbstractDeviceInfo { public class MX500 extends AbstractDeviceInfo {

View File

@@ -7,7 +7,7 @@
*/ */
package ch.ntb.usb.test.devices; package ch.ntb.usb.test.devices;
import ch.ntb.usb.testApp.AbstractDeviceInfo; import ch.ntb.inf.libusbJava.testApp.AbstractDeviceInfo;
public class MousePlus extends AbstractDeviceInfo { public class MousePlus extends AbstractDeviceInfo {

View File

@@ -1,13 +1,13 @@
################################################################ ################################################################
# define the usb test class for test/ch.ntb.usb.DeviceTest here # define the usb test class for test/ch.ntb.inf.libusbJava.DeviceTest here
# it must implement ch.ntb.usb.AbstractDeviceInfo # it must implement ch.ntb.inf.libusbJava.AbstractDeviceInfo
################################################################ ################################################################
# Atmel AVR AT90USB1287 # Atmel AVR AT90USB1287
testdeviceInfo=ch.ntb.usb.test.devices.AT90USB1287 testdeviceInfo=ch.ntb.inf.libusbJava.test.devices.AT90USB1287
# Cypress FX2 CY7C68013A # Cypress FX2 CY7C68013A
#testdeviceInfo=ch.ntb.usb.test.devices.CY7C68013A #testdeviceInfo=ch.ntb.inf.libusbJava.test.devices.CY7C68013A
# MX500 Mouse # MX500 Mouse
#testdeviceInfo=ch.ntb.usb.test.devices.MX500 #testdeviceInfo=ch.ntb.inf.libusbJava.test.devices.MX500
# Logitech Notebook Mouse Plus # Logitech Notebook Mouse Plus
#testdeviceInfo=ch.ntb.usb.test.devices.MousePlus #testdeviceInfo=ch.ntb.inf.libusbJava.test.devices.MousePlus

View File

@@ -64,7 +64,7 @@
<XPD:REF name="Model">BWFMxN62oEGNP+kKcODiEgAA</XPD:REF> <XPD:REF name="Model">BWFMxN62oEGNP+kKcODiEgAA</XPD:REF>
<XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="esczXY/2mk6uGBG2OciBTgAA"> <XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="esczXY/2mk6uGBG2OciBTgAA">
<XPD:OBJ name="NameLabel" type="LabelView" guid="w8ATpis9z0qGD3X44EmcUgAA"> <XPD:OBJ name="NameLabel" type="LabelView" guid="w8ATpis9z0qGD3X44EmcUgAA">
<XPD:ATTR name="Text" type="string">ch.ntb.usb</XPD:ATTR> <XPD:ATTR name="Text" type="string">ch.ntb.inf.libusbJava</XPD:ATTR>
</XPD:OBJ> </XPD:OBJ>
<XPD:OBJ name="StereotypeLabel" type="LabelView" guid="KtLxztNaak+48vZTNB7UNwAA"> <XPD:OBJ name="StereotypeLabel" type="LabelView" guid="KtLxztNaak+48vZTNB7UNwAA">
<XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR>
@@ -1441,7 +1441,7 @@ type Usb_Device
</XPD:OBJ> </XPD:OBJ>
<XPD:ATTR name="#OwnedElements" type="integer">16</XPD:ATTR> <XPD:ATTR name="#OwnedElements" type="integer">16</XPD:ATTR>
<XPD:OBJ name="OwnedElements[0]" type="UMLPackage" guid="BWFMxN62oEGNP+kKcODiEgAA"> <XPD:OBJ name="OwnedElements[0]" type="UMLPackage" guid="BWFMxN62oEGNP+kKcODiEgAA">
<XPD:ATTR name="Name" type="string">ch.ntb.usb</XPD:ATTR> <XPD:ATTR name="Name" type="string">ch.ntb.inf.libusbJava</XPD:ATTR>
<XPD:REF name="Namespace">+VhQCvPWpkq9N+U+GjchOQAA</XPD:REF> <XPD:REF name="Namespace">+VhQCvPWpkq9N+U+GjchOQAA</XPD:REF>
<XPD:ATTR name="#Views" type="integer">1</XPD:ATTR> <XPD:ATTR name="#Views" type="integer">1</XPD:ATTR>
<XPD:REF name="Views[0]">3aqcGmdQBU2yR8XWwbH6wgAA</XPD:REF> <XPD:REF name="Views[0]">3aqcGmdQBU2yR8XWwbH6wgAA</XPD:REF>