jooby-codec
    Preparing search index...

    Namespace correctTime2000

    Time correction command.

    It is used when the time difference is up to 127 seconds. A device may apply it with a delay.

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

    // failure response
    const bytes = [0x00];

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

    console.log(parameters);
    // output:
    {status: 0}

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes