jooby-codec
    Preparing search index...

    Downlink command to get the OBIS code content from the specific metering device.

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

    const parameters = {
    requestId: 3,
    meterId: 8,
    obis: {
    c: 0,
    d: 9,
    e: 1
    }
    };

    const bytes = getObisContent.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    [78, 9, 3, 0, 0, 0, 8, 2, 0, 9, 1]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes