Coder Social home page Coder Social logo

Reading MIL Status & DTCs about obd.net HOT 4 CLOSED

darthaffe avatar darthaffe commented on June 2, 2024
Reading MIL Status & DTCs

from obd.net.

Comments (4)

DarthAffe avatar DarthAffe commented on June 2, 2024

Hi,
yes since I need this for my own project too, it is on the list of things to do. I haven't worked much on this lately, but I think it's quite easy to add trouble codes - I'll look into this over the week.

from obd.net.

rGunti avatar rGunti commented on June 2, 2024

Okay very nice. I will look into this as well and I might be able to supply something myself.

from obd.net.

DarthAffe avatar DarthAffe commented on June 2, 2024

Hey, just wanted to give you a update on this.
Adding trouble codes will take a little longer - I'm running into a few problems here:
Trouble codes are returned as multiple frames which OBD.NET doesn't support by design right now. This needs quite some work on the way data is received first.
I then thought I could at least read the codes from the first frame, but I don't really understand how they are encoded only by the specification. I would need to run a few tests in the car to see some of the results which isn't possible currently - I'm working on my car-pc hardware so it's not in the car.

from obd.net.

DarthAffe avatar DarthAffe commented on June 2, 2024

Hey, I just pushed something to the DTC-branch (59e8580).
With this you should be able to request DTCs by calling RequestDTCs or RequestDTCsAsync. I'm pretty sure that it won't return more than 3 codes even if there are more returned by the car, since multiframe-support is still not implemented.
You can also get the MIL-status and the real trouble-code count by requesting MonitorStatusSinceDTCsClreared (PID 0x01) through the normal RequestData method.

from obd.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.