User's Manual

CAEN RFID API Reference Manual
39
LockBlockPermaLock_EPC_C1G2 Method
Description:
This method implements the BLockPermaLock with ReadLock=1 as specified in EPC C1G2 rev. 1.2.0 protocol.
Parameters:
Name
Description
Tag
The CAENRFIDTag representing the tag to be written.
MemBank
The memory bank where to write the data.
BlockPtr
The address where to start writing the data.
BlockRange
The number of word of the mask.
Mask
A bitmask that permit to select which of the four bytes have to be locked (i.e. mask 0x05
write the bytes on position Address + 1 and Address + 3).
AccessPassword
The access password.
Syntax:
C# representation:
public void LockBlockPermaLock_EPC_C1G2(
CAENRFIDTag Tag,
short MemBank,
short BlockPtr,
short BlockRange,
byte[] Mask,
int AccessPassword)
Java and Android representation:
public void LockBlockPermaLock_EPC_C1G2(
CAENRFIDTag Tag,
short MemBank,
short BlockPtr,
short BlockRange,
byte[] Mask,
int AccessPassword)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_LockBlockPermaLock_EPC_C1G2(
CAENRFIDHandle handle,
CAENRFIDTag *Tag,
short MemBank,
short BlockPtr,
short BlockRange,
byte[] Mask,
int AccessPassword);