jooby-codec
    Preparing search index...

    Uplink command to get the information about device uptime.

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

    // response to getObserverUptime downlink command
    const bytes = [
    0x07, 0x00, 0x00, 0x0f, 0xb0
    ];

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

    console.log(parameters);
    // output:
    {
    requestId: 7,
    uptime: 4016
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes