This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
first_steps:start [2016/07/12 10:35] – akalberer | first_steps:start [2016/07/12 10:37] (current) – akalberer | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== First Steps with LibusbJava ====== | ====== First Steps with LibusbJava ====== | ||
+ | |||
+ | <box 35% red right | **Important note for Windows**> | ||
+ | * getDeviceList() of libusb and Device.search() of LibusbJava return the first device with the corresponding VID, PID. In Windows a composite device is represented by multiple devices with the same VID, PID, so you will have to search for the one you want to use (see [[http:// | ||
+ | </ | ||
+ | |||
The following short example will show you how to use LibusbJava in your Java-Project. | The following short example will show you how to use LibusbJava in your Java-Project. | ||
The following code describes the required steps to do a bulk transfer to your device. | The following code describes the required steps to do a bulk transfer to your device. | ||
Line 10: | Line 15: | ||
- Release interface | - Release interface | ||
- Close the device | - Close the device | ||
- | |||
- | <box 100% red right | **Important note for Windows**> | ||
- | * getDeviceList() of libusb and Device.search() of LibusbJava return the first device with the corresponding VID, PID. In Windows a composite device is represented by multiple devices with the same VID, PID, so you have to search for the one you want to use (see [[http:// | ||
- | </ | ||
<code java> | <code java> |