Skip to content

IsoTpDatagramReceivedEventArgs Class

Event data raised by DatagramReceived after a full ISO-TP PDU (Single-Frame, or First-Frame + all Consecutive Frames) has been reassembled.

public sealed class IsoTpDatagramReceivedEventArgs : System.EventArgs

Inheritance ObjectEventArgs → IsoTpDatagramReceivedEventArgs

Constructors

IsoTpDatagramReceivedEventArgs(IsoTpEndpoint, byte[]) Constructor

Creates a new event args instance.

public IsoTpDatagramReceivedEventArgs(CanKit.Pro.IsoTp.IsoTpEndpoint endpoint, byte[] data);

Parameters

endpoint IsoTpEndpoint

data Byte[]

Properties

IsoTpDatagramReceivedEventArgs.Data Property

The reassembled PDU bytes. The array is owned by the channel and callers must not mutate it; it is safe to keep a reference until the next event or PDU dequeue.

public byte[] Data { get; }

Property Value

Byte[]

IsoTpDatagramReceivedEventArgs.Endpoint Property

The endpoint that produced this PDU (matches Endpoint).

public CanKit.Pro.IsoTp.IsoTpEndpoint Endpoint { get; }

Property Value

IsoTpEndpoint