LibusbJava

libusb for Java

User Tools

Site Tools


first_steps:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
first_steps:start [2015/06/17 10:59] akalbererfirst_steps:start [2016/07/12 10:37] (current) akalberer
Line 1: Line 1:
-====== First Steps with Libusb-Java ====== +====== First Steps with LibusbJava ====== 
-The following short example will show you how to use Libusb-Java in your Java-Project.+ 
 +<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://libusb.6.n5.nabble.com/libusb-How-to-access-composite-devices-properly-on-Windows-td5714029.html#a5714031|libusb Mailing List]]). 
 +</box> 
 + 
 +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.
     - Create a new Context (initialises the libusb, returns a context)     - Create a new Context (initialises the libusb, returns a context)
first_steps/start.1434531573.txt.gz · Last modified: 2016/02/25 13:33 (external edit)