Firmware-811 Message-066

From I-CubeX Wiki
Jump to: navigation, search

FIRMWARE (66, 42h)

This message contains the WiDig four-digit firmware version number and six-digit firmware build date. It is sent by the WiDig upon receipt of the the FIRMWARE command or the DUMP VERSION command, in which case it is sent immediately after the VERSION message.

The [BODY] of the VERSION message is as follows:

0xxxxxxx: xxxxxxx = [0..99]; firmware version number * 10
0aaaaaaa: aaaaaaa = [0..99]; firmware version number decimals 2 and 3
0bbbbbbb: bbbbbbb = [0..99]; firmware build year
0ccccccc: ccccccc = [1..12]; firmware build month
0ddddddd: ddddddd = [1..31]; firmware build day

Example:

240, 125, 0 {DEV}, 66 {FIRMWARE}, 80 {x}, 00 {a}, 18 {b}, 06 {c}, 22 {d}, 247 (F0h, 7Dh, 00h, 47h, 46h, 46h, 00h, 01h, 17h, F7h)

The firmware version of the WiDig is (80 + 00) / 1000 = 8.000. The firmware build date is 2018-06-22.