Read device hardware and software version command explanation.

The server sends the command code to the device (Table 6) and with the next received message the response is received. The device response is described in Table 7.

Byte index

Hex value - Meaning

0

04 – Read software and hardware version

Table 6

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 7

Example response: 0x041211 (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

If you have used FUOTA or another way to update the firmware of the device, the hardware version will be changed as well. Please, do retain the initial hardware version in your system.

Last updated