jooby-codec
    Preparing search index...

    Namespace getOperatorParameters

    Uplink command to get device operator parameters.

    The corresponding downlink command: getOperatorParameters.

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

    // get default operator parameters response
    const bytes = [
    0x1e, 0x5f,
    0x00, 0x04, 0x0b, 0x28, 0x00, 0x02, 0x61, 0x60, 0x00, 0x01, 0xd4, 0xc0, 0x00, 0x00, 0x7c, 0x38,
    0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38,
    0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x1e, 0x01, 0x7f, 0x07,
    0x00, 0x00, 0x10, 0x85, 0x00, 0x02, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03,
    0x44, 0x1e, 0x1e, 0x03, 0x00, 0x05, 0x37, 0x2d, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01,
    0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x05, 0x05, 0x05, 0x01, 0x80, 0x06, 0x00, 0x00
    ];

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

    console.log(parameters);
    // output:
    // same as CommandBinaryBuffer.getDefaultOperatorParameters()

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes