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/mtx1/commands/uplink/getOperatorParameters.js';
    import CommandBinaryBuffer from 'jooby-codec/mtx1/utils/CommandBinaryBuffer.js';

    // get default operator parameters response
    const bytes = [
    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, 0x1e, 0x01, 0x7f, 0x07, 0x80, 0x00, 0x31, 0x84, 0x00, 0x00, 0x03,
    0x03, 0x00, 0x00, 0x00, 0xf0, 0x0f, 0x05, 0x05, 0x00, 0x01, 0x00, 0x05, 0x05, 0x37, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x02, 0x00, 0x05, 0x05, 0x05, 0x01, 0x08, 0x38, 0x3f, 0xff, 0x05, 0x05, 0x00, 0x18
    ];

    // 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