Downlink command to get the meter archive data.
import * as readArchive from 'jooby-codec/obis-observer/commands/downlink/readArchive.js';const parameters = { requestId: 3, archiveType: 1, index: 4,};const bytes = readArchive.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[21, 6, 3, 1, 0, 0, 0, 4] Copy
import * as readArchive from 'jooby-codec/obis-observer/commands/downlink/readArchive.js';const parameters = { requestId: 3, archiveType: 1, index: 4,};const bytes = readArchive.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[21, 6, 3, 1, 0, 0, 0, 4]
Command format documentation
Downlink command to get the meter archive data.
Example
Command format documentation