jooby-codec
    Preparing search index...

    Namespace exAbsDayMc

    Command for retrieving absolute day values of channels.

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

    // absolute day value for 2023.03.10 00:00:00 GMT
    const bytes = [0x2e, 0x6a, 0x01, 0x83, 0xd6, 0x02];

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

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

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes