RFID Communications
Example
Checks for an RFID tag within range of the antenna. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the Tag Search.
Command from Host
Field | Content |
Header | 0202H |
|
|
Command Size | 0003H |
|
|
Command Code | 08H |
|
|
Timeout | 07D0H |
|
|
Checksum | 1DH |
|
|
Terminators | 03H |
|
|
Response from Controller
Field | Content |
Header | 0202H |
|
|
Response Size | 0001H |
|
|
Command Echo | 08H |
|
|
Checksum | F6H |
|
|
Terminators | 03H |
|
|
6.5.6 ABxF Command 0DH: Start/Stop Continuous Read
DESCRIPTION
Command 0DH sends reads continuously to any tag in range of the antenna. When a tag enters the RF field, it is read and the data passed to the host computer. The controller continues to read the tag, but will not send the same data to the host until the tag has been outside the RF field for a specified time period. This Delay Between Identical Decodes parameter prevents redundant data transmissions when the controller is in Continuous Read mode.
DISCUSSION
The Start/Stop Continuous Read command contains three parameters: Start Address, Number of Bytes, and Delay Between Duplicate Decodes. The read length parameter switches the mode. Any valid, non- zero length will set the controller into Continuous Read mode. A read length value of 00H stops the Continuous read. The Delay Between Identical Decodes parameter can have a value of 0 to 60 seconds. When the Delay Between Identical Decodes is set to 0, the controller continuously reads and transmits tag data to the host. This can flood the buffers and cause communication errors and data loss. If the controller receives other commands from the host, it executes them and then resumes Continuous Read mode. Issuing the command with the Number of Bytes set to 00H stops the Continuous Read.
The command is formatted as follows:
Field | Content |
Header | 0202H |
|
|
Command Size | Command length in bytes excluding the header, command size, checksum, and |
| terminator bytes. |
|
|
Command | 0DH |
|
|
Start Address | |
|
|
Number of Bytes | |
|
|
Delay Between Duplicate Decodes | Delay value given in 1 second units |
|
|
Checksum | Optional checksum |
|
|
Terminator | 03H |
|
|
97 | LRP2000 Passive Reader/Writer |