
Scope
-
value=1, comparing with EPC memory;
Value=2, comparing with TID memory.
Length
-
Byte length of compared data
MaskData
-
The data needs to be compared; Scope value=1, stands for EPC code; Scope value=2,
stands for TID code.
Return results: the result is zero, which shows the action is correct, others are wrong.
13. Gen2SetKillPassword
Function prototype
:
short Gen2SetKillPassword(HANDLE hCom,unsigned int Password,unsigned int
Password2,unsigned char Scope,unsigned char Length,unsigned char *MaskData)
Function explanation
:
modify the kill password for designated tag
Input parameters
:
hCom— Handle
Password
-
Access password of tag
Password2
-
The kill password needs to be configured
Scope
-
value=1, comparing with EPC memory;
Value=2, comparing with TID memory.
Length
-
Byte length of compared data
MaskData
-
The data needs to be compared; Scope value=1, stands for EPC code; Scope value=2,
stands for TID code.
Return results: the result is zero, which shows the action is correct, others are wrong.
14
、
Gen2GetKillPassword
Function prototype
:
short Gen2GetKillPassword(HANDLE hCom,unsigned int Password,unsigned int *
Password2,unsigned char Scope,unsigned char Length,unsigned char *MaskData)
Function explanation
:
Read the kill password of designated tag
Input parameters
:
hCom— Handle
Password
-
Access password of tag
Password2
-
The kill password read
Scope
-
value=1, comparing with EPC memory;
Value=2, comparing with TID memory.
Length
-
Byte length of compared data
MaskData
-
The data needs to be compared; Scope value=1, stands for EPC code; Scope value=2,
stands for TID code.
Return results: the result is zero, which shows the action is correct, others are wrong.
15
、
Gen2KillTag
Function prototype
:
short Gen2KillTag(HANDLE hCom,unsigned int Password,unsigned char Scope,unsigned
char Length,unsigned char *MaskData)
Function explanation
:
Kill the designated tag
Input parameters
:
hCom— Handle
2
0