Skip to main content

PduGetLastErrorFn

Type Alias PduGetLastErrorFn 

Source
pub type PduGetLastErrorFn = extern "system" fn(h_mod: u32, h_cll: u32, p_error_code: *mut PduErrorEvt, ph_cop: *mut u32, p_timestamp: *mut u32, p_extra_error_info: *mut u32) -> PduError;
Expand description

Gets the last runtime error from the MVCI module or ComLogicalLink Used for SAE J2534-2 support

ยงParameters

  • h_mod - Handle of the MVCI module
  • h_cll - Handle of the ComLogicalLink
  • p_error_code - Pointer to store the error code
  • ph_cop - If the last error persists to a ComPrimitive, then this will contain the handle of the ComPrimitive
  • p_timestamp - Pointer to store timestamp
  • Pointer for storing any extra information