jooby-codec
    Preparing search index...

    Namespace getExAbsArchiveDaysMc

    Command for retrieving daily consumption (absolute values) of device channels from the archive.

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

    // response to getExAbsArchiveDaysMc downlink command
    const bytes = [0x2e, 0x6a, 0x08, 0x02, 0x83, 0x94, 0x2b, 0xaa, 0x2c];

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

    console.log(parameters);
    // output:
    {
    startTime2000: 731721600,
    days: 2,
    channelList: [
    {
    pulseCoefficient: 100,
    index: 4,
    dayList: [5524, 5674]
    }
    ]
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes