jooby-codec
    Preparing search index...

    Uplink command to get the meter profile id and meter address for the specific meter.

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

    // get meter info response with meterProfileId
    const bytes = [0x02, 0x06, 0x6d, 0x61, 0x32, 0x33, 0x37, 0x35, 0x01];

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

    console.log(parameters);
    // output:
    {
    requestId: 2,
    meterProfileId: 1,
    address: 'ma2375'
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes