jooby-codec
    Preparing search index...

    Uplink command to get the information about memory settings.

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

    // response to getSettingsMemory
    const bytes = [0x02, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x02, 0x03];

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

    console.log(parameters);
    // output:
    {
    requestId: 2,
    settingsMemorySize: 10,
    offset: 2,
    data: [0, 1, 2, 3]
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes