Expand description
§auto_uds (renamed to automotive_diag)
This deprecated crate provides low-level no_std structs and enums of the Unified Diagnostic Services specification for the road vehicles iso-14229-1 in Rust.
§DEPRECATED (renamed)
This crate has been renamed to automotive_diag. All code was moved to the uds namespace.
Macros§
Structs§
- Scaling
- Scaling value with both the
ScalingTypeand the size of the data.
Enums§
- Byte
Wrapper Deprecated - A wrapper around a byte, which can be either an ISO-standardized value for a specific enum,
or an implementation-specific/invalid
Extendedvalue wrapping original byte. - Communication
Level Deprecated - Communication level toggle
- Communication
Type Deprecated - ECU Communication types
- DtcSub
Function Deprecated UdsCommand::ReadDTCInformationsub-function definitions- Reset
Type Deprecated - Reset ECU subcommand
- Scaling
Extension Deprecated - Scaling data byte extensions This enum is used to represent the following:
- Scaling
Type Deprecated - Scaling high nibble, representing the type of data without its size. The size is given by the low nibble.
- Security
Operation Deprecated - Security operation request
- Subnet
Deprecated - ECU communication subnet type
- UdsCommand
Deprecated - UDS Command Service IDs
- UdsError
Deprecated - UDS Error definitions
- UdsSession
Type Deprecated - UDS Diagnostic session modes. Handled by SID 0x10
Functions§
- decode_
communication_ type - Decode communication type and subnet from a single byte. If the low 4 bits are not a valid communication type, the low 4 bits are returned as an error.
- encode_
communication_ type - Encode communication type and subnet into a single byte
Type Aliases§
- Communication
Level Byte - Store a single byte, either as a
Standard(CommunicationLevel), or as anExtended(u8). - DtcSub
Function Byte - Store a single byte, either as a
Standard(DtcSubFunction), or as anExtended(u8). - Reset
Type Byte - Store a single byte, either as a
Standard(ResetType), or as anExtended(u8). - Scaling
Byte - Store a single byte, either as a
Standard(Scaling), or as anExtended(u8). - Scaling
Extension Byte - Store a single byte, either as a
Standard(ScalingExtension), or as anExtended(u8). - Security
Operation Byte - Store a single byte, either as a
Standard(SecurityOperation), or as anExtended(u8). - UdsCommand
Byte - Store a single byte, either as a
Standard(UdsCommand), or as anExtended(u8). - UdsError
Byte - Store a single byte, either as a
Standard(UdsError), or as anExtended(u8). - UdsSession
Type Byte - Store a single byte, either as a
Standard(UdsSessionType), or as anExtended(u8).