jooby-codec
    Preparing search index...

    Namespace getCriticalEvent

    Downlink command to get critical events.

    import * as getCriticalEvent from 'jooby-codec/mtx3/commands/downlink/getCriticalEvent.js';

    const parameters = {
    event: 1,
    name: 'MAGNETIC_ON',
    index: 2
    };

    const bytes = getCriticalEvent.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [86, 2, 1, 2]

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes