jooby-codec
    Preparing search index...

    Information about the current pulse counter readings from the sensor.

    import * as current from 'jooby-codec/analog/commands/uplink/current.js';

    // simple response channels
    const bytes = [0x80, 0x00, 0x01, 0x56];

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

    console.log(parameters);
    // output:
    {
    isMagneticInfluence: true,
    value: 342
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes