Downlink command to get half hours for the selected channel by date.
import * as getHalfHourDemandChannel from 'jooby-codec/mtx3/commands/downlink/getHalfHourDemandChannel.js';const parameters = { channel: 1, loadProfile: 16, date: { year: 24, month: 3, date: 22 }};const bytes = getHalfHourDemandChannel.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[90, 5, 1, 16, 24, 3, 22] Copy
import * as getHalfHourDemandChannel from 'jooby-codec/mtx3/commands/downlink/getHalfHourDemandChannel.js';const parameters = { channel: 1, loadProfile: 16, date: { year: 24, month: 3, date: 22 }};const bytes = getHalfHourDemandChannel.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[90, 5, 1, 16, 24, 3, 22]
Command format documentation
Downlink command to get half hours for the selected channel by date.
Example
Command format documentation