Downlink command to set device current saldo parameters information.
Supported in MTX1 and MTX3 devices.
import * as setSaldoParameters from 'jooby-codec/mtx1/commands/downlink/setSaldoParameters.js';const parameters = { coefficients: [2, 3, 4, 5], decimalPointTariff: 6, indicationThreshold: 7, relayThreshold: 8, mode: 9, saldoOffTimeBegin: 10, saldoOffTimeEnd: 11, decimalPointIndication: 12, powerThreshold: 13, creditThreshold: 14};const bytes = setSaldoParameters.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[47, 37, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 5, 6, 0, 0, 0, 7, 0, 0, 0, 8, 9, 10, 11, 12, 0, 0, 0, 13, 0, 0, 0, 14] Copy
import * as setSaldoParameters from 'jooby-codec/mtx1/commands/downlink/setSaldoParameters.js';const parameters = { coefficients: [2, 3, 4, 5], decimalPointTariff: 6, indicationThreshold: 7, relayThreshold: 8, mode: 9, saldoOffTimeBegin: 10, saldoOffTimeEnd: 11, decimalPointIndication: 12, powerThreshold: 13, creditThreshold: 14};const bytes = setSaldoParameters.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[47, 37, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 5, 6, 0, 0, 0, 7, 0, 0, 0, 8, 9, 10, 11, 12, 0, 0, 0, 13, 0, 0, 0, 14]
Command format documentation
Downlink command to set device current saldo parameters information.
Supported in MTX1 and MTX3 devices.
Example
Command format documentation