Uplink command to get device version information.
The corresponding downlink command: getVersion.
getVersion
Supported in MTX1 and MTX3 devices.
import * as getVersion from 'jooby-codec/mtx1/commands/uplink/getVersion.js';// default parametersconst bytes = [0x31, 0x30, 0x34, 0x2e, 0x32, 0x35, 0x2e, 0x30, 0x30, 0x33];// decoded payloadconst parameters = getVersion.fromBytes(bytes);console.log(parameters);// output:{ version: '104.25.003'} Copy
import * as getVersion from 'jooby-codec/mtx1/commands/uplink/getVersion.js';// default parametersconst bytes = [0x31, 0x30, 0x34, 0x2e, 0x32, 0x35, 0x2e, 0x30, 0x30, 0x33];// decoded payloadconst parameters = getVersion.fromBytes(bytes);console.log(parameters);// output:{ version: '104.25.003'}
Command format documentation
Uplink command to get device version information.
The corresponding downlink command:
getVersion
.Supported in MTX1 and MTX3 devices.
Example: create command instance from command body hex dump
Command format documentation