Skip to content

UdsTimeoutException Class

Raised when the ECU does not deliver a positive or final negative response inside the applicable timing budget: - P2 — the default response window from the request (SRS FR-UDS-008). - P2Star — the extended window used after the ECU replied with NRC 0x78 (SRS FR-UDS-009).

public sealed class UdsTimeoutException : CanKit.Pro.Uds.UdsException

Inheritance Object → Exception → CanKitException → UdsException → UdsTimeoutException

Constructors

UdsTimeoutException(UdsServiceId, UdsTimeoutTimer, TimeSpan) Constructor

Creates a P2 or P2* timeout exception.

public UdsTimeoutException(CanKit.Pro.Uds.UdsServiceId requestedService, CanKit.Pro.Uds.UdsTimeoutTimer timer, System.TimeSpan elapsed);

Parameters

requestedService UdsServiceId

timer UdsTimeoutTimer

elapsed TimeSpan

Properties

UdsTimeoutException.Elapsed Property

The budget of the timer that expired (the configured P2 or P2*), on every path. Not a measurement: how late the client noticed says nothing about the server (#57).

public System.TimeSpan Elapsed { get; }

Property Value

TimeSpan

UdsTimeoutException.RequestedService Property

Service that was awaiting a response.

public CanKit.Pro.Uds.UdsServiceId RequestedService { get; }

Property Value

UdsServiceId

UdsTimeoutException.Timer Property

Which timing budget expired.

public CanKit.Pro.Uds.UdsTimeoutTimer Timer { get; }

Property Value

UdsTimeoutTimer