Skip to content

carloop/app-code-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages