jooby-codec
    Preparing search index...

    Namespace setOperatorParametersExtended3

    Downlink command to set the shutdown thresholds for negative active power (A-).

    Supported in MTX1 and MTX3 (since 26.05.21.0.0.5) devices.

    import * as setOperatorParametersExtended3 from 'jooby-codec/mtx1/commands/downlink/setOperatorParametersExtended3.js';

    const parameters = {
    pmaxMinusThreshold0: 100,
    pmaxMinusThreshold1: 200,
    pmaxMinusThreshold2: 300,
    pmaxMinusThreshold3: 400,
    relaySet: {
    RELAY_OFF_LIMIT_P_MINUS_T1: true,
    RELAY_OFF_LIMIT_P_MINUS_T2: false,
    RELAY_OFF_LIMIT_P_MINUS_T3: true,
    RELAY_OFF_LIMIT_P_MINUS_T4: false
    }
    };
    const bytes = setOperatorParametersExtended3.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [114, 17, 0, 0, 0, 100, 0, 0, 0, 200, 0, 0, 1, 44, 0, 0, 1, 144, 40]

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes