jooby-codec
    Preparing search index...

    Namespace getExtendedCurrentValues2

    Uplink command to get get additional current parameters.

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

    // simple response
    const bytes = [0x01, 0x66, 0x61, 0x21, 0x59, 0x0a, 0x81];

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

    console.log(parameters);
    // output:
    {
    uBattery: 358,
    relayStatus: {
    RELAY_STATE: true,
    RELAY_UBAD: false,
    RELAY_UNEQ_CURRENT: false,
    RELAY_OFF_CENTER: true,
    RELAY_IMAX: true,
    RELAY_PMAX: false
    },
    relayStatus2: {
    RELAY_COSFI: true,
    RELAY_SALDO_OFF_FLAG: false,
    RELAY_UNEQUIL_CURRENT_OFF: false,
    RELAY_BIPOLAR_POWER_OFF: false,
    RELAY_SALDO_OFF_ON_MAX_POWER: false,
    RELAY_HARD_ST1: true
    },
    status1: {
    MAXVA: true,
    MINVA: false,
    MAXT: false,
    MINT: true,
    MAXF: true,
    MINF: false,
    MAXIA: true,
    MAXP: false
    },
    status2: {
    MAX_POWER_SALDO: false,
    BATTERY_VBAT_BAD: true,
    CLOCK_UNSET: true,
    MIN_COS_FI: false
    },
    status3: {
    UNEQUIL_CURRENT: true,
    BIPOLAR_POWER: false,
    POWER_A_NEGATIVE: false,
    POWER_B_NEGATIVE: true
    }
    }

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes