jooby-codec
    Preparing search index...

    Downlink command to get the information about serial port settings.

    import * as getSerialPort from 'jooby-codec/obis-observer/commands/downlink/getSerialPort.js';

    const parameters = {requestId: 7};
    const bytes = getSerialPort.toBytes(parameters);

    // output command binary in hex representation
    console.log(bytes);
    // output
    [7, 1, 7]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes