Uplink command to get the list of meters id.
import * as getMeterIdList from 'jooby-codec/obis-observer/commands/uplink/getMeterIdList.js';// response to getMeterIdList with two meterIdconst bytes = [0x04, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02];// decoded payloadconst parameters = getMeterIdList.fromBytes(bytes);console.log(parameters);// output:{ requestId: 4, isCompleted: true, meterIdList: [1, 2]} Copy
import * as getMeterIdList from 'jooby-codec/obis-observer/commands/uplink/getMeterIdList.js';// response to getMeterIdList with two meterIdconst bytes = [0x04, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02];// decoded payloadconst parameters = getMeterIdList.fromBytes(bytes);console.log(parameters);// output:{ requestId: 4, isCompleted: true, meterIdList: [1, 2]}
Command format documentation
Uplink command to get the list of meters id.
Example: create command instance from command body hex dump
Command format documentation