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 value with both the
ScalingType
and the size of the data.
Enums
- ByteWrapperDeprecatedA wrapper around a byte, which can be either an ISO-standardized value for a specific enum, or an implementation-specific/invalid
Extended
value wrapping original byte. - CommunicationLevelDeprecatedCommunication level toggle
- CommunicationTypeDeprecatedECU Communication types
- DtcSubFunctionDeprecated
UdsCommand::ReadDTCInformation
sub-function definitions - ResetTypeDeprecatedReset ECU subcommand
- ScalingExtensionDeprecatedScaling data byte extensions This enum is used to represent the following:
- ScalingTypeDeprecatedScaling high nibble, representing the type of data without its size. The size is given by the low nibble.
- SecurityOperationDeprecatedSecurity operation request
- SubnetDeprecatedECU communication subnet type
- UdsCommandDeprecatedUDS Command Service IDs
- UdsErrorDeprecatedUDS Error definitions
- UdsSessionTypeDeprecatedUDS Diagnostic session modes. Handled by SID 0x10
Functions
- 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 and subnet into a single byte
Type Definitions
- Store a single byte, either as a
Standard(CommunicationLevel)
, or as anExtended(u8)
. - Store a single byte, either as a
Standard(DtcSubFunction)
, or as anExtended(u8)
. - Store a single byte, either as a
Standard(ResetType)
, or as anExtended(u8)
. - Store a single byte, either as a
Standard(Scaling)
, or as anExtended(u8)
. - Store a single byte, either as a
Standard(ScalingExtension)
, or as anExtended(u8)
. - Store a single byte, either as a
Standard(SecurityOperation)
, or as anExtended(u8)
. - Store a single byte, either as a
Standard(UdsCommand)
, or as anExtended(u8)
. - Store a single byte, either as a
Standard(UdsError)
, or as anExtended(u8)
. - Store a single byte, either as a
Standard(UdsSessionType)
, or as anExtended(u8)
.