Uplink command to get the information for the specific OBIS ID and meter profile.
import * as getObisInfo from 'jooby-codec/obis-observer/commands/uplink/getObisInfo.js';// response to getObisInfo with obis code 0.9.1 and obis profileconst bytes = [0x03, 0x02, 0x00, 0x09, 0x01, 0x01, 0x58, 0x02, 0x14, 0x3d, 0x15];// decoded payloadconst parameters = getObisInfo.fromBytes(bytes);console.log(parameters);// output:{ requestId: 3, obis: { c: 0, d: 9, e: 1 }, obisProfile: { capturePeriod: 344, sendingPeriod: 532, sendingCounter: 61, flags: { contentType: 2, sendOnChange: true, archive1: true, archive2: false } }} Copy
import * as getObisInfo from 'jooby-codec/obis-observer/commands/uplink/getObisInfo.js';// response to getObisInfo with obis code 0.9.1 and obis profileconst bytes = [0x03, 0x02, 0x00, 0x09, 0x01, 0x01, 0x58, 0x02, 0x14, 0x3d, 0x15];// decoded payloadconst parameters = getObisInfo.fromBytes(bytes);console.log(parameters);// output:{ requestId: 3, obis: { c: 0, d: 9, e: 1 }, obisProfile: { capturePeriod: 344, sendingPeriod: 532, sendingCounter: 61, flags: { contentType: 2, sendOnChange: true, archive1: true, archive2: false } }}
Command format documentation
Uplink command to get the information for the specific OBIS ID and meter profile.
Example: create command instance from command body hex dump
Command format documentation