Function ecu_diagnostics::kwp2000::set_diagnostic_session_mode[][src]

pub fn set_diagnostic_session_mode(
    server: &mut Kwp2000DiagnosticServer,
    mode: SessionType
) -> DiagServerResult<()>
Expand description

Sets the ECU into a diagnostic mode

Parameters

  • server - The KWP2000 Diagnostic server
  • mode - The [Kwp2000SessionType] to put the ECU into