jooby-codec
    Preparing search index...

    Namespace getExAbsArchiveHoursMc

    Command to request hourly consumption (absolute values) of device channels from the archive.

    import * as getExAbsArchiveHoursMc from 'jooby-codec/analog/commands/downlink/getExAbsArchiveHoursMc.js';

    const parameters = {startTime2000: 756648000, hours: 1, channelList: [1]};
    const bytes = getExAbsArchiveHoursMc.toBytes(parameters);

    // command binary representation
    console.log(bytes);
    // output:
    [31, 12, 4, 47, 151, 12, 1]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes