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

    Function parseFrame

    • Parses a received RTU frame, verifying its CRC.

      Parameters

      • bytes: Uint8Array

        The frame as it came off the wire, checksum included.

      Returns modbus.ModbusFrame

      The validated frame.

      If the frame is truncated, oversized, or its CRC does not match.