jooby-codec
    Preparing search index...

    Namespace getQuality

    Uplink command to get power-off information for a specific year and month.

    The corresponding downlink command: getSaldoParameters.

    Supported in MTX1 and MTX3 devices.

    import * as getQuality from 'jooby-codec/mtx1/commands/uplink/getQuality.js';

    // response to getQuality downlink command
    const bytes = [
    0x1a, 0x01, 0x00, 0x08, 0xa0, 0x44, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x22
    ];

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

    console.log(parameters);
    // output:
    {
    year: 26,
    month: 1,
    powerOffSaidiMinutes: 565316,
    powerOffSaidiCount: 3,
    powerOffMaidiMinutes: 0,
    powerOffMaifiCount: 3,
    badVoltagePhaseAMinutes: 34
    }

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes