public class UrxUsb_qcom extends UsbBase_qcom
UsbBase_qcom.DataCallbackdataCallback| Constructor and Description |
|---|
UrxUsb_qcom(UsbBase_qcom usbBase) |
| Modifier and Type | Method and Description |
|---|---|
UsbDevice |
closeport() |
UHFDataHandleBase.CMDInfo |
getUHFTAGInfo() |
UsbDeviceConnection |
getUsbDeviceConnection() |
void |
init(Context context) |
int |
openPort(UsbDevice device) |
UHFDataHandleBase.CMDInfo |
sendAndReceive(byte[] bytes) |
UHFDataHandleBase.CMDInfo |
sendAndReceive(byte[] bytes,
int timeOut) |
int |
sendData(byte[] bytes) |
getConnectionStatus, getDeviceList, getUsbDevice, setConnectionStatusCallback, setDataCallbackpublic UrxUsb_qcom(UsbBase_qcom usbBase)
public void init(Context context)
init in class UsbBase_qcompublic 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 UHFDataHandleBase.CMDInfo sendAndReceive(byte[] bytes)
public UHFDataHandleBase.CMDInfo sendAndReceive(byte[] bytes, int timeOut)
public UHFDataHandleBase.CMDInfo getUHFTAGInfo()
public UsbDeviceConnection getUsbDeviceConnection()
getUsbDeviceConnection in class UsbBase_qcom