Read device hardware and software version command explanation.
The server sends the command code to the device (Table 7) and with the next received message the response is received. The device response is described in Table 8.
Byte index | Bit index | Hex value β Meaning |
0 | - | 04 β Read software and hardware version |
Table 7
Example command: 0x04
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. |
Table 8
Example response, [Hex]: 041211 (Here the received keep-alive command data is omitted for clarity).
Decoding:
0x04 β Read software and hardware version response
0x12 - Device hardware version β version 1.2
0x11 β Device software version β version 1.1
Last updated