Package | Description |
---|---|
com.rscja.deviceapi | |
com.rscja.deviceapi.interfaces | |
com.rscja.team.qcom.deviceapi |
Modifier and Type | Class and Description |
---|---|
class |
RFIDWithUHFA8
UHF模块 A8操作类
UHF module operation type 第一步:通过 RFIDWithUHFA8.init(Context context) 连接读写器。Step 1: Connect to the usb of the reader via RFIDWithUHFA8.init(Context context) 第二步: 如果是设置参数,连接成功之后,调用对应的函数设置参数、读写操作。 如果是盘点标签先调用 RFIDWithUHFA8.setInventoryCallback(IUHFInventoryCallback inventoryCallback) 设置标签回调接口,有标签数据就会回调这个接口。
然后在调用RFIDWithUHFA8.startInventoryTag() 函数开始执行盘点。
注意: 在盘点标签的时候rfid模块只能响应RFIDWithUHFA8.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. |
class |
RFIDWithUHFA8NetWork
操作URA8设备以及UHF模块相关接口。(通过其他android设备控制A8)
Operate URA8 devices and related interfaces of UHF modules. 操作步骤: Steps: 第一步:先通过 RFIDWithUHFA8NetWork.setIPAndPort(String ip, int port) 设置要连接的IP地址, 再通过 RFIDWithUHFA8NetWork.init(Context context) 连接读写器串口。同时可以设置回调接口 RFIDWithUHFA8NetWork.setConnectionStatusCallback(ConnectionStatusCallback btStateCallback) 监听连接状态。Step 1: Connect to the serial port of the reader via RFIDWithUHFA8NetWork.setIPAndPort(String ip, int port) -> RFIDWithUHFA8NetWork.init(Context context) . |
class |
RFIDWithUHFA8RS232
操作URA8设备以及UHF模块相关接口。(通过其他android设备控制A8)
Operate URA8 devices and related interfaces of UHF modules. 操作步骤: Steps: 第一步:先通过 RFIDWithUHFA8RS232.setUart(String path) 设置要连接的IP地址, 再通过 RFIDWithUHFA8RS232.init(Context context) 连接读写器串口。同时可以设置回调接口 RFIDWithUHFA8RS232.setConnectionStatusCallback(ConnectionStatusCallback btStateCallback) 监听连接状态。Step 1: Connect to the serial port of the reader via RFIDWithUHFA8RS232.setUart(String path) -> RFIDWithUHFA8RS232.init(Context context) . |
Modifier and Type | Interface and Description |
---|---|
interface |
IRFIDWithUHFA8NetWork |
interface |
IRFIDWithUHFA8RS232 |
interface |
IRFIDWithUHFA8Uart |
interface |
IUHFA8 |
Modifier and Type | Class and Description |
---|---|
class |
RFIDWithUHFA8_qcom
UHF模块 A8操作类
UHF module operation type |
class |
RFIDWithUHFA8NetWork_qcom |
class |
RFIDWithUHFA8RS232_qcom |