MessageType Enumeration

Represents the type of a CAN message.

Definition

Namespace: Peak.Can.Basic
Assembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 4.9.0
C#
[FlagsAttribute]
public enum MessageType

Remarks

Several message types can be combined (bit mask value).

  Important

Messages with type FlexibleDataRate, BitRateSwitch, ErrorStateIndicator, or a combination of them, can only be sent/received when the Channel is initialized using the Initialize(PcanChannel, BitrateFD) method.

Members

Standard0 The PCAN message is a CAN Standard Frame (11-bit identifier).
RemoteRequest1 The PCAN message is a CAN Remote-Transfer-Request Frame.
Extended2 The PCAN message is a CAN Extended Frame (29-bit identifier).
FlexibleDataRate4 The PCAN message represents a FD frame in terms of CiA specifications.
BitRateSwitch8 The PCAN message represents a FD bit rate switch (CAN data at a higher bit rate).
ErrorStateIndicator16 The PCAN message represents a FD error state indicator(CAN FD transmitter was error active).
Echo32 The PCAN message represents an echo CAN Frame ( self-received message).
Error64 The PCAN message represents an error frame. See Error Frames for more information.
Status128 The PCAN message represents a PCAN status frame. See Status Frames for more information.

See Also