Skip to main content

Class CrcException

Exception thrown when a CRC (Cyclic Redundancy Check) failure occurs.

Assembly: Meadow.Modbus.dll​
View Source​
Declaration
public class CrcException : Exception, ISerializable

Inheritance: System.Object -> System.Exception

Implements:
System.Runtime.Serialization.ISerializable

Properties​

ExpectedCrc​

The expected CRC value

View Source​
Declaration
public ushort ExpectedCrc { get; }

ActualCrc​

The calculated CRC

View Source​
Declaration
public ushort ActualCrc { get; }

MessageBytes​

The message failing the CRC check

View Source​
Declaration
public byte[] MessageBytes { get; }

Implements​

  • System.Runtime.Serialization.ISerializable