Uplink command to get firmware build date and version from device.
The corresponding downlink command: getBuildVersion.
getBuildVersion
Supported in MTX1 and MTX3 devices.
import * as getBuildVersion from 'jooby-codec/mtx1/commands/uplink/getBuildVersion.js';// build version is 2021.09.16/0.0.9const bytes = [0x10, 0x09, 0x15, 0x00, 0x00, 0x09];// decoded payloadconst parameters = getBuildVersion.fromBytes(bytes);console.log(parameters);// output:{ date: { date: 16, month: 9, year: 21 }, version: '0.0.9'} Copy
import * as getBuildVersion from 'jooby-codec/mtx1/commands/uplink/getBuildVersion.js';// build version is 2021.09.16/0.0.9const bytes = [0x10, 0x09, 0x15, 0x00, 0x00, 0x09];// decoded payloadconst parameters = getBuildVersion.fromBytes(bytes);console.log(parameters);// output:{ date: { date: 16, month: 9, year: 21 }, version: '0.0.9'}
Command format documentation
Uplink command to get firmware build date and version from device.
The corresponding downlink command:
getBuildVersion
.Supported in MTX1 and MTX3 devices.
Example: create command instance from command body hex dump
Command format documentation