public class TagAccess
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
TagAccess.BlockEraseAccessParams
Parameters for Block-Erase Access Operation.
|
class |
TagAccess.BlockPermalockAccessParams
Parameters for Block Permalock Access Operation.
|
class |
TagAccess.KillAccessParams
Parameters for Kill Access Operation.
|
class |
TagAccess.LockAccessParams
Parameters for Lock Access Operation.
|
class |
TagAccess.ReadAccessParams
Parameters for Read Access Operation.
|
class |
TagAccess.RecommisionAccessParams
Not Supported in the Android RFID SDK.
|
class |
TagAccess.Sequence
This class gives support for doing a sequence of Access Operations at one go.
|
class |
TagAccess.WriteAccessParams
Parameters for Write Access Operation.
|
class |
TagAccess.WriteSpecificFieldAccessParams
Parameters for Write Specific Field like TagID, Kill Password or
Access Password Access Operation.
|
| Modifier and Type | Field and Description |
|---|---|
com.zebra.rfid.api3.Impinj |
Impinj
Used to call perform Impinj's operations like QTReadParams, QTWriteParams, QTdata
|
NXP |
NXP
Used to call perform NXP's operations like SetEAS,ReadProtect,ResetReadProtect
|
TagAccess.Sequence |
OperationSequence
Used to perform a sequence of Access operations.
|
| Constructor and Description |
|---|
TagAccess() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
AssignMethods(java.lang.String m_sProtocol) |
void |
blockEraseEvent(TagAccess.BlockEraseAccessParams blockEraseAccessParams,
AccessFilter accessFilter,
AntennaInfo antennaInfo)
This method is used to perform Block-Erase on tags that match the AccessFilter
criteria if specified.
|
void |
blockEraseWait(java.lang.String tagID,
TagAccess.BlockEraseAccessParams blockEraseAccessParams,
AntennaInfo antennaInfo,
TagData tagData)
This method is used to perform Block-Erase operation on a specific tag.
|
void |
blockEraseWait(java.lang.String tagID,
TagAccess.BlockEraseAccessParams blockEraseAccessParams,
AntennaInfo antennaInfo,
TagData tagData,
boolean bPrefilter)
This method is used to perform Block-Erase operation on a specific tag.
|
void |
blockPermalockEvent(TagAccess.BlockPermalockAccessParams blockPermalockAccessParams,
AccessFilter accessFilter,
AntennaInfo antennaInfo)
Allows to permalock multiple words in a Tag’s Reserved, EPC, TID, or
User memory with a single command, or read the permalock satus of the
memory blocks in a Tag's User memory
|
TagData |
blockPermalockWait(java.lang.String tagID,
TagAccess.BlockPermalockAccessParams blockPermalockAccessParams,
AntennaInfo antennaInfo)
Allows to permalock multiple words in a Tag’s Reserved, EPC, TID, or
User memory with a single command, or read the permalock status of the
memory blocks in a Tag's User memory
|
TagData |
blockPermalockWait(java.lang.String tagID,
TagAccess.BlockPermalockAccessParams blockPermalockAccessParams,
AntennaInfo antennaInfo,
boolean bPrefilter)
Allows to permalock multiple words in a Tag’s Reserved, EPC, TID, or
User memory with a single command, or read the permalock status of the
memory blocks in a Tag's User memory
|
void |
blockWriteEvent(TagAccess.WriteAccessParams writeAccessParams,
AccessFilter accessFilter,
AntennaInfo antennaInfo)
This method is used to Block-Write on tags that match the AccessFilter
criteria if specified.
|
void |
blockWriteWait(java.lang.String tagID,
TagAccess.WriteAccessParams writeAccessParams,
AntennaInfo antennaInfo,
TagData tagData)
This method is used to perform Block-Write operation on a specific tag.
|
void |
blockWriteWait(java.lang.String tagID,
TagAccess.WriteAccessParams writeAccessParams,
AntennaInfo antennaInfo,
TagData tagData,
boolean bPrefilter,
boolean bTIDPrefilter)
This method is used to perform Block-Write operation on a specific tag.
|
protected void |
finalize()
Destructor
|
void |
getLastAccessResult(int[] successCount,
int[] failureCount)
This method retrives the result of the last performed access operation.
|
void |
init(com.zebra.rfid.api3.NativeLibParams nativeLibParams) |
void |
killEvent(TagAccess.KillAccessParams killAccessParams,
AccessFilter accessFilter,
AntennaInfo antennaInfo)
This method is used to kill tags that match the AccessFilter
criteria if specified.
|
void |
killWait(java.lang.String tagID,
TagAccess.KillAccessParams killAccessParams,
AntennaInfo antennaInfo)
This method is used to kill a specific tag.
|
void |
killWait(java.lang.String tagID,
TagAccess.KillAccessParams killAccessParams,
AntennaInfo antennaInfo,
boolean bPrefilter)
This method is used to kill a specific tag.
|
void |
lockEvent(TagAccess.LockAccessParams lockAccessParams,
AccessFilter accessFilter,
AntennaInfo antennaInfo)
This method is used to lock tags that match the AccessFilter
criteria if specified.
|
void |
lockWait(java.lang.String tagID,
TagAccess.LockAccessParams lockAccessParams,
AntennaInfo antennaInfo)
This method is used to lock a specific tag.
|
void |
lockWait(java.lang.String tagID,
TagAccess.LockAccessParams lockAccessParams,
AntennaInfo antennaInfo,
boolean bPrefilter)
This method is used to lock a specific tag.
|
void |
readEvent(TagAccess.ReadAccessParams readAccessParams,
AccessFilter accessFilter,
AntennaInfo antennaInfo)
This method is used to read memory bank data from tags that match the AccessFilter
criteria if specified.
|
TagData |
readWait(java.lang.String tagID,
TagAccess.ReadAccessParams readAccessParams,
AntennaInfo antennaInfo)
This method is used to read memory bank data from a specific tag.
|
TagData |
readWait(java.lang.String tagID,
TagAccess.ReadAccessParams readAccessParams,
AntennaInfo antennaInfo,
boolean bPrefilter)
This method is used to read memory bank data from a specific tag.
|
void |
recommisionEvent(TagAccess.RecommisionAccessParams recommisionAccessParams,
AccessFilter accessFilter,
AntennaInfo antennaInfo)
Not Supported in the Android RFID SDK.
|
void |
recommisionWait(java.lang.String tagID,
TagAccess.RecommisionAccessParams recommisionAccessParams,
AntennaInfo antennaInfo)
Not Supported in the Android RFID SDK.
|
void |
stopAccess()
This method stops the execution of the Tag Access Operation.
|
void |
writeAccessPasswordWait(java.lang.String tagID,
TagAccess.WriteSpecificFieldAccessParams writeSpecificFieldAccessParams,
AntennaInfo antennaInfo)
This method is used to write the access Password of a specific tag.
|
void |
writeEvent(TagAccess.WriteAccessParams writeAccessParams,
AccessFilter accessFilter,
AntennaInfo antennaInfo)
This method is used to write data to the memory bank data of tags that match the AccessFilter
criteria if specified.
|
void |
writeKillPasswordWait(java.lang.String tagID,
TagAccess.WriteSpecificFieldAccessParams writeSpecificFieldAccessParams,
AntennaInfo antennaInfo)
This method is used to write the Kill Password of a specific tag.
|
void |
writeTagIDWait(java.lang.String tagID,
TagAccess.WriteSpecificFieldAccessParams writeSpecificFieldAccessParams,
AntennaInfo antennaInfo)
This method is used to write EPC ID of a specific tag.
|
void |
writeWait(java.lang.String tagID,
TagAccess.WriteAccessParams writeAccessParams,
AntennaInfo antennaInfo,
TagData tagData)
This method is used to write data to the memory bank of a specific tag.
|
void |
writeWait(java.lang.String tagID,
TagAccess.WriteAccessParams writeAccessParams,
AntennaInfo antennaInfo,
TagData tagData,
boolean bPrefilter,
boolean bTIDPrefilter)
This method is used to write data to the memory bank of a specific tag.
|
public TagAccess.Sequence OperationSequence
public NXP NXP
public com.zebra.rfid.api3.Impinj Impinj
protected static void AssignMethods(java.lang.String m_sProtocol)
protected void finalize()
finalize in class java.lang.Objectpublic void init(com.zebra.rfid.api3.NativeLibParams nativeLibParams)
public TagData readWait(java.lang.String tagID, TagAccess.ReadAccessParams readAccessParams, AntennaInfo antennaInfo, boolean bPrefilter) throws InvalidUsageException, OperationFailureException
tagID - EPC-ID of the Tag on which the Read operation is to be performed.readAccessParams - Parameters required for the Read operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.bPrefilter - if true - Read API will apply tag ID as pre filter for read operationInvalidUsageExceptionOperationFailureExceptionpublic TagData readWait(java.lang.String tagID, TagAccess.ReadAccessParams readAccessParams, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
tagID - EPC-ID of the Tag on which the Read operation is to be performed.readAccessParams - Parameters required for the Read operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void readEvent(TagAccess.ReadAccessParams readAccessParams, AccessFilter accessFilter, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
readAccessParams - Parameters required for the Read operation.accessFilter - Access Filter which determines the Tags on which the
Access operation is to be performed. If this is null, operation will be perfomed
without any access filters.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void writeWait(java.lang.String tagID,
TagAccess.WriteAccessParams writeAccessParams,
AntennaInfo antennaInfo,
TagData tagData,
boolean bPrefilter,
boolean bTIDPrefilter)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Write operation is to be performed.writeAccessParams - Parameters required for the Write operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.bPrefilter - if true - Write API will apply tag ID as pre filter for write operationbTIDPrefilter - if true - Write API will read TID memory of tag and apply TID data as pre filter for write operation
Note: this will be used only for EPC memory writes, for other memory bank write tag ID (EPC) is used
bPrefilter should be true for this to take effectInvalidUsageExceptionOperationFailureExceptionpublic void writeWait(java.lang.String tagID,
TagAccess.WriteAccessParams writeAccessParams,
AntennaInfo antennaInfo,
TagData tagData)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Write operation is to be performed.writeAccessParams - Parameters required for the Write operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void writeEvent(TagAccess.WriteAccessParams writeAccessParams, AccessFilter accessFilter, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
writeAccessParams - Parameters required for the Write operation.accessFilter - Access Filter which determines the Tags on which the
Access operation is to be performed. If this is null, operation will be perfomed
without any access filters.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void killWait(java.lang.String tagID,
TagAccess.KillAccessParams killAccessParams,
AntennaInfo antennaInfo,
boolean bPrefilter)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Kill operation is to be performed.killAccessParams - Parameters required for the Kill operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.bPrefilter - if true - kill API will apply tag ID as pre filter for kill operationInvalidUsageExceptionOperationFailureExceptionpublic void killWait(java.lang.String tagID,
TagAccess.KillAccessParams killAccessParams,
AntennaInfo antennaInfo)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Kill operation is to be performed.killAccessParams - Parameters required for the Kill operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void killEvent(TagAccess.KillAccessParams killAccessParams, AccessFilter accessFilter, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
killAccessParams - Parameters required for the Kill operation.accessFilter - Access Filter which determines the Tags on which the
Access operation is to be performed. If this is null, operation will be perfomed
without any access filters.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void lockWait(java.lang.String tagID,
TagAccess.LockAccessParams lockAccessParams,
AntennaInfo antennaInfo,
boolean bPrefilter)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Lock operation is to be performed.lockAccessParams - Parameters required for the Lock operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.bPrefilter - if true - lock API will apply tag ID as pre filter for lock operationInvalidUsageExceptionOperationFailureExceptionpublic void lockWait(java.lang.String tagID,
TagAccess.LockAccessParams lockAccessParams,
AntennaInfo antennaInfo)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Lock operation is to be performed.lockAccessParams - Parameters required for the Lock operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void lockEvent(TagAccess.LockAccessParams lockAccessParams, AccessFilter accessFilter, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
lockAccessParams - Parameters required for the Lock operation.accessFilter - Access Filter which determines the Tags on which the
Access operation is to be performed. If this is null, operation will be perfomed
without any access filters.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
/// operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void blockWriteWait(java.lang.String tagID,
TagAccess.WriteAccessParams writeAccessParams,
AntennaInfo antennaInfo,
TagData tagData,
boolean bPrefilter,
boolean bTIDPrefilter)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Block-Write operation is to be performed.writeAccessParams - Parameters required for the Block-Write operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.bPrefilter - if true - BlockWrite API will apply tag ID as pre filter for write operationbTIDPrefilter - if true - BlockWrite API will read TID memory of tag and apply TID data as pre filter for write operation
Note: this will be used only for EPC memory block writes, for other memory bank write tag ID (EPC) is used
bPrefilter should be true for this to take effectInvalidUsageExceptionOperationFailureExceptionpublic void blockWriteWait(java.lang.String tagID,
TagAccess.WriteAccessParams writeAccessParams,
AntennaInfo antennaInfo,
TagData tagData)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Block-Write operation is to be performed.writeAccessParams - Parameters required for the Block-Write operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void blockWriteEvent(TagAccess.WriteAccessParams writeAccessParams, AccessFilter accessFilter, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
writeAccessParams - Parameters required for the Block write operation.accessFilter - Access Filter which determines the Tags on which the
Access operation is to be performed. If this is null, operation will be perfomed
without any access filters.antennaInfo - InvalidUsageExceptionOperationFailureExceptionpublic void blockEraseWait(java.lang.String tagID,
TagAccess.BlockEraseAccessParams blockEraseAccessParams,
AntennaInfo antennaInfo,
TagData tagData,
boolean bPrefilter)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Block-Erase operation is to be performed.blockEraseAccessParams - Parameters required for the Block-Erase operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.bPrefilter - if true - blockErase API will apply tag ID as pre filter for blockEraseWait operationInvalidUsageExceptionOperationFailureExceptionpublic void blockEraseWait(java.lang.String tagID,
TagAccess.BlockEraseAccessParams blockEraseAccessParams,
AntennaInfo antennaInfo,
TagData tagData)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Block-Erase operation is to be performed.blockEraseAccessParams - Parameters required for the Block-Erase operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void blockEraseEvent(TagAccess.BlockEraseAccessParams blockEraseAccessParams, AccessFilter accessFilter, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
blockEraseAccessParams - Parameters required for the Block-Erase operation.accessFilter - Access Filter which determines the Tags on which the
Access operation is to be performed. If this is null, operation will be perfomed
without any access filters.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic TagData blockPermalockWait(java.lang.String tagID, TagAccess.BlockPermalockAccessParams blockPermalockAccessParams, AntennaInfo antennaInfo, boolean bPrefilter) throws InvalidUsageException, OperationFailureException
tagID - Access-Operation will be performed on Tag with mentioned TagID.blockPermalockAccessParams - Parameters required for the operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.bPrefilter - if true - blockPermalock API will apply tag ID as pre filter for blockPermalock operationInvalidUsageExceptionOperationFailureExceptionpublic TagData blockPermalockWait(java.lang.String tagID, TagAccess.BlockPermalockAccessParams blockPermalockAccessParams, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
tagID - Access-Operation will be performed on Tag with mentioned TagID.blockPermalockAccessParams - Parameters required for the operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void blockPermalockEvent(TagAccess.BlockPermalockAccessParams blockPermalockAccessParams, AccessFilter accessFilter, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
blockPermalockAccessParams - Parameters required for the operation.accessFilter - Access Filter which determines the Tags on which the
Access operation is to be performed. If this is null, operation will be perfomed
without any access filters.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void stopAccess()
throws InvalidUsageException,
OperationFailureException
public void writeTagIDWait(java.lang.String tagID,
TagAccess.WriteSpecificFieldAccessParams writeSpecificFieldAccessParams,
AntennaInfo antennaInfo)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Write operation is to be performed.writeSpecificFieldAccessParams - Parameters required for writing the EPC write operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void writeKillPasswordWait(java.lang.String tagID,
TagAccess.WriteSpecificFieldAccessParams writeSpecificFieldAccessParams,
AntennaInfo antennaInfo)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Write operation is to be performed.writeSpecificFieldAccessParams - Parameters required for writing the Kill Password of a specific tag.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void writeAccessPasswordWait(java.lang.String tagID,
TagAccess.WriteSpecificFieldAccessParams writeSpecificFieldAccessParams,
AntennaInfo antennaInfo)
throws InvalidUsageException,
OperationFailureException
tagID - EPC-ID of the Tag on which the Write operation is to be performed.writeSpecificFieldAccessParams - Parameters required for writing the access Password of a specific tag.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void recommisionWait(java.lang.String tagID,
TagAccess.RecommisionAccessParams recommisionAccessParams,
AntennaInfo antennaInfo)
throws InvalidUsageException,
OperationFailureException
tagID - Access-Operation will be performed on Tag with mentioned TagID.recommisionAccessParams - Parameters required for the operation.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void recommisionEvent(TagAccess.RecommisionAccessParams recommisionAccessParams, AccessFilter accessFilter, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
recommisionAccessParams - Parameters required for the operation.accessFilter - Access Filter which determines the Tags on which the
Access operation is to be performed. If this is null, operation will be perfomed
without any access filters.antennaInfo - Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageExceptionOperationFailureExceptionpublic void getLastAccessResult(int[] successCount,
int[] failureCount)
throws InvalidUsageException,
OperationFailureException
successCount - Number of Tags on which the operation succeededfailureCount - Number of Tags on which the operation failedInvalidUsageExceptionOperationFailureException