jooby-codec
    Preparing search index...

    Downlink command to get the current date and time on the specific meter.

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

    const parameters = {
    requestId: 4,
    meterId: 3
    };

    const bytes = getMeterDate.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [122, 5, 4, 0, 0, 0, 3]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes