public class M775Authenticate extends RFIDWithUHFUART implements IM775Authenticate
RFIDWithUHFUART.init(Context context)
连接读写器。RFIDWithUHFUART.init(Context context)
setInventoryCallback(IUHFInventoryCallback)
,然后调用盘点函数RFIDWithUHFUART.startInventoryTag()
开始执行盘点。
注意: 在盘点标签的时候rfid模块只能响应RFIDWithUHFUART.stopInventory()
函数。setInventoryCallback(IUHFInventoryCallback)
, and then call the counting function RFIDWithUHFUART.startInventoryTag()
to start inventory.
*Note: When counting labels, the RFID module can only respond to the RFIDWithUHFUART.stopInventory()
functionsetInventoryCallback(IUHFInventoryCallback)
盘点回调接口的callback()函数中处理盘点到的标签数据setInventoryCallback(IUHFInventoryCallback)
callback interfaceRFIDWithUHFUART.free()
断开连接,如果断开之前正在盘点,请先停止盘点,在断开连接。RFIDWithUHFUART.free()
to disconnect. If you are taking inventory before disconnecting, please stop the inventory first and then disconnecting.Modifier and Type | Class and Description |
---|---|
static class |
M775Authenticate.AuthenticateInfo
AuthenticateInfo对象实体(AuthenticateInfo object entity)
|
static interface |
M775Authenticate.IUHFInventoryCallback
盘点回调函数(Inventory callback function)
|
UhfBase.ErrorCode
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
Modifier and Type | Method and Description |
---|---|
static M775Authenticate |
getInstance()
实例化M775Authenticate对象(Instantiating M775Authenticate Object)
|
void |
setInventoryCallback(M775Authenticate.IUHFInventoryCallback inventoryCallback) |
boolean |
setInventoryMessageMode()
设置读取Message模式(Set Read Message Mode)
|
M775Authenticate.AuthenticateInfo |
UHFAuthenticate()
认证函数(Authentication function)
|
M775Authenticate.AuthenticateInfo |
UHFAuthenticate(int filterBank,
int filterAddr,
int filterDataLen,
java.lang.String filterData)
认证函数(Authentication function)
|
blockWriteData, eraseData, eraseData, free, generateLockCode, getConnectStatus, getCW, getEPCAndTIDUserMode, getErrCode, getFrequencyMode, getGen2, getHardwareVersion, getPower, getProtocol, getRFLink, getTemperature, getVersion, init_R2000, init, init, inventorySingleTag, isInventorying, isPowerOn, killTag, killTag, lockMem, lockMem, readData, readData, readTagFromBuffer, setConnectionStatusCallback, setCW, setEPCAndTIDMode, setEPCAndTIDUserMode, setEPCAndUserReservedModeEx, setEPCMode, setFastID, setFilter, setFreHop, setFrequencyMode, setGen2, setInventoryCallback, setPower, setPowerOnBySystem, setPowerOnDynamic, setProtocol, setRFLink, setTagFocus, setUart, startInventoryTag, startInventoryTag, startLocation, startRadarLocation, stopInventory, stopLocation, stopRadarLocation, uhfBlockPermalock, uhfJump2Boot, uhfJump2Boot, uhfStartUpdate, uhfStopUpdate, uhfUpdating, writeData, writeData, writeDataToEpc, writeDataToEpc
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrCode, getHardwareVersion, init_R2000, isPowerOn, setEPCAndUserReservedModeEx, setPowerOnBySystem, setUart
blockWriteData, eraseData, eraseData, free, generateLockCode, getConnectStatus, getCW, getEPCAndTIDUserMode, getFrequencyMode, getGen2, getProtocol, getRFLink, getTemperature, getVersion, init, inventorySingleTag, isInventorying, killTag, killTag, lockMem, lockMem, readData, readData, readTagFromBuffer, setConnectionStatusCallback, setCW, setEPCAndTIDMode, setEPCAndTIDUserMode, setEPCMode, setFastID, setFilter, setFreHop, setFrequencyMode, setGen2, setInventoryCallback, setProtocol, setRFLink, setTagFocus, startInventoryTag, stopInventory, uhfBlockPermalock, uhfJump2Boot, uhfJump2Boot, uhfStartUpdate, uhfStopUpdate, uhfUpdating, writeData, writeData, writeDataToEpc, writeDataToEpc
public static M775Authenticate getInstance()
public M775Authenticate.AuthenticateInfo UHFAuthenticate(int filterBank, int filterAddr, int filterDataLen, java.lang.String filterData)
UHFAuthenticate
in interface IM775Authenticate
filterBank
- 掩码的数据区(0x00 为 Reserve 0x01 为 EPC,0x02 表示 TID,0x03 表示 USR)filterAddr
- 掩码的地址(Mask address)filterDataLen
- 掩码的长度(The length of the mask)filterData
- 掩码数据(Mask data)public M775Authenticate.AuthenticateInfo UHFAuthenticate()
UHFAuthenticate
in interface IM775Authenticate
public void setInventoryCallback(M775Authenticate.IUHFInventoryCallback inventoryCallback)
setInventoryCallback
in interface IM775Authenticate
inventoryCallback
- 盘点回调接口(Inventory callback interface)public boolean setInventoryMessageMode()
setInventoryMessageMode
in interface IM775Authenticate