Struct ecu_diagnostics::kwp2000::Kwp2000ServerOptions [−][src]
#[repr(C)]pub struct Kwp2000ServerOptions {
pub send_id: u32,
pub recv_id: u32,
pub read_timeout_ms: u32,
pub write_timeout_ms: u32,
pub global_tp_id: u32,
pub tester_present_interval_ms: u32,
pub tester_present_require_response: bool,
}
Expand description
KWP2000 server options
Fields
send_id: u32
ECU Send ID
recv_id: u32
ECU Receive ID
read_timeout_ms: u32
Read timeout in ms
write_timeout_ms: u32
Write timeout in ms
global_tp_id: u32
Optional global address to send tester-present messages to Set to 0 if not in use
tester_present_interval_ms: u32
Tester present minimum send interval in ms
tester_present_require_response: bool
Configures if the diagnostic server will poll for a response from tester present.
Trait Implementations
Gets the write timeout for sending messages to the servers channel
Gets the read timeout for reading response messages from the servers channel
Auto Trait Implementations
impl RefUnwindSafe for Kwp2000ServerOptions
impl Send for Kwp2000ServerOptions
impl Sync for Kwp2000ServerOptions
impl Unpin for Kwp2000ServerOptions
impl UnwindSafe for Kwp2000ServerOptions
Blanket Implementations
Mutably borrows from an owned value. Read more