public class UsbDeviceConnection extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
bulkTransfer(UsbEndpoint endpoint,
byte[] buffer,
int length,
int timeout) |
boolean |
claimInterface(UsbInterface intf,
boolean force) |
void |
close() |
int |
controlTransfer(int requestType,
int request,
int value,
int index,
byte[] buffer,
int length,
int timeout) |
int |
getFileDescriptor() |
byte[] |
getRawDescriptors() |
String |
getSerial() |
boolean |
releaseInterface(UsbInterface intf) |
UsbRequest |
requestWait() |
public void close()
public int getFileDescriptor()
public byte[] getRawDescriptors()
public boolean claimInterface(UsbInterface intf, boolean force)
public boolean releaseInterface(UsbInterface intf)
public int controlTransfer(int requestType,
int request,
int value,
int index,
byte[] buffer,
int length,
int timeout)
public int bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int length, int timeout)
public UsbRequest requestWait()
public String getSerial()
Copyright © 2008-2013. All Rights Reserved.