jooby-codec
    Preparing search index...

    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 getMeterReadoutState
    const bytes = [0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xc1, 0x00, 0x0e, 0x00, 0x0c, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];

    // decoded payload
    const 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

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes