Class CanFrame
A CAN frame: an identifier, its flags, and its payload.
public sealed class CanFrame
- Inheritance
-
CanFrame
- Inherited Members
Properties
Data
The payload, empty for a remote frame.
public byte[] Data { get; }
Property Value
- byte[]
Dlc
The data length code as it appears on the wire.
public byte Dlc { get; }
Property Value
Extended
Whether the identifier is a 29-bit extended one.
public bool Extended { get; }
Property Value
Fd
Whether this is a CAN-FD frame rather than classic CAN 2.0.
public bool Fd { get; }
Property Value
Id
The arbitration identifier, already masked to 11 or 29 bits.
public uint Id { get; }
Property Value
Length
The data length: the payload length, or the length a remote frame requests without carrying it.
public int Length { get; }
Property Value
Remote
Whether this is a remote transmission request, which carries no payload.
public bool Remote { get; }