jooby-codec
    Preparing search index...

    Namespace prepareRatePlan

    Downlink command to prepare device for rate plan application.

    Supported in MTX1 and MTX3 devices.

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

    const parameters = {
    tariffTable: 0,
    id: 987654321
    };
    const bytes = prepareRatePlan.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [20, 5, 0, 58, 222, 104, 177]

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes