public class RxUsb_qcom extends UsbBase_qcom
UsbBase_qcom.DataCallback
dataCallback
Constructor and Description |
---|
RxUsb_qcom(UsbBase_qcom usbBase) |
Modifier and Type | Method and Description |
---|---|
UsbDevice |
closeport() |
UsbDeviceConnection |
getUsbDeviceConnection() |
void |
init(Context context) |
int |
openPort(UsbDevice device) |
UHFDataHandleBase.CMDInfo |
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
in class UsbBase_qcom
public UsbDevice closeport()
closeport
in class UsbBase_qcom
public int sendData(byte[] bytes)
sendData
in class UsbBase_qcom
public UsbDeviceConnection getUsbDeviceConnection()
getUsbDeviceConnection
in class UsbBase_qcom
public void init(Context context)
init
in class UsbBase_qcom
public UHFDataHandleBase.CMDInfo sendAndReceive(byte[] bytes, boolean clean)
public void setKeyEventCallback(KeyEventCallback KeyEventCallback)