Brief about RFID Reader
The RFID reader IDTS-112UDR has been bought from Identium along with metal tags. The tags are UHF tags. RFID reader is connected to RPi using USB to serial converter. To communicate with the reader, following details may help.
In general, the data blocks can be interpreted as:
COMMAND DATA BLOCK:
| Head | Length | Address | Command | Data[] | Check |
| Head | 2 | 0x53, 0x57 |
| Length | 2 | Command data block length 1 byte (not including itself). Value range is 3~1024. The number of Len equals the length of Data [] plus 3. |
| Address | 1 | Reader address, 1 byte. Value range is 0~254. Only will the reader conforming to the address response the command data block. Value 255 is broadcasting address. All the readers will response to the command data block with a broadcasting address. The default value is 0 |
| Command | 1 | Operation command symbol, 1 byte. |
| Data[] | Variable | Operation command parameters. |
| Check | 1 | Checksum is checksum domain, regulates the checking scopeis from the package type domain to parameters domain until the last byte the checksum of all the bytes |
RESPONSE DATA BLOCK:
| Head | Length | Address | Command | Status | Data[] | Check |
| Head | 2 | 0x43,0x54 |
| Length | 2 | Command data block length 1 byte (not including itself). Value range is 3~1024. The number of Len equals the length of Data [] plus 3 |
| Address | 1 | Reader address, 1 byte. Value rang is 0~254. |
| Command | 1 | Received command symbol, 1 byte. |
| Status | 1 | Status is state domain. 0x01 means success, 0x00 means failed |
| Data[] | Variable | Response data. |
| Check | 1 | Checksum is checksum domain, regulates the checking scopeis from the package type domain to parameters domain until the last byte the checksum of all the bytes. |