Command Attribute
| Command Code | Bootloader Command | App Firmware Command |
|---|---|---|
| 0x6B | No | Yes |
Host to Reader
| Field | Byte Length | Description |
|---|---|---|
| Protocol Value | 1 byte | Must be 0x05, now all the readers only support Gen2 protocol. |
| Parameter | 1 byte | Indicates a Parameter of the protocol, Detailed description see the Protocol Parameter Option Table. |
Reader to Host
| Field | Byte Length | Description |
|---|---|---|
| Protocol Value | 1 byte | Must be 0x05, now all the readers only support Gen2 protocol. |
| Parameter | 1 byte | Indicates a Parameter of the protocol, Detailed description see the Protocol Parameter Option Table. |
| Option | 1 byte | A option of the Parameter, for some parameters, there is no such field. Detailed description see the Protocol Parameter Option Table. |
| Value | 1 byte | The value of the Parameter with the Option, for some parameters, there is no such field. Detailed description see the Protocol Parameter Option Table. |
Example
| FF | 02 | 6B | 05 | 00 | 3A 6F |
|---|---|---|---|---|---|
| Header | Data Length | Command Code | Protocol Value | Parameter | CRC |
| FF | 03 | 6B | 00 00 | 05 | 00 | 00 | 08 74 |
|---|---|---|---|---|---|---|---|
| Header | Data Length | Command Code | Status Code | Protocol Value | Parameter | Value | CRC |
| FF | 02 | 6B | 05 | 01 | 3A 6E |
|---|---|---|---|---|---|
| Header | Data Length | Command Code | Protocol Value | Parameter | CRC |
| FF | 04 | 6B | 00 00 | 05 | 01 | 01 | 00 | 2C 68 |
|---|---|---|---|---|---|---|---|---|
| Header | Data Length | Command Code | Status Code | Protocol Value | Parameter | Option | Value | CRC |