
D1 is “0” -- Doesn’t reading the TID code
D2 is “1” -- Reading the data of User area
D2 is “0” -- Doesn’t reading the data of User area
D3 ~ D7 ---The five bits data are reserved
▲
EpcLength
-
The double-byte length of EPC code read (D0 is “1”)
▲
TidLength
-
The double-byte length of TID code read (D1 is “1”)
▲
UserLength
-
The double-byte length of User data read (D2 is “1”)
▲
Epc
-
EPC code read
▲
Tid
-
TID code read
▲
User
-
User data read
3
、
Gen2LockFlags structure definition
typedef struct
{
unsigned char Mask;
unsigned char Action;
}Gen2LockFlag;
typedef struct
{
Gen2LockFlag Kill;
Gen2LockFlag Access;
Gen2LockFlag EPC;
Gen2LockFlag TID;
Gen2LockFlag User;
}Gen2LockFlags;
It stipulates the operating of tag KILL password, ACCESS password, EPC, TID and locking user area. The definition
of Gen2LockFlag is as below:
Mask
-
Operating range of locking area
Action
-
Locking type
Gen2LockFlags structure definition
Kill
-
Operational definition for locking KILL password
Access
-
Operational definition for locking Access password
EPC
-
Operational definition for locking EPC memory area
TID
-
Operational definition for locking TID memory area
User
-
Operational definition for locking USER memory area
6