Uplink command to get the meter profile related information.
import * as getMeterProfile from 'jooby-codec/obis-observer/commands/uplink/getMeterProfile.js';// response to getMeterProfileconst bytes = [0x03, 0x02, 0x58, 0x00, 0x2d];// decoded payloadconst parameters = getMeterProfile.fromBytes(bytes);console.log(parameters);// output:{ requestId: 3, archive1Period: 600, archive2Period: 45} Copy
import * as getMeterProfile from 'jooby-codec/obis-observer/commands/uplink/getMeterProfile.js';// response to getMeterProfileconst bytes = [0x03, 0x02, 0x58, 0x00, 0x2d];// decoded payloadconst parameters = getMeterProfile.fromBytes(bytes);console.log(parameters);// output:{ requestId: 3, archive1Period: 600, archive2Period: 45}
Command format documentation
Uplink command to get the meter profile related information.
Example: create command instance from command body hex dump
Command format documentation