jooby-codec
    Preparing search index...

    Namespace usWaterMeterCommand

    Command to receive data frame from Ultrasound water meter.

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

    // response to usWaterMeterCommand downlink command
    const bytes = [0x04, 0x04, 0x22, 0x35, 0x28];

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

    console.log(parameters);
    // output:
    {length: 4, data: [4, 34, 53, 40]}

    Command format documentation

    Interfaces

    IUSWaterMeterCommandResponseParameters

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes