jooby-codec
    Preparing search index...

    Namespace getEventStatus

    Uplink command to get device status events.

    The corresponding downlink command: getEventStatus.

    Supported in MTX1 and MTX3 devices.

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

    // response to getEventStatus downlink command
    const bytes = [0x85, 0x10];

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

    console.log(parameters);
    // output:
    {
    CASE_OPEN: true,
    MAGNETIC_ON: false,
    PARAMETERS_UPDATE_REMOTE: true,
    PARAMETERS_UPDATE_LOCAL: false,
    RESTART: false,
    ERROR_ACCESS: false,
    TIME_SET: false,
    TIME_CORRECT: true,
    DEVICE_FAILURE: false,
    CASE_TERMINAL_OPEN: false,
    CASE_MODULE_OPEN: false,
    TARIFF_TABLE_SET: false,
    TARIFF_TABLE_GET: true,
    PROTECTION_RESET_EM: false,
    PROTECTION_RESET_MAGNETIC: false
    }

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes