jooby-codec
    Preparing search index...

    Namespace setSeasonProfile

    Downlink command to set season profile information for the given tariff table.

    Supported in MTX1 and MTX3 devices.

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

    const parameters = {
    tariffTable: 1,
    index: 8,
    month: 1,
    date: 1,
    dayIndexes: [0, 0, 0, 0, 0, 0, 0]
    };
    const bytes = setSeasonProfile.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [17, 11, 1, 8, 1, 1, 0, 0, 0, 0, 0, 0, 0]

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes