public class RxUsb_qcom extends RxUsbBase_qcom
构造器和说明 |
---|
RxUsb_qcom(UsbBase_qcom usbBase) |
限定符和类型 | 方法和说明 |
---|---|
UsbDevice |
closeport() |
UsbDeviceConnection |
getUsbDeviceConnection() |
void |
init(Context context) |
int |
openPort(UsbDevice device) |
byte[] |
sendAndReceive(byte[] bytes,
boolean clean) |
int |
sendData(byte[] bytes) |
void |
setKeyEventCallback(KeyEventCallback KeyEventCallback) |
getConnectionStatus, getDeviceList, getUsbDevice, setConnectionStatusCallback, setDataCallback
public RxUsb_qcom(UsbBase_qcom usbBase)
public int openPort(UsbDevice device)
openPort
在类中 UsbBase_qcom
public UsbDevice closeport()
closeport
在类中 UsbBase_qcom
public int sendData(byte[] bytes)
sendData
在类中 UsbBase_qcom
public UsbDeviceConnection getUsbDeviceConnection()
getUsbDeviceConnection
在类中 UsbBase_qcom
public void init(Context context)
init
在类中 UsbBase_qcom
public byte[] sendAndReceive(byte[] bytes, boolean clean)
sendAndReceive
在类中 RxUsbBase_qcom
public void setKeyEventCallback(KeyEventCallback KeyEventCallback)
setKeyEventCallback
在类中 RxUsbBase_qcom