Uplink command to setup the meter id, meter profile id, meter address to the meter. A new meter will be created if it doesn't exist.
import * as setupMeter from 'jooby-codec/obis-observer/commands/uplink/setupMeter.js';// response to setupMeter downlink commandconst bytes = [0x07];// decoded payloadconst parameters = setupMeter.fromBytes(bytes);console.log(parameters);// output:{ requestId: 7} Copy
import * as setupMeter from 'jooby-codec/obis-observer/commands/uplink/setupMeter.js';// response to setupMeter downlink commandconst bytes = [0x07];// decoded payloadconst parameters = setupMeter.fromBytes(bytes);console.log(parameters);// output:{ requestId: 7}
Command format documentation
Uplink command to setup the meter id, meter profile id, meter address to the meter. A new meter will be created if it doesn't exist.
Example: create command instance from command body hex dump
Command format documentation