Uplink command to get the parameters for voltage graphs and SAIDI.
The corresponding downlink command: getDemandParameters.
getDemandParameters
import * as getDemandParameters from 'jooby-codec/mtx1/commands/uplink/getDemandParameters.js';// response to getDemandParameters downlink commandconst bytes = [0x00, 0x14, 0xa0, 0x00];// decoded payloadconst parameters = getDemandParameters.fromBytes(bytes);console.log(parameters);// output:{ channelParam1: 0, counterInterval: 20, channelParam2: 160} Copy
import * as getDemandParameters from 'jooby-codec/mtx1/commands/uplink/getDemandParameters.js';// response to getDemandParameters downlink commandconst bytes = [0x00, 0x14, 0xa0, 0x00];// decoded payloadconst parameters = getDemandParameters.fromBytes(bytes);console.log(parameters);// output:{ channelParam1: 0, counterInterval: 20, channelParam2: 160}
Command format documentation
Uplink command to get the parameters for voltage graphs and SAIDI.
The corresponding downlink command:
getDemandParameters
.Example: create command instance from command body hex dump
Command format documentation