Enum ecu_diagnostics::kwp2000::KWP2000Error
source · [−]#[repr(C)]
pub enum KWP2000Error {
Show 22 variants
GeneralReject,
ServiceNotSupported,
SubFunctionNotSupportedInvalidFormat,
BusyRepeatRequest,
ConditionsNotCorrectRequestSequenceError,
RoutineNotComplete,
RequestOutOfRange,
SecurityAccessDenied,
InvalidKey,
ExceedNumberOfAttempts,
RequiredTimeDelayNotExpired,
DownloadNotAccepted,
UploadNotAccepted,
TransferSuspended,
RequestCorrectlyReceivedResponsePending,
ServiceNotSupportedInActiveSession,
ReservedISO,
ReservedDCX,
DataDecompressionFailed,
DataDecryptionFailed,
EcuNotResponding,
EcuAddressUnknown,
}
Expand description
KWP Error definitions
Variants
GeneralReject
ECU rejected the request for unknown reason
ServiceNotSupported
ECU Does not support the requested service
SubFunctionNotSupportedInvalidFormat
ECU does not support arguments provided, or message format is incorrect
BusyRepeatRequest
ECU is too busy to perform the request
ConditionsNotCorrectRequestSequenceError
ECU prerequisite conditions are not met
RoutineNotComplete
Deprecated in v2.2 of KWP2000. Requested results of a routine that is not completed.
RequestOutOfRange
The request message contains data which is out of range
SecurityAccessDenied
Security access is denied
InvalidKey
Invalid key provided to the ECU
ExceedNumberOfAttempts
Exceeded the number of incorrect security access attempts
RequiredTimeDelayNotExpired
Time period for requesting a new seed not expired
DownloadNotAccepted
ECU fault prevents data download
UploadNotAccepted
ECU fault prevents data upload
TransferSuspended
ECU fault has stopped the transfer of data
RequestCorrectlyReceivedResponsePending
The ECU has accepted the request, but cannot reply right now. If this error occurs, the Kwp2000DiagnosticServer will automatically stop sending tester present messages and will wait for the ECUs response. If after 2000ms, the ECU did not respond, then this error will get returned back to the function call.
ServiceNotSupportedInActiveSession
Requested service is not supported in the current diagnostic session mode
ReservedISO
Reserved for future ISO14230 use
ReservedDCX
Reserved for future use by DCX (Daimler)
DataDecompressionFailed
Data decompression failed
DataDecryptionFailed
Data decryption failed
EcuNotResponding
Sent by a gateway ECU. The requested ECU behind the gateway is not responding
EcuAddressUnknown
Sent by a gateway ECU. The requested ECU address is unknown
Trait Implementations
sourceimpl Clone for KWP2000Error
impl Clone for KWP2000Error
sourcefn clone(&self) -> KWP2000Error
fn clone(&self) -> KWP2000Error
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KWP2000Error
impl Debug for KWP2000Error
sourceimpl From<u8> for KWP2000Error
impl From<u8> for KWP2000Error
sourceimpl Ord for KWP2000Error
impl Ord for KWP2000Error
sourceimpl PartialEq<KWP2000Error> for KWP2000Error
impl PartialEq<KWP2000Error> for KWP2000Error
sourceimpl PartialOrd<KWP2000Error> for KWP2000Error
impl PartialOrd<KWP2000Error> for KWP2000Error
sourcefn partial_cmp(&self, other: &KWP2000Error) -> Option<Ordering>
fn partial_cmp(&self, other: &KWP2000Error) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for KWP2000Error
impl Eq for KWP2000Error
impl StructuralEq for KWP2000Error
impl StructuralPartialEq for KWP2000Error
Auto Trait Implementations
impl RefUnwindSafe for KWP2000Error
impl Send for KWP2000Error
impl Sync for KWP2000Error
impl Unpin for KWP2000Error
impl UnwindSafe for KWP2000Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more