Uplink command to get power-off information for a specific year and month.
The corresponding downlink command: getSaldoParameters.
getSaldoParameters
Supported in MTX1 and MTX3 devices.
import * as getQuality from 'jooby-codec/mtx1/commands/uplink/getQuality.js';// response to getQuality downlink commandconst bytes = [ 0x1a, 0x01, 0x00, 0x08, 0xa0, 0x44, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x22];// decoded payloadconst parameters = getQuality.fromBytes(bytes);console.log(parameters);// output:{ year: 26, month: 1, powerOffSaidiMinutes: 565316, powerOffSaidiCount: 3, powerOffMaidiMinutes: 0, powerOffMaifiCount: 3, badVoltagePhaseAMinutes: 34} Copy
import * as getQuality from 'jooby-codec/mtx1/commands/uplink/getQuality.js';// response to getQuality downlink commandconst bytes = [ 0x1a, 0x01, 0x00, 0x08, 0xa0, 0x44, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x22];// decoded payloadconst parameters = getQuality.fromBytes(bytes);console.log(parameters);// output:{ year: 26, month: 1, powerOffSaidiMinutes: 565316, powerOffSaidiCount: 3, powerOffMaidiMinutes: 0, powerOffMaifiCount: 3, badVoltagePhaseAMinutes: 34}
Command format documentation
Uplink command to get power-off information for a specific year and month.
The corresponding downlink command:
getSaldoParameters.Supported in MTX1 and MTX3 devices.
Example: create command instance from command body hex dump
Command format documentation