jooby-codec
    Preparing search index...

    Downlink command to get the meter archive data.

    import * as readMeterArchive from 'jooby-codec/obis-observer/commands/downlink/readMeterArchive.js';

    const parameters = {
    requestId: 3,
    archiveType: 1,
    index: 4,
    meterId: 2
    };
    const bytes = readMeterArchive.toBytes(parameters);

    // output command binary in hex representation
    console.log(bytes);
    // output
    [17, 10, 3, 1, 0, 0, 0, 4, 0, 0, 0, 2]

    Command format documentation

    Interfaces

    IReadMeterArchiveParameters

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes