jooby-codec
    Preparing search index...

    Uplink command to setup the meter id, meter profile id, meter address to the meter. A new meter will be created if it doesn't exist.

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

    // response to setupMeter downlink command
    const bytes = [0x07];

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

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

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes