jooby-codec
    Preparing search index...

    Downlink command to get the meter profile id and meter address for the specific meter.

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

    const parameters = {
    requestId: 8,
    meterId: 1
    };

    const bytes = getMeterInfo.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    [120, 5, 8, 0, 0, 0, 1]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes