
Length
-
tag byte length needs to be read
Id
-
return value of identified tag ID
Value
-
return value of reading memory data
Return results: the result is zero, which shows the action is correct, others are wrong.
6
、
ReadSingleTag0
Function prototype
:
short ReadSingleTag0(HANDLE hCom, unsigned int TagType, unsigned char *Id,unsigned
char Addr,unsigned char Length,unsigned char *value)
Function explanation
:
Read memory data of designated tag.
Input parameter
:
hCom— Handle
TagType— Tag type identification, “1” for ISO18000-6B tag,
Addr
-
byte address of tag memory
Length
-
byte length read
Id
-
ID of designated tag
Value
-
return value of reading memory data
Return results: the result is zero, which shows the action is correct, others are wrong.
7
、
WriteSingleTag
Function prototype
:
short WriteSingleTag(HANDLE hCom, unsigned int TagType, unsigned char *Id,unsigned
char Addr,unsigned char Length,unsigned char *value
,
unsigned char * Result)
Function explanation
:
identify single tag , and write data to the
designated
memory address
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 result for writing tag, 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.
8
、
WriteSingleTag0
Function prototype
:
short WriteSingleTag0(HANDLE hCom, unsigned int TagType, unsigned char *Id,unsigned
char Addr,unsigned char Length,unsigned char *value,unsigned char * Result)
Function explanation
:
Write parameters to the designated memory address for specific tag.(The Parameters
1
3