Package | Description |
---|---|
com.rscja.deviceapi | |
com.rscja.deviceapi.interfaces | |
com.rscja.team.qcom.ble | |
com.rscja.team.qcom.custom | |
com.rscja.team.qcom.deviceapi |
Modifier and Type | Class and Description |
---|---|
class |
RFIDWithUHFBLE
Example Usage: public class RFIDWithUHFBLETest { public void test(){ ; RFIDWithUHFBLE rfid = RFIDWithUHFBLE.getInstance(); ; ; boolean result = rfid.init(Context context); ; ; if(!result) { ; ; ; //init fail ; ; ; return; ; ; } rfid.setConnectionStatusCallback(new ConnectionStatusCallback() { ; @Override ; public void getStatus (ConnectionStatus status, Object device){ ; ; if (status == ConnectionStatus.DISCONNECTED) { ; ; ; System.out.println("disconnect"); ; ; }else if (status == ConnectionStatus.CONNECTED) { ; ; ; System.out.println("CONNECTED"); ; ; ; } ; ; } ; }); ; if(!rfid.connect(ble mac)){ ; ; //connect fail ; ; ; return; ; ; ; ; } ; ; ; //connect success ; ; ; //configuration parameters ; ; ; //rfid.setFrequencyMode(xx) ; ; ; //rfid.setPower(30); ; ; rfid.setInventoryCallback(new IUHFInventoryCallback() { ; ; ; @Override ; ; public void callback (UHFTAGInfo uhftagInfo){ ; ; String epc = uhftagInfo.getEPC(); ; ; String rssi = uhftagInfo.getRssi(); ; ; ; ; //........ |
class |
RFIDWithUHFUSB
UHF模块手持机,USB通信操作类
UHF module handheld, USB operation interface 第一步:通过 RFIDWithUHFUSB.init(Context context) 连接读写器。Step 1: Connect to the usb of the reader via RFIDWithUHFUSB.init(Context context) 第二步: 如果是设置参数,连接成功之后,调用对应的函数设置参数、读写操作。 如果是盘点调用 RFIDWithUHFUSB.startInventoryTag() 函数开始执行盘点。
注意: 在盘点标签的时候rfid模块只能响应RFIDWithUHFUSB.stopInventory() 函数。Step 2: If it is to set parameters, after the connection is successful, call the corresponding function to set parameters, read and write operations. |
Modifier and Type | Interface and Description |
---|---|
interface |
IRFIDWithUHFUSB |
interface |
IUhfBle |
Modifier and Type | Class and Description |
---|---|
class |
EmptyUhfBle |
class |
RFIDWithUHFBLEN51_qcom |
class |
RFIDWithUHFBLEN52_qcom |
Modifier and Type | Class and Description |
---|---|
class |
UHFTemperatureTagsBLEAPI |
Modifier and Type | Class and Description |
---|---|
class |
RFIDWithUHFBLE_qcom
UHF模块低功耗蓝牙操作类
UHF module operation type |
class |
RFIDWithUHFUSB_qcom |