jooby-codec
    Preparing search index...

    Downlink command to get the archive state for the specific meter, including the record count, eldest record date, and newest record date.

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

    const parameters = {
    requestId: 5,
    archiveType: 1,
    meterId: 3
    };

    const bytes = getArchiveState.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [15, 6, 5, 1, 0, 0, 0, 3]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes