jooby-codec
    Preparing search index...

    Namespace exAbsCurrentMc

    This command retrieves absolute current measurements from multiple channels.

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

    // absolute current value from channel 3
    const bytes = [0x04, 0x83, 0xd6, 0x02];

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

    console.log(parameters);
    // output:
    {
    channelList: [
    {
    pulseCoefficient: 100,
    index: 3,
    value: 342
    }
    ]
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes