public interface IUhfReader
Modifier and Type | Method and Description |
---|---|
boolean |
deleteAllTagToFlash()
删除R2、R6缓存的标签
Delete tag in buffer of R2 and R6 |
int |
getAllTagTotalFromFlash()
获取R2、R6 缓存的标签数量
Acquire tag amounts in buffer of R2 and R6. |
int |
getBattery()
获取电池电量
Acquire battery capacity |
java.util.List<UHFTAGInfo> |
getTagDataFromFlash()
获取R2、R6缓存的标签信息
Acquire tag information in buffer of R2 and R6 |
java.util.List<UHFTAGInfo> |
readTagFromBufferList_EpcTidUser()
获取缓冲区的标签数据
Acquire tag data in buffer #startInventoryTag() 启动识别标签之后,在子线程循环调用此函数不断获取缓冲区的标签信息,此函数支持同时获取EPC、TID、User区域的数据#startInventoryTag() enable identify tag, acquire tag information in buffer by this function in sub thread, this function supports acquiring data of EPC, TID and USER.备注:此函数需要配合特定的支持EPC+TID+USER 模式的STM32主板使用 comment: this function needs to cooperate with STM32 mainboard which supports specific EPC+TID+USER mode. 在调用 #stopInventory() 之后,应当退出子线程。after call #stopInventory() , need to exit sub thread. |
java.util.List<UHFTAGInfo> |
readTagFromBufferList()
获取缓冲区的标签数据
Acquire tag data in buffer #startInventoryTag() 启动识别标签之后,在子线程循环调用此函数不断获取缓冲区的标签信息,此函数只返回EPC数据#startInventoryTag() after enable identify tag, acquire tag information in buffer by this function in sub thread, this fucntion will return EPC data only 在调用 #stopInventory() 之后,应当退出子线程。after call #stopInventory() , exit sub tread. |
java.lang.String |
scanBarcode()
扫描条码
Scan barcode |
byte[] |
scanBarcodeToBytes()
扫描条码
Scan barcode |
boolean |
setBeep(boolean isOpen)
设置蜂鸣器开关
Setup buzzer ON/OFF |
void |
setKeyEventCallback(KeyEventCallback KeyEventCallback)
设置扫描按键回调
Setup SCAN button call back |
int getBattery()
boolean setBeep(boolean isOpen)
isBeep
- true:打开蜂鸣器(ON), false:关闭蜂鸣器(OFF)java.lang.String scanBarcode()
byte[] scanBarcodeToBytes()
void setKeyEventCallback(KeyEventCallback KeyEventCallback)
KeyEventCallback
- 按键回调接口(Keyboard call back)java.util.List<UHFTAGInfo> readTagFromBufferList()
#startInventoryTag()
启动识别标签之后,在子线程循环调用此函数不断获取缓冲区的标签信息,此函数只返回EPC数据#startInventoryTag()
after enable identify tag, acquire tag information in buffer by this function in sub thread, this fucntion will return EPC data only #stopInventory()
之后,应当退出子线程。#stopInventory()
, exit sub tread.java.util.List<UHFTAGInfo> readTagFromBufferList_EpcTidUser()
#startInventoryTag()
启动识别标签之后,在子线程循环调用此函数不断获取缓冲区的标签信息,此函数支持同时获取EPC、TID、User区域的数据#startInventoryTag()
enable identify tag, acquire tag information in buffer by this function in sub thread, this function supports acquiring data of EPC, TID and USER.#stopInventory()
之后,应当退出子线程。#stopInventory()
, need to exit sub thread.int getAllTagTotalFromFlash()
boolean deleteAllTagToFlash()
java.util.List<UHFTAGInfo> getTagDataFromFlash()