Class CanFdFrame
Represents a CANFD frame (extended CAN frame with flexible data rate)
public class CanFdFrame : CanFrame
- Inheritance
-
CanFdFrame
- Inherited Members
Constructors
CanFdFrame()
Creates a new CANFD frame
public CanFdFrame()
CanFdFrame(uint, byte[], bool, bool)
Creates a new CANFD frame with specified ID and data
public CanFdFrame(uint id, byte[] data, bool isExtended = false, bool isBitRateSwitching = false)
Parameters
iduintCAN identifier
databyte[]Frame data (up to 64 bytes)
isExtendedboolWhether this is an extended frame
isBitRateSwitchingboolWhether bit rate switching is enabled
Properties
IsBitRateSwitching
Whether bit rate switching is enabled (data phase uses faster rate)
public bool IsBitRateSwitching { get; set; }
Property Value
IsErrorStateIndicator
Whether error state indicator is set
public bool IsErrorStateIndicator { get; set; }
Property Value
IsFdFrame
Whether this is a CANFD frame (vs traditional CAN)
public bool IsFdFrame { get; set; }
Property Value
Methods
ToString()
Returns a string representation of this CANFD frame
public override string ToString()