public class RFIDWithUHFA8 extends RFIDWithUHFUART
注意:
Attention:
1、使用前请确认您的机器已安装此模块。
1. Make sure this module is installed before using your device.
2、要正常使用模块需要在\libs\armeabi\, \libs\arm64-v8a\目录放置libDeviceAPI.so文件
2. Put libDeviceAPI.so file in directory \libs\armeabi\ , \libs\arm64-v8a\ then module can be used normally.
3、在操作设备前需要调用 init()
打开设备,使用完后调用 free()
关闭设备
3. call init()
to switch on the device before operating the device, call free()
to switch off device after using.
Bank_EPC, Bank_RESERVED, Bank_TID, Bank_USER, LockBank_ACCESS, LockBank_EPC, LockBank_KILL, LockBank_TID, LockBank_USER, LockMode_LOCK, LockMode_OPEN, LockMode_PLOCK, LockMode_POPEN
Modifier and Type | Method and Description |
---|---|
boolean |
free()
关闭UHF模块
Switch off UHF module |
int[] |
getANT()
获取当前设置的天线
Acquire current antenna |
static RFIDWithUHFA8 |
getInstance() |
boolean |
init()
初始化UHF模块,适应所有模块
Initialize UHF module(Support all modules) |
boolean |
isPowerOn()
判断设备是否上电
Judge the device is powered on or not. |
boolean |
setANT(int[] ant)
设置天线号
Setup antenna number |
void |
successNotify()
成功的通知提示(指示灯闪烁同时发出提示音)
Success Notification Sound (Play notification tune when light flashing) |
blockWriteData, eraseData, eraseData, generateLockCode, getConnectStatus, getCW, getEPCAndTIDUserMode, getFrequencyMode, getGen2, getPower, getProtocol, getPwm, getQTPara, getRFLink, getTemperature, getVersion, init_R2000, init, inventorySingleTag, killTag, killTag, lockMem, lockMem, readData, readData, readTagFromBuffer, setCW, setEPCAndTIDMode, setEPCAndTIDUserMode, setEPCMode, setFastID, setFilter, setFreHop, setFrequencyMode, setGen2, setPower, setProtocol, setPwm, setQTPara, setRFLink, setStatusCallback, setTagFocus, setUart, startInventoryTag, startInventoryTag, stopInventory, uhfBlockPermalock, uhfGBTagLock, uhfGBTagLock, uhfJump2Boot, uhfStartUpdate, uhfStopUpdate, uhfUpdating, writeData, writeData
public static RFIDWithUHFA8 getInstance() throws ConfigurationException
ConfigurationException
public boolean init()
RFIDWithUHFUART
init
in class RFIDWithUHFUART
public boolean free()
RFIDWithUHFUART
free
in interface IUHF
free
in class RFIDWithUHFUART
public int[] getANT()
public boolean setANT(int[] ant)
ant
- 下标索引加1表示天线号;下标元素的值如果是1表示设置该天线,0反之;(Return antenna status that has been setup, index will display antenna number.)public void successNotify()
public boolean isPowerOn()