RFID Communications
Example
Writes 'A' (41H) to the tag starting at address 0005H and continuing for the next consecutive 40 bytes. A timeout of 2 seconds (07D0H =2000 x 1 ms increments) is set for the completion of the configuration.
Command from Host
Field | Content |
Header | 0202H |
|
|
Command Size | 0008H |
|
|
Command Code | 04H |
|
|
Start address | 0005H |
|
|
Size | 0028H |
|
|
Timeout, 2 seconds | 07D0H |
|
|
Data Value Byte | 41H |
|
|
Checksum | AEH |
|
|
Terminators | 03H |
|
|
Response from Controller
Field | Content |
Header | 0202H |
|
|
Response Size | 0001H |
|
|
Command Echo | 04H |
|
|
Checksum | FAH |
|
|
Terminators | 03H |
|
|
6.5.2 ABxF Command 05H: Read
DESCRIPTION
Command 05H reads data from an RFID tag.
DISCUSSION
This command is used to read segments of data from contiguous areas of tag memory. It is capable of handling up to 1 kByte of data transferred to the host. The timeout value is given in 1 ms increments and can have a value of 1EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller returns error 21H, syntax error. The Read consists of a start address and length, followed by a timeout value, and a message terminator as shown below.
Field | Content |
Header | 0202H |
|
|
Command Size | Packet length in Bytes excluding the header, command size, checksum and terminator bytes. 0007H |
| for this command |
|
|
Command | 05H |
|
|
Start Address | |
|
|
Number of Bytes | |
|
|
Timeout | |
|
|
Checksum | Optional checksum |
|
|
Terminator | 03H |
|
|
93 | LRP2000 Passive Reader/Writer |