jooby-codec
    Preparing search index...

    Downlink command to get the meter id by the meter address.

    import * as getMeterId from 'jooby-codec/obis-observer/commands/downlink/getMeterId.js';

    const parameters = {
    requestId: 0,
    address: 'ma2375'
    };

    const bytes = getMeterId.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [118, 8, 0, 6, 109, 97, 50, 51, 55, 53]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes