jooby-codec
    Preparing search index...

    Uplink command to get the information for the specific OBIS ID and meter profile.

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

    // response to getObisInfo with obis code 0.9.1 and obis profile
    const bytes = [0x03, 0x02, 0x00, 0x09, 0x01, 0x01, 0x58, 0x02, 0x14, 0x3d, 0x15];

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

    console.log(parameters);
    // output:
    {
    requestId: 3,
    obis: {
    c: 0,
    d: 9,
    e: 1
    },
    obisProfile: {
    capturePeriod: 344,
    sendingPeriod: 532,
    sendingCounter: 61,
    flags: {
    contentType: 2,
    sendOnChange: true,
    archive1: true,
    archive2: false
    }
    }
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes