Enum ecu_diagnostics::kwp2000::KwpCommand
source · #[repr(u8)]pub enum KwpCommand {
Show 27 variants
StartDiagnosticSession = 16,
ECUReset = 17,
ClearDiagnosticInformation = 20,
ReadStatusOfDiagnosticTroubleCodes = 23,
ReadDiagnosticTroubleCodesByStatus = 24,
ReadECUIdentification = 26,
ReadDataByLocalIdentifier = 33,
ReadDataByIdentifier = 34,
ReadMemoryByAddress = 35,
SecurityAccess = 39,
DisableNormalMessageTransmission = 40,
EnableNormalMessageTransmission = 41,
DynamicallyDefineLocalIdentifier = 44,
WriteDataByIdentifier = 46,
InputOutputControlByLocalIdentifier = 48,
StartRoutineByLocalIdentifier = 49,
StopRoutineByLocalIdentifier = 50,
RequestRoutineResultsByLocalIdentifier = 51,
RequestDownload = 52,
RequestUpload = 53,
TransferData = 54,
RequestTransferExit = 55,
WriteDataByLocalIdentifier = 59,
WriteMemoryByAddress = 61,
TesterPresent = 62,
ControlDTCSettings = 133,
ResponseOnEvent = 134,
}
Expand description
KWP Command Service IDs.
Note. This does not cover both the ‘Reserved’ range (0x87-0xB9) and ‘System supplier specific’ range (0xBA-0xBF)
Variants§
StartDiagnosticSession = 16
Start or change ECU diagnostic session mode.
ECUReset = 17
Reset the ECU.
ClearDiagnosticInformation = 20
Clears diagnostic information stored on the ECU.
ReadStatusOfDiagnosticTroubleCodes = 23
Reads snapshot data of DTCs stored on the ECU.
ReadDiagnosticTroubleCodesByStatus = 24
Reads DTCs stored on the ECU.
ReadECUIdentification = 26
Reads ECU identification data.
ReadDataByLocalIdentifier = 33
Reads data from the ECU using a local identifier.
ReadDataByIdentifier = 34
Reads data from the ECU using a unique identifier.
ReadMemoryByAddress = 35
Reads memory from the ECU by address.
SecurityAccess = 39
Security access functions.
DisableNormalMessageTransmission = 40
Disables normal CAN message transmission from an ECU.
EnableNormalMessageTransmission = 41
Enables normal CAN message transmission from an ECU.
DynamicallyDefineLocalIdentifier = 44
WriteDataByIdentifier = 46
InputOutputControlByLocalIdentifier = 48
StartRoutineByLocalIdentifier = 49
Starts a ECU routine given a local identifier.
StopRoutineByLocalIdentifier = 50
Stops a ECU routine given a local identifier.
RequestRoutineResultsByLocalIdentifier = 51
requests results of an executed routine given a local identifier.
RequestDownload = 52
RequestUpload = 53
TransferData = 54
RequestTransferExit = 55
WriteDataByLocalIdentifier = 59
WriteMemoryByAddress = 61
TesterPresent = 62
Tester present message.
ControlDTCSettings = 133
ResponseOnEvent = 134
Trait Implementations§
source§impl Clone for KwpCommand
impl Clone for KwpCommand
source§fn clone(&self) -> KwpCommand
fn clone(&self) -> KwpCommand
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KwpCommand
impl Debug for KwpCommand
source§impl From<KwpCommand> for ByteWrapper<KwpCommand>
impl From<KwpCommand> for ByteWrapper<KwpCommand>
source§fn from(value: KwpCommand) -> ByteWrapper<KwpCommand>
fn from(value: KwpCommand) -> ByteWrapper<KwpCommand>
source§impl Ord for KwpCommand
impl Ord for KwpCommand
source§fn cmp(&self, other: &KwpCommand) -> Ordering
fn cmp(&self, other: &KwpCommand) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for KwpCommand
impl PartialEq for KwpCommand
source§fn eq(&self, other: &KwpCommand) -> bool
fn eq(&self, other: &KwpCommand) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for KwpCommand
impl PartialOrd for KwpCommand
source§fn partial_cmp(&self, other: &KwpCommand) -> Option<Ordering>
fn partial_cmp(&self, other: &KwpCommand) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more