Example – ThingMagic Mercury API v1.23.0 User Manual
Page 46
Advanced Tag Operations
46
Level 2 API
Gen2.LockAction.KILL_PERMALOCK
Gen2.LockAction.KILL_PERMAUNLOCK
Gen2.LockAction.ACCESS_LOCK
Gen2.LockAction.ACCESS_UNLOCK
Gen2.LockAction.ACCESS_PERMALOCK
Gen2.LockAction.ACCESS_PERMAUNLOCK
Gen2.LockAction.EPC_LOCK
Gen2.LockAction.EPC_UNLOCK
Gen2.LockAction.EPC_PERMALOCK
Gen2.LockAction.EPC_PERMAUNLOCK
Gen2.LockAction.TID_LOCK
Gen2.LockAction.TID_UNLOCK
Gen2.LockAction.TID_PERMALOCK
Gen2.LockAction.TID_PERMAUNLOCK
Gen2.LockAction.USER_LOCK
Gen2.LockAction.USER_UNLOCK
Gen2.LockAction.USER_PERMALOCK
Gen2.LockAction.USER_PERMAUNLOCK
To lock a single field, provide one of these predefined constants to
Gen2 tags allow more than one field to be locked at a time. To lock multiple fields, a
Gen2.LockAction constructor is provided to combine multiple Gen2.LockActions
with each other.
Example:
new Gen2.LockAction(Gen2.LockAction.EPC_LOCK,
Gen2.LockAction.ACCESS_LOCK, Gen2LockAction.KILL_LOCK)
A
Gen2.LockAction constructor is also provided which allows explicit setting of mask
and
action fields. These 10-bit values are as specified in the Gen2 Protocol
Specification. Use the constructor: