IsoTpReceivedPdu Struct¶
A reassembled inbound PDU together with the monotonic instant it was queued for delivery.
Remarks¶
The timestamp exists so a caller enforcing a response deadline can ask when the PDU arrived rather than when it got round to looking. Those differ by however long the caller was descheduled, and on a loaded host that is not a small quantity — which is exactly the case a deadline has to survive.
ArrivalTimestamp is a raw GetTimestamp reading in units of Frequency per second, not a wall-clock time: an elapsed quantity stays an elapsed quantity, and no NTP step or DST change can move it. Compare it against another reading from the same source and divide by Frequency; the absolute value is meaningless on its own.
Constructors¶
IsoTpReceivedPdu(byte[], long) Constructor¶
Creates a delivery record.
Parameters¶
The reassembled PDU.
arrivalTimestamp Int64
A GetTimestamp reading taken when the PDU was queued.
IsoTpReceivedPdu(byte[], long, long) Constructor¶
Creates a delivery record of a multi-frame PDU.
Parameters¶
The reassembled PDU.
arrivalTimestamp Int64
A GetTimestamp reading taken when the PDU's final frame arrived.
firstFrameArrivalTimestamp Int64
The same reading for its first frame.
Properties¶
IsoTpReceivedPdu.ArrivalTimestamp Property¶
Monotonic GetTimestamp reading taken when the PDU's <b>final frame</b> was dequeued from the bus subscription — ahead of the protocol actor and of reassembly, so neither contributes to it. It is therefore an arrival time rather than an observation time, up to one channel hop between the demux and the channel's reader.
Property Value¶
IsoTpReceivedPdu.FirstFrameArrivalTimestamp Property¶
The same reading for the PDU's <b>first</b> frame — the Single Frame itself, or the First Frame of a multi-frame PDU. This is the instant a response <em>began</em>, which is what ISO 14229-2 measures P2 against: P2 ends with the first frame of the response, the rest of the transfer is the transport's (N_Cr) business (#28). Equal to ArrivalTimestamp for a Single Frame.
Property Value¶
IsoTpReceivedPdu.Pdu Property¶
The reassembled PDU.