Command to receive hour pulse counter's values from device archive.
import * as getArchiveHoursMcEx from 'jooby-codec/analog/commands/uplink/getArchiveHoursMcEx.js';// response to getArchiveHoursMcEx downlink commandconst bytes = [0x2f, 0x97, 0x0c, 0x01, 0x0f, 0x83, 0x01, 0x0a, 0x08, 0x0a, 0x08, 0x0a, 0x0c, 0x0a];// decoded payloadconst parameters = getArchiveHoursMcEx.fromBytes(bytes);console.log(parameters);// output:{ startTime2000: 756648000, hour: 12, hours: 1, channelList: [ {value: 131, diff: [10], index: 1}, {value: 8, diff: [10], index: 2}, {value: 8, diff: [10], index: 3}, {value: 12, diff: [10], index: 4} ]} Copy
import * as getArchiveHoursMcEx from 'jooby-codec/analog/commands/uplink/getArchiveHoursMcEx.js';// response to getArchiveHoursMcEx downlink commandconst bytes = [0x2f, 0x97, 0x0c, 0x01, 0x0f, 0x83, 0x01, 0x0a, 0x08, 0x0a, 0x08, 0x0a, 0x0c, 0x0a];// decoded payloadconst parameters = getArchiveHoursMcEx.fromBytes(bytes);console.log(parameters);// output:{ startTime2000: 756648000, hour: 12, hours: 1, channelList: [ {value: 131, diff: [10], index: 1}, {value: 8, diff: [10], index: 2}, {value: 8, diff: [10], index: 3}, {value: 12, diff: [10], index: 4} ]}
Command format documentation
Command to receive hour pulse counter's values from device archive.
Example
Command format documentation