User's Manual

5.4.14 Read-From-Tag (50-03)
With this function data can be read from the memory of a tag. The meaning of the data, that can be written, can
be found in the manual of the tag. On some tags a memory bank must be specified. The memory banks are
specified in the manual of the reader dependent of the type of tag.
Parameters: unsigned char tagIdCount, unsigned char tagId[tagIdCount], unsigned char memoryBank,
unsigned short startAddress, unsigned long accessPassword, unsigned char byteCount
Return Values: RFE_RET_VALUE status, unsigned char byteCount, unsigned char data[byteCount]
Status Values: RFE_SUCCESS, RFE_ERR_ON_EXEC_OP, RFE_ERR_COULD_NOT_WRITE,
RFE_ERR_WRONG_PARAM_COUNT, RFE_ERR_WRONG_PARAM
Example: Write 5 byte to the tag 30-00-30-08-33-b2-dd-d9-01-40-35-05-00-00 at the memory bank 1 and the start
address 0x12:
PC -> Reader 52 46 45 01 5003 02 16 03 0C 300833b2ddd9014035050000 01 0000 00000000 05 04 cs
dataLength = 0x16
tagIdCount = 0x0C -> 12 Bytes
tagId = 30-08-33-b2-33-33-01-40-35-05-00-00
memoryBank = 0x01 -> second bank
startAddress = 0x0000
accessPassword = 0x00000000
bytesCount = 0x05 -> 5 Bytes
Reader -> PC 52 46 45 01 5003 02 01 03 00 05 0223A4884C 04 cs
dataLength = 0x01
status = 0x00 -> RFE_SUCCESS
bytesCount = 0x05 -> 5 Bytes
data = 0x0223A4884C