jooby-codec
    Preparing search index...

    Namespace getGsmParameters

    Uplink command to get GSM parameters.

    The corresponding downlink command: getGsmParameters.

    Supported in MTX1 and MTX3 devices.

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

    // response to getGsmParameters downlink command
    const bytes = [
    0,
    218, 60, 174, 22, 0, 0, 0, 0, 2, 83, 84, 65, 84, 73, 67, 73,
    80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 206, 163
    ];


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

    console.log(parameters);
    // output:
    {
    index: 0,
    data: [
    60, 174, 22, 0, 0, 0, 0, 2, 83, 84, 65, 84, 73, 67, 73,
    80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
    ]
    }

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes
    toJson