Downlink command to set device current saldo information.
Supported in MTX1 and MTX3 devices.
import * as setSaldo from 'jooby-codec/mtx1/commands/downlink/setSaldo.js';const parameters = { date: { month: 9, date: 23, hours: 6, minutes: 35 }, saldoNew: 2, saldoOld: 5};const bytes = setSaldo.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[42, 12, 9, 23, 6, 35, 0, 0, 0, 2, 0, 0, 0, 5] Copy
import * as setSaldo from 'jooby-codec/mtx1/commands/downlink/setSaldo.js';const parameters = { date: { month: 9, date: 23, hours: 6, minutes: 35 }, saldoNew: 2, saldoOld: 5};const bytes = setSaldo.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[42, 12, 9, 23, 6, 35, 0, 0, 0, 2, 0, 0, 0, 5]
Command format documentation
Downlink command to set device current saldo information.
Supported in MTX1 and MTX3 devices.
Example
Command format documentation