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 |
BluetoothReader
蓝牙读写器操作类:
Bluetoot reader operation 第一步:调用 BluetoothReader.init(Context context) 函数初始化蓝牙相关服务,退出应用程序需要调用BluetoothReader.free() 是否蓝牙相关资源First step: Call BluetoothReader.init(Context context) to initiate BT service, call BluetoothReader.free() to exit application. |
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 |
IBluetoothReader
蓝牙读写器的接口
Interface of Bluetooth reader. |
interface |
IRFIDWithUHFUSB |
interface |
IUhfBle |
interface |
IUhfReader
R2、R5、R6 蓝牙和USB读写器包含的uhf特有内容
|
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 |
BluetoothReader_qcom
蓝牙读写器操作类:
Bluetoot reader operation 第一步:调用 BluetoothReader_qcom.init(Context context) 函数初始化蓝牙相关服务,退出应用程序需要调用BluetoothReader_qcom.free() 是否蓝牙相关资源First step: Call BluetoothReader_qcom.init(Context context) to initiate BT service, call BluetoothReader_qcom.free() to exit application. |
class |
RFIDWithUHFBLE_qcom
UHF模块低功耗蓝牙操作类
UHF module operation type |
class |
RFIDWithUHFUSB_qcom |