jooby-codec
    Preparing search index...

    Downlink command to get the meter archive data.

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

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

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

    Command format documentation

    Interfaces

    IReadArchiveParameters

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes