jooby-codec
    Preparing search index...

    Information about multi-channel currents.

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

    // 4 channels for IMP4EU
    const bytes = [0x0f, 0x83, 0x01, 0x08, 0x0a, 0x0c];

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

    console.log(parameters);
    // output:
    {
    channelList: [
    {index: 1, value: 131},
    {index: 2, value: 8},
    {index: 3, value: 10},
    {index: 4, value: 12}
    ]
    }

    Command format documentation

    Interfaces

    ICurrentMcResponseParameters

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes