jooby-codec
    Preparing search index...

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

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

    // response to getMeterDate with data
    const bytes = [0x07, 0x2c, 0x2f, 0x0a, 0xf6];

    // decoded payload
    const parameters = getMeterDate.fromBytes(bytes);

    console.log(parameters);
    // output:
    {
    requestId: 7,
    time2000: 741280502
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes