Uplink command to get the meter id by the meter address.
import * as getMeterId from 'jooby-codec/obis-observer/commands/uplink/getMeterId.js';// get meter id responseconst bytes = [0x02, 0x00, 0x00, 0x00, 0x01];// decoded payloadconst parameters = getMeterId.fromBytes(bytes);console.log(parameters);// output:{ requestId: 2, meterId: 1} Copy
import * as getMeterId from 'jooby-codec/obis-observer/commands/uplink/getMeterId.js';// get meter id responseconst bytes = [0x02, 0x00, 0x00, 0x00, 0x01];// decoded payloadconst parameters = getMeterId.fromBytes(bytes);console.log(parameters);// output:{ requestId: 2, meterId: 1}
Command format documentation
Uplink command to get the meter id by the meter address.
Example: create command instance from command body hex dump
Command format documentation