ZK-RFID102 UHF RFID Reader User's Manual V2.0
5
3. DATA BLOCK FORMAT
3.1 COMMAND DATA BLOCK
Len
Adr
Cmd
Data[]
LSB-CRC16
MSB-CRC16
COMMENT
:
LENGTH(Byte) COMMENT
Len
1
Command data block length 1 byte (not including itself). Value
range is 4~96. The number of Len equals the length of Data []
plus 4.
Adr
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 shall be zero.
Cmd
1
Operation command symbol, 1 byte.
Data[]
Variable
Operation command parameters. There is no parameter if the
LEN item equals 4.
LSB-CRC16
1
CRC-16 LSB. CRC-16 checksum, 2 bytes with least
significant byte first.
MSB-CRC16
1
CRC-16 MSB.
3.2 RESPONSE DATA BLOCK
Len
Adr
reCmd
Status
Data[]
LSB-CRC16
MSB-CRC16
COMMENT
:
LENGTH(Byte) COMMENT
Len
1
Response data block length 1 byte (not including itself). The
number of Len equals the length of Data [] plus 5.
Adr
1
Reader address, 1 byte. Value rang is 0~254.
reCmd
1
Response command symbol, 1 byte. If the command is
unrecognized, the reCmd is 0x00.
Status
1
Result status value, 1byte. Refer to following table for details.
Data[]
Variable
Response data. There is no this item if Len equals 5.
LSB-CRC16
1
CRC16 LSB .CRC-16 checksum, 2 bytes with least significant
byte first.
MSB-CRC16
1
CRC16 MSB
The default value of the reader address is 0x00. The host may change it by using reader-defined command