
with designated byte length)
Input parameter
:
hCom— Handle
TagType— Tag type identification, “1” for ISO18000-6B tag,
Addr
-
byte address of tag memory
Length
-
byte length needs to be written
Id
-
return value of identified tag ID
Value
-
the value which needs to be written into tag memory.
Result
-
The returning value for writing tags, the results are:
“0” for writing failed;
“1” for writing succeeded;
“2” for not writable;
”3” for unknown results
Return results: the result is zero, which shows the action is correct, others are wrong.
9
、
LockTag
Function prototype
:
short LockTag(HANDLE hCom, unsigned int TagType, unsigned char *Id,unsigned char
Addr)
Function explanation
:
Identify single tag, and lock the designated tag memory address
Input parameter
:
hCom— Handle
TagType— Tag type identification, “1” for ISO18000-6B tag,
Addr
-
byte address of tag memory which needs to be locked.
ID
-
Identified tag ID No.
Return results: the result is zero, which shows the action is correct, others are wrong.
10
、
LockTag0
Function prototype
:
short LockTag0(HANDLE hCom, unsigned int TagType, unsigned char *Id,unsigned char
Addr)
Function explanation
:
Lock the designated memory address of specific tag
Input parameter
:
hCom— Handle
TagType— Tag type identification, “1” for ISO18000-6B tag,
Addr
-
byte address of tag memory which needs to be locked.
ID
-
designated tag ID No.
Return results: the result is zero, which shows the action is correct, others are wrong.
11
、
QueryLock
Function prototype
:
short QueryLock(HANDLE hCom, unsigned int TagType, unsigned char *Id,unsigned char
Addr, unsigned char Length,unsigned char * Value)
Function explanation
:
Identify single tag, and query the locking status of designated memory address
1
4