Unitech PA982 User Manual Page 63

  • Download
  • Add to my manuals
  • Print
  • Page
    / 105
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 62
-
11.4 Select Gen2 Tag
Function Description:
To only detect EPC Class1 Gen2 tags.
Function Call:
BOOL SelectGen2Tag (char *szData);
Parameter:
szData: Receive the Tag ID.
Return code:
TRUE: Select tag success.
FALSE: Select tag fail.
11.5 Read Data from Gen2 Tag’s Blocks
Function Description:
To read data from Gen2 tag’s blocks.
Function Call:
BOOL ReadGen2Block (char *szAddress, int nBlock, char *szData);
Parameter:
szAddress: The start address to read blocks.(For example : To address block #2 of the
EPC memory bank, the szAddress is “1002”, the “1” specifies the EPC memory bank and “002”
specifies the block memory(0x002))
nBlock: The number of blocks which user wants to read.
szData: Receive the block’s data.
Return code:
TRUE: Read blocks success.
FALSE: Read blocks fail.
11.6 Write Data to Gen2 Tag’s Blocks
Function Description:
To write data to Gen2 tag’s blocks.
Function Call:
BOOL WriteGen2Block (char *szAddress, int nBlock, char *szData);
Parameter:
szAddress: The block’s address.
nBlock: The number of blocks which user want to write.
szData: The data which user wants to write in the block and 1 block for 2 – bytes
data.
Return code:
TRUE: Write block data success.
FALSE: Write block data fail.
Page view 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 104 105

Comments to this Manuals

No comments