Module ecu_diagnostics::channel
source · [−]Expand description
Module for logical communication channels with an ECU
Currently, the following channel types are defined:
- PayloadChannel - Basic channel, all channels inherit this trait
- IsoTPChannel - IsoTP (ISO15765) channel
Structs
CAN Frame
ISO-TP configuration options (ISO15765-2)
Enums
Error produced by a communication channel
Traits
Packet channel for sending and receiving individual CAN Frames
Extended trait for PayloadChannel when utilizing ISO-TP to send data to the ECU
This trait is for packets that are used by PacketChannel
A PacketChannel is a way for a device to send and receive individual network packets across an ECU network. Unlike PayloadChannel, this channel type is unfiltered, so all network traffic may be visible, and filtering should be done in software. Most of the protocols that implement PayloadChannel are actually higher-level PacketChannels which use multiple packets to send larger payloads. Such is the case with ISO-TP over CAN.
A payload channel is a way for a device to have a bi-directional communication link with a specific ECU
Type Definitions
Communication channel result