jooby-codec
    Preparing search index...

    Namespace setSpecialDay

    Downlink command to set special day information for the given tariff table.

    Supported in MTX1 and MTX3 devices.

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

    const parameters = {
    tariffTable: 1,
    index: 5,
    month: 1,
    date: 9,
    dayIndex: 3,
    isPeriodic: true
    };
    const bytes = setSpecialDay.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [18, 6, 1, 5, 1, 9, 3, 0]

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes