jooby-codec
    Preparing search index...

    Uplink command to get the list of meters id.

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

    // response to getMeterIdList with two meterId
    const bytes = [0x04, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02];

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

    console.log(parameters);
    // output:
    {
    requestId: 4,
    isCompleted: true,
    meterIdList: [1, 2]
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes