pamoja for TypeScript - v0.1.17
    Preparing search index...

    Function raw

    • Builds a request from a raw function code and data, for the function codes this SDK does not name.

      Parameters

      • address: number

        The unit address to send to.

      • functionCode: number

        The function code byte.

      • data: Uint8Array

        The bytes that follow it, used verbatim.

      Returns Buffer

      The frame to send.

      If the data is longer than a PDU may be.