Downlink command to set special day information for the given tariff table.
Supported in MTX1 and MTX3 devices.
import * as setSpecialDay from 'jooby-codec/mtx1/commands/downlink/setSpecialDay.js';const parameters = { tariffTable: 1, index: 5, month: 1, date: 9, dayIndex: 3, isPeriodic: true};const bytes = setSpecialDay.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[18, 6, 1, 5, 1, 9, 3, 0] Copy
import * as setSpecialDay from 'jooby-codec/mtx1/commands/downlink/setSpecialDay.js';const parameters = { tariffTable: 1, index: 5, month: 1, date: 9, dayIndex: 3, isPeriodic: true};const bytes = setSpecialDay.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[18, 6, 1, 5, 1, 9, 3, 0]
Command format documentation
Downlink command to set special day information for the given tariff table.
Supported in MTX1 and MTX3 devices.
Example
Command format documentation