mickeyl / LTSupportAutomotive

An iOS / watchOS / macOS support library for OBD2, VIN-Decoding, and more.
MIT License
212 stars 59 forks source link

Not able to read all DTC if vehicle having multiple ECU #32

Open mukulpandey57 opened 3 years ago

mukulpandey57 commented 3 years ago

Hello @mickeyl , I am only able to get the Generic/ Manufacturer specific DTC code from the main ECU module, not getting any DTC code for ABS,TCM etc modules using this library. is it Hardware(OBD dongle) issue that is not able to catchup all codes or something i am missing in this Library to get all DCT from multiple modules? even i am using all three modes. LTOBD2PID_PERMANENT_DTC_0A LTOBD2PID_PENDING_DTC_07 LTOBD2PID_STORED_DTC_03

Reference Module: Engine Control Module (ECM) - This controls the actuators of the engine, affecting things like ignition timing, air to fuel ratios, and idle speeds. Vehicle Control Module (VCM) - Another module name that controls the engine and vehicle performance. Transmission Control Module (TCM) - This handles the transmission, including items like transmission fluid temperature, throttle position, and wheel speed. Powertrain Control Module (PCM) - Typically, a combination of an ECM and a TCM. This controls your powertrain. Electronic Brake Control Module (EBCM) - This controls and reads data from the anti-lock braking system (ABS). Body Control Module (BCM) - The module that controls vehicle body features, such as power windows, power seats, etc.

mickeyl commented 3 years ago

I'm afraid most vendors do not expose anything beyond the standard set of DTC (designed for emission control) via the public PID interface. Many vendors do not even expose more than one ECU to the public bus.

That said, let's verify by inspecting the byte stream. Can you capture a log output and attach it to the issue so we can have a look at which of your ECUs are actually answering?