public class RxUsb_qcom extends UsbBase_qcom
UsbBase_qcom.DataCallbackdataCallback| 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, setDataCallbackpublic RxUsb_qcom(UsbBase_qcom usbBase)
public int openPort(UsbDevice device)
openPort in class UsbBase_qcompublic UsbDevice closeport()
closeport in class UsbBase_qcompublic int sendData(byte[] bytes)
sendData in class UsbBase_qcompublic UsbDeviceConnection getUsbDeviceConnection()
getUsbDeviceConnection in class UsbBase_qcompublic void init(Context context)
init in class UsbBase_qcompublic UHFDataHandleBase.CMDInfo sendAndReceive(byte[] bytes, boolean clean)
public void setKeyEventCallback(KeyEventCallback KeyEventCallback)