jooby-codec
    Preparing search index...

    Namespace getArchiveHoursMcEx

    Command to receive hour pulse counter's values from device archive.

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

    // response to getArchiveHoursMcEx downlink command
    const bytes = [0x2f, 0x97, 0x0c, 0x02, 0x0f, 0x83, 0x01, 0x0a, 0x08, 0x0a, 0x08, 0x0a, 0x0c, 0x0a];

    // decoded payload
    const parameters = getArchiveHoursMcEx.fromBytes(commandBody);

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

    [Command format documentation](https:

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes