Table of Contents

Class CanFrame

Namespace
Pamoja.Can
Assembly
Pamoja.Can.dll

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

byte

Extended

Whether the identifier is a 29-bit extended one.

public bool Extended { get; }

Property Value

bool

Fd

Whether this is a CAN-FD frame rather than classic CAN 2.0.

public bool Fd { get; }

Property Value

bool

Id

The arbitration identifier, already masked to 11 or 29 bits.

public uint Id { get; }

Property Value

uint

Length

The data length: the payload length, or the length a remote frame requests without carrying it.

public int Length { get; }

Property Value

int

Remote

Whether this is a remote transmission request, which carries no payload.

public bool Remote { get; }

Property Value

bool