Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.31 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.31 KB

Fault code reader for Carloop

Reads engine diagnostic trouble codes on CAN at 500 kbit and outputs them formatted to the USB Serial and published as Particle events.

Building

Copy this application to Particle Build and add the Carloop library

Example fault codes

# Mode 03 codes: none here
{"timestamp":670.646000,"bus":1,"id":"0x7df","data":"0x0103000000000000"}
{"timestamp":670.651000,"bus":1,"id":"0x7e8","data":"0x0243000000000000"}

# Mode 07 codes: three here
{"timestamp":685.359000,"bus":1,"id":"0x7df","data":"0x0107000000000000"}
{"timestamp":685.362000,"bus":1,"id":"0x7e8","data":"0x10 08 47 03 0102 0113"}
{"timestamp":685.362000,"bus":1,"id":"0x7e0","data":"0x3000000000000000"}
{"timestamp":685.364000,"bus":1,"id":"0x7e8","data":"0x21 0010 0000000000"}

# Mode 0a codes: none here
{"timestamp":734.808000,"bus":1,"id":"0x7df","data":"0x010a000000000000"}
{"timestamp":734.812000,"bus":1,"id":"0x7e8","data":"0x024a000000000000"}

Testing

To run the unit tests, run make in the root of the repository.

License

Copyright 2016 1000 Tools, Inc.

Distributed under the MIT license. See LICENSE for details.