jooby-codec
    Preparing search index...

    Namespace setOperatorParameters

    Downlink command to set device operator parameters.

    import * as setOperatorParameters from 'jooby-codec/mtx3/commands/downlink/setOperatorParameters.js';
    import CommandBinaryBuffer from 'jooby-codec/mtx3/utils/CommandBinaryBuffer.js';

    const parameters = CommandBinaryBuffer.getDefaultOperatorParameters();
    const bytes = setOperatorParameters.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [
    31, 95, 0, 4, 11, 40, 0, 2, 97, 96, 0, 1, 212, 192, 0, 0,
    124, 56, 0, 0, 124, 56, 0, 0, 124, 56, 0, 0, 124, 56, 0, 0,
    124, 56, 0, 0, 124, 56, 0, 0, 124, 56, 0, 0, 124, 56, 30, 1,
    127, 7, 0, 0, 16, 133, 0, 2, 34, 0, 0, 0, 0, 0, 0, 0,
    3, 3, 68, 30, 30, 3, 0, 5, 55, 45, 0, 0, 0, 2, 0, 1,
    0, 1, 0, 1, 0, 1, 0, 0, 0, 5, 5, 5, 1, 128, 6, 0, 0
    ]

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes