Uplink command to get the readout related state and statistic from the specific meter.
import * as getMeterReadoutState from 'jooby-codec/obis-observer/commands/uplink/getMeterReadoutState.js';// response to getMeterReadoutStateconst bytes = [0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xc1, 0x00, 0x0e, 0x00, 0x0c, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];// decoded payloadconst parameters = getMeterReadoutState.fromBytes(bytes);console.log(parameters);// output:{ requestId: 3, lastSuccessfulTime: 127, lastFailedTime: 193, readoutAttempts: 14, successfulReadoutAttempts: 12, readoutRepetitions: 2, waitNextSymbolErrors: 0, waitIdErrors: 0, waitNextStateErrors: 0, wrongBccErrors: 0, parityErrors: 0, frameErrors: 0, overrunErrors: 0} Copy
import * as getMeterReadoutState from 'jooby-codec/obis-observer/commands/uplink/getMeterReadoutState.js';// response to getMeterReadoutStateconst bytes = [0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xc1, 0x00, 0x0e, 0x00, 0x0c, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];// decoded payloadconst parameters = getMeterReadoutState.fromBytes(bytes);console.log(parameters);// output:{ requestId: 3, lastSuccessfulTime: 127, lastFailedTime: 193, readoutAttempts: 14, successfulReadoutAttempts: 12, readoutRepetitions: 2, waitNextSymbolErrors: 0, waitIdErrors: 0, waitNextStateErrors: 0, wrongBccErrors: 0, parityErrors: 0, frameErrors: 0, overrunErrors: 0}
Command format documentation
Uplink command to get the readout related state and statistic from the specific meter.
Example: create command instance from command body hex dump
Command format documentation