jooby-codec
    Preparing search index...

    Namespace getExtendedCurrentValues

    Uplink command to get extended current values like temperature, frequency etc.

    import * as getExtendedCurrentValues from 'jooby-codec/mtx3/commands/uplink/getExtendedCurrentValues.js';

    // simple response
    const bytes = [
    0x00, 0x43, 0x00, 0x3c, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x2d, 0x01, 0xf4, 0xfe, 0x0c,
    0x03, 0xe8, 0x03, 0xb6, 0x00, 0x00, 0x13, 0x88, 0x00, 0x00, 0x11, 0x94, 0x00, 0x00, 0x12, 0xc0,
    0x00, 0x00, 0x37, 0xdc, 0x01, 0x52
    ];

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

    console.log(parameters);
    // output:
    {
    temperature: 67,
    frequency: 60,
    vPhaseAB: 30,
    vPhaseAC: 45,
    pfA: 0.5,
    pfB: -0.5,
    pfC: 1,
    pf: 0.95,
    vaA: 5000,
    vaB: 4500,
    vaC: 4800,
    vaSum: 14300,
    uBatteryRtc: 338
    }

    Command format documentation

    Interfaces

    IGetExtendedCurrentValuesResponseParameters

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes
    toJson