Struct ecu_diagnostics::channel::IsoTPSettings [−][src]
#[repr(C)]pub struct IsoTPSettings {
pub block_size: u8,
pub st_min: u8,
pub extended_addressing: bool,
pub pad_frame: bool,
pub can_speed: u32,
pub can_use_ext_addr: bool,
}
Expand description
ISO-TP configuration options (ISO15765-2)
Fields
block_size: u8
ISO-TP Block size
This value indicates the number of CAN Frames to send in multi-frame messages, before sending or receiving a flow control message.
A value of 0 indicates send everything without flow control messages.
NOTE: This value might be overridden by the device’s implementation of ISO-TP
st_min: u8
Minimum separation time between Tx/Rx CAN Frames.
3 ranges are accepted for this value:
- 0x00 - Send without delay (ECU/Adapter will send frames as fast as the physical bus allows).
- 0x01-0x7F - Send with delay of 1-127 milliseconds between can frames
- 0xF1-0xF9 - Send with delay of 100-900 microseconds between can frames
NOTE: This value might be overridden by the device’s implementation of ISO-TP
extended_addressing: bool
Use extended ISO-TP addressing
pad_frame: bool
Pad frames over ISO-TP if data size is less than 8.
can_speed: u32
Baud rate of the CAN Network
can_use_ext_addr: bool
Does the CAN Network support extended addressing (29bit) or standard addressing (11bit)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IsoTPSettings
impl Send for IsoTPSettings
impl Sync for IsoTPSettings
impl Unpin for IsoTPSettings
impl UnwindSafe for IsoTPSettings
Blanket Implementations
Mutably borrows from an owned value. Read more