Enum ecu_diagnostics::uds::UdsCommand
source · #[repr(u8)]pub enum UdsCommand {
Show 26 variants
DiagnosticSessionControl = 16,
ECUReset = 17,
SecurityAccess = 39,
CommunicationControl = 40,
TesterPresent = 62,
Authentication = 41,
SecuredDataTransmission = 132,
ControlDTCSetting = 133,
ResponseOnEvent = 134,
LinkControl = 135,
ReadDataByIdentifier = 34,
ReadMemoryByAddress = 35,
ReadScalingDataByIdentifier = 36,
ReadDataByPeriodicIdentifier = 42,
DynamicallyDefineDataIdentifier = 44,
WriteDataByIdentifier = 46,
WriteMemoryByAddress = 61,
ClearDiagnosticInformation = 20,
ReadDTCInformation = 25,
InputOutputControlByIdentifier = 47,
RoutineControl = 49,
RequestDownload = 52,
RequestUpload = 53,
TransferData = 54,
RequestTransferExit = 55,
RequestFileTransfer = 56,
}
Expand description
UDS Command Service IDs
Variants§
DiagnosticSessionControl = 16
The client requests to control a diagnostic session with a server(s).
ECUReset = 17
The client forces the server(s) to perform a reset.
SecurityAccess = 39
The client requests to unlock a secured server(s).
CommunicationControl = 40
The client controls the setting of communication parameters in the server (e.g. communication baud-rate).
TesterPresent = 62
The client indicates to the server(s) that it is still present.
Authentication = 41
The client requests to access the server(s) with a specific access mode.
SecuredDataTransmission = 132
The client uses this service to perform data transmission with an extended data link security.
ControlDTCSetting = 133
The client controls the setting of DTCs in the server.
ResponseOnEvent = 134
The client requests to set up and/or control an event mechanism in the server.
LinkControl = 135
The client requests control of the communication baud-rate.
ReadDataByIdentifier = 34
The client requests to read the current value of a record identified by a provided dataIdentifier.
ReadMemoryByAddress = 35
The client requests to read the current value of the provided memory range.
ReadScalingDataByIdentifier = 36
The client requests to read the scaling information of a record identified by a provided dataIdentifier.
ReadDataByPeriodicIdentifier = 42
The client requests to schedule data in the server for periodic transmission.
DynamicallyDefineDataIdentifier = 44
The client requests to dynamically define data Identifiers that may subsequently be read by the UdsCommand::ReadDataByIdentifier
service.
WriteDataByIdentifier = 46
The client requests to write a record specified by a provided dataIdentifier.
WriteMemoryByAddress = 61
The client requests to overwrite a provided memory range.
ClearDiagnosticInformation = 20
Allows the client to clear diagnostic information from the server (including DTCs, captured data, etc.).
ReadDTCInformation = 25
Allows the client to request diagnostic information from the server (including DTCs, captured data, etc.).
InputOutputControlByIdentifier = 47
The client requests the control of an input/output specific to the server.
RoutineControl = 49
The client requests to start, stop a routine in the server(s) or requests the routine results.
RequestDownload = 52
The client requests the negotiation of a data transfer from the client to the server.
RequestUpload = 53
The client requests the negotiation of a data transfer from the server to the client.
TransferData = 54
The client transmits data to the server (download) or requests data from the server (upload).
RequestTransferExit = 55
The client requests the termination of a data transfer.
RequestFileTransfer = 56
The client requests the negotiation of a file transfer between server and client.
Trait Implementations§
source§impl Clone for UdsCommand
impl Clone for UdsCommand
source§fn clone(&self) -> UdsCommand
fn clone(&self) -> UdsCommand
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UdsCommand
impl Debug for UdsCommand
source§impl Display for UdsCommand
impl Display for UdsCommand
source§impl From<UdsCommand> for ByteWrapper<UdsCommand>
impl From<UdsCommand> for ByteWrapper<UdsCommand>
source§fn from(value: UdsCommand) -> ByteWrapper<UdsCommand>
fn from(value: UdsCommand) -> ByteWrapper<UdsCommand>
source§impl Ord for UdsCommand
impl Ord for UdsCommand
source§fn cmp(&self, other: &UdsCommand) -> Ordering
fn cmp(&self, other: &UdsCommand) -> 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 UdsCommand
impl PartialEq for UdsCommand
source§fn eq(&self, other: &UdsCommand) -> bool
fn eq(&self, other: &UdsCommand) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UdsCommand
impl PartialOrd for UdsCommand
source§fn partial_cmp(&self, other: &UdsCommand) -> Option<Ordering>
fn partial_cmp(&self, other: &UdsCommand) -> 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