Command to request hour pulse counter's values from device archive.
import * as getArchiveHoursMcEx from 'jooby-codec/analog/commands/downlink/getArchiveHoursMcEx.js';const parameters = {startTime2000: 756648000, hour: 12, hours: 2, channelList: [1]};const bytes = getArchiveHoursMcEx.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[31, 48, 5, 47, 151, 12, 2, 1] Copy
import * as getArchiveHoursMcEx from 'jooby-codec/analog/commands/downlink/getArchiveHoursMcEx.js';const parameters = {startTime2000: 756648000, hour: 12, hours: 2, channelList: [1]};const bytes = getArchiveHoursMcEx.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[31, 48, 5, 47, 151, 12, 2, 1]
Command format documentation
Command to request hour pulse counter's values from device archive.
Example
Command format documentation