Uplink command to get the meter profile id and meter address for the specific meter.
import * as getMeterInfo from 'jooby-codec/obis-observer/commands/uplink/getMeterInfo.js';// get meter info response with meterProfileIdconst bytes = [0x02, 0x06, 0x6d, 0x61, 0x32, 0x33, 0x37, 0x35, 0x01];// decoded payloadconst parameters = getMeterInfo.fromBytes(bytes);console.log(parameters);// output:{ requestId: 2, meterProfileId: 1, address: 'ma2375'} Copy
import * as getMeterInfo from 'jooby-codec/obis-observer/commands/uplink/getMeterInfo.js';// get meter info response with meterProfileIdconst bytes = [0x02, 0x06, 0x6d, 0x61, 0x32, 0x33, 0x37, 0x35, 0x01];// decoded payloadconst parameters = getMeterInfo.fromBytes(bytes);console.log(parameters);// output:{ requestId: 2, meterProfileId: 1, address: 'ma2375'}
Command format documentation
Uplink command to get the meter profile id and meter address for the specific meter.
Example: create command instance from command body hex dump
Command format documentation