Get Firmware & Hardware version
The server can send the command code to the device (Table 6) and with the next received message the response is received.
Byte index | Hex value – Meaning |
0 | 04 – Read software and hardware version |
Table 6
Byte index | Bit index | Hex value - Meaning |
0 | - | 04 – The command byte shows that is packet with the device hardware and software version. |
1 | 7:4 | X – Device primary hardware version. |
1 | 3:0 | X – Device secondary hardware version. |
2 | 7:4 | X – Device primary software version. |
2 | 3:0 | X – Device secondary software version. |
Example response: 0x042511 (The keep-alive data is omitted for clarity).
Decoding:
- 0x04 – Read software and hardware version response
- 0x25 - Device hardware version – version 2.5
- 0x11 – Device software version – version 1.1
Last updated