Modifier and Type | Method and Description |
---|---|
Context |
Device.getContext()
get the context this device is using
|
Modifier and Type | Method and Description |
---|---|
static void |
Device.freeList(Context ctx,
boolean unrefDev)
free the device list
|
static Device |
Device.getDuplicate(Context ctx,
int vid,
int pid,
int nofDuplicate) |
int |
Device.handleEvents(Context context)
Eventhandler for asychnronous transfers
|
static Device |
Device.open(Context ctx,
int vid,
int pid)
open device with following parameters
|
static Device |
Device.search(Context ctx,
int vid,
int pid)
search a desired device, this has limitations, if you have more
than one device with the same vid, pid you get just the first in the list
|
static void |
LibusbJava.setDebug(Context ctx,
int level)
Set log message verbosity.
|
Constructor and Description |
---|
Device(Context ctx,
java.nio.ByteBuffer nativeDevice) |