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).
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¶
Elapsed budget when the timer expired.
Property Value¶
UdsTimeoutException.RequestedService Property¶
Service that was awaiting a response.
Property Value¶
UdsTimeoutException.Timer Property¶
Which timing budget expired.