public class RFIDWithUHFBLEN52_qcom extends EmptyUhfBle implements IUhfBle, ConnectionStatusCallback
UhfBase.ErrorCode
Modifier and Type | Field and Description |
---|---|
static boolean |
isSupportE3 |
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, UPDATE_UHF
VERSION_BT_FIRMWARE, VERSION_BT_HARDWARE, VERSION_BT_SOFTWARE
UPDATE_STM32
Constructor and Description |
---|
RFIDWithUHFBLEN52_qcom() |
Modifier and Type | Method and Description |
---|---|
void |
getStatus(ConnectionStatus status,
java.lang.Object device) |
boolean |
isInventorying()
uhf 是否正在盘点
|
UHFTAGInfo |
readTagFromBuffer()
Deprecated.
|
java.util.List<UHFTAGInfo> |
readTagFromBufferList_EpcTidUser()
获取缓冲区的标签数据
|
java.util.List<UHFTAGInfo> |
readTagFromBufferList()
Deprecated.
|
boolean |
sendData(byte[] sendData)
发送指令(send data)
|
void |
setBluetoothReader(IBluetoothData bluetoothReader1) |
void |
setInventoryCallback(IUHFInventoryCallback inventoryCallback)
设置盘点回调接口,接收循环盘点到的标签数据
Set the inventory callback interface to receive the label data from the cyclic inventory 备注:需要在开始循环盘点 IUHF.startInventoryTag() 之前调用此方法。Note: This method needs to be called before starting the loop inventory IUHF.startInventoryTag() . |
boolean |
startInventoryTag()
开始循环识别标签。
|
void |
startInventoryThread() |
boolean |
startLocation(Context context,
java.lang.String label,
int bank,
int ptr,
IUHFLocationCallback locationCallback) |
boolean |
startRadarLocation(Context context,
java.lang.String tag,
int bank,
int ptr,
IUHFRadarLocationCallback locationCallback)
开始定位
Start location |
boolean |
stopInventory()
停止循环识别,在调用此函数之后应当退出循环获取缓冲区的标签信息的子线程
Stop auto reading, after call this function to exit sub threads of tag data of buffer. |
blinkOfLed, blockWriteData, closeLed, connect, connect, deleteAllTagToFlash, disconnect, eraseData, eraseData, free, generateLockCode, getAllTagTotalFromFlash, getBattery, getBleHardwareVersion, getBluetoothVersion, getConnectStatus, getCW, getEPCAndTIDUserMode, getFrequencyMode, getGen2, getNewTagTotalFromFlash, getPower, getProtocol, getReaderAwaitSleepTime, getRFLink, getSTM32Version, getTagDataFromFlash, getTemperature, getVersion, init, inventorySingleTag, killTag, killTag, lockMem, lockMem, openLed, readData, readData, scanBarcode, scanBarcodeToBytes, setBeep, setConnectionStatusCallback, setCW, setEPCAndTIDMode, setEPCAndTIDUserMode, setEPCMode, setFastID, setFilter, setFreHop, setFrequencyMode, setGen2, setKeyEventCallback, setOnDataChangeListener, setPower, setPowerOnDynamic, setProtocol, setReaderAwaitSleepTime, setRemoteBluetoothName, setRFLink, setSupportRssi, setTagFocus, startScanBTDevices, stopLocation, stopRadarLocation, stopScanBTDevices, triggerBeep, uhfBlockPermalock, uhfJump2Boot, uhfJump2Boot, uhfJump2BootSTM32, uhfStartUpdate, uhfStopUpdate, uhfUpdating, writeData, writeData, writeDataToEpc, writeDataToEpc
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setPowerOnDynamic, stopRadarLocation, uhfJump2BootSTM32
blockWriteData, eraseData, eraseData, free, generateLockCode, getConnectStatus, getCW, getEPCAndTIDUserMode, getFrequencyMode, getGen2, getProtocol, getRFLink, getTemperature, getVersion, init, inventorySingleTag, killTag, killTag, lockMem, lockMem, readData, readData, setConnectionStatusCallback, setCW, setEPCAndTIDMode, setEPCAndTIDUserMode, setEPCMode, setFastID, setFilter, setFreHop, setFrequencyMode, setGen2, setProtocol, setRFLink, setTagFocus, uhfBlockPermalock, uhfJump2Boot, uhfJump2Boot, uhfStartUpdate, uhfStopUpdate, uhfUpdating, writeData, writeData, writeDataToEpc, writeDataToEpc
deleteAllTagToFlash, getAllTagTotalFromFlash, getNewTagTotalFromFlash, getReaderAwaitSleepTime, getTagDataFromFlash, setReaderAwaitSleepTime
connect, connect, disconnect, free, getBleHardwareVersion, getBluetoothVersion, getConnectStatus, init, setConnectionStatusCallback, setOnDataChangeListener, setRemoteBluetoothName, startScanBTDevices, stopScanBTDevices
blinkOfLed, closeLed, getBattery, getSTM32Version, openLed, scanBarcode, scanBarcodeToBytes, setBeep, setKeyEventCallback, triggerBeep
getPower, setPower
stopLocation
public void setBluetoothReader(IBluetoothData bluetoothReader1)
public boolean startInventoryTag()
IUHF
开始循环识别标签。
Begin looping through the identification labels.
通过 IUHF.setInventoryCallback(IUHFInventoryCallback inventoryCallback)
这个回调接口获取标签数据,需要在开始盘点之前调用setInventoryCallback方法。
Get the label data through the callback interface IUHF.setInventoryCallback(IUHFInventoryCallback inventoryCallback)
, you need to call the setInventoryCallback method before starting the inventory.
备注:开启循环识别标签后模块只能响应IUHF.stopInventory()
函数 。
Note: The module can only respond to the IUHF.stopInventory()
function after the loop identification tag is turned on.
startInventoryTag
in interface IUHF
startInventoryTag
in class EmptyUhfBle
public UHFTAGInfo readTagFromBuffer()
IUHF
IUHF.setInventoryCallback(IUHFInventoryCallback inventoryCallback)
instead .readTagFromBuffer
in interface IUHF
readTagFromBuffer
in class EmptyUhfBle
public java.util.List<UHFTAGInfo> readTagFromBufferList_EpcTidUser()
readTagFromBufferList_EpcTidUser
in interface IUhfBle
readTagFromBufferList_EpcTidUser
in class EmptyUhfBle
public java.util.List<UHFTAGInfo> readTagFromBufferList()
IUhfReader
#setInventoryCallback(IUHFInventoryCallback inventoryCallback)
instead .readTagFromBufferList
in interface IUhfReader
readTagFromBufferList
in class EmptyUhfBle
public boolean stopInventory()
IUHF
stopInventory
in interface IUHF
stopInventory
in class EmptyUhfBle
public boolean startLocation(Context context, java.lang.String label, int bank, int ptr, IUHFLocationCallback locationCallback)
startLocation
in interface IHandheldRFID
startLocation
in class EmptyUhfBle
public boolean startRadarLocation(Context context, java.lang.String tag, int bank, int ptr, IUHFRadarLocationCallback locationCallback)
IUhfBle
startRadarLocation
in interface IHandheldRFID
startRadarLocation
in interface IUhfBle
startRadarLocation
in class EmptyUhfBle
context
- contexttag
- 要定位的标签(locate to the label)bank
- 标签的存储区(Storage area):IUHF.Bank_RESERVED
、IUHF.Bank_EPC
、IUHF.Bank_TID
、IUHF.Bank_USER
ptr
- 起始地址的偏移量(start address)public void startInventoryThread()
public void setInventoryCallback(IUHFInventoryCallback inventoryCallback)
IUHF
IUHF.startInventoryTag()
之前调用此方法。IUHF.startInventoryTag()
.setInventoryCallback
in interface IUHF
setInventoryCallback
in class EmptyUhfBle
inventoryCallback
- 盘点回调接口(inventory callback interface)public boolean isInventorying()
IUHF
isInventorying
in interface IUHF
isInventorying
in class EmptyUhfBle
public void getStatus(ConnectionStatus status, java.lang.Object device)
getStatus
in interface ConnectionStatusCallback
status
- 状态(status)device
- 目标设备(device)public boolean sendData(byte[] sendData)
IBluetoothReader
sendData
in interface IBluetoothReader
sendData
in class EmptyUhfBle