Skip Menu |

This queue is for tickets about the Device-ELM327 CPAN distribution.

Report information
The Basics
Id: 89287
Status: resolved
Worked: 5 hours (300 min)
Priority: 0/
Queue: Device-ELM327

People
Owner: APERROTT [...] cpan.org
Requestors: george.ahearn [...] comcast.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Unable to show trouble codes
Date: Sun, 6 Oct 2013 21:13:50 -0700
To: bug-device-elm327 [...] rt.cpan.org
From: George R Ahearn <george.ahearn [...] comcast.net>
The 'Check Engine' lamp on my 2000 Jaguar S Series (6 Cylinders) came on. I applied my USB-ELM327 device and ran the following code: #!/usr/bin/perl use strict; use warnings; use Device::ELM327; # my $obd = Device::ELM327->new("/dev/ttyUSB0", 3); my $obd = Device::ELM327->new("/dev/ttyUSB0", 1); # Read status information... # $obd->ShowReadableValues(); $obd->Show("ELM identity"); $obd->Show("Vehicle Identification Number"); $obd->Show("Engine RPM"); $obd->Show("Ignition state"); $obd->Show("Stored data byte"); $obd->Show("Permanent diagnostic trouble codes"); $obd->Show("Input Voltage"); $obd->ShowTroubleCodes(); undef $obd; Many of the responses were as expected, however there were no Trouble codes. Not satisfied with that I used another OBDII device and learned that codes: P0171 System too lean Bank1, and P0174 System too lean Bank 2 were stored. What might I be doing wrong? Or is this a bug? Thank you for your consideration of this issue. george.ahearn@comcast.net
Hi George, Sorry for not getting back to you sooner and thank you for the bug report. Would it be possible for you to run your script again with the debug level set back to '3', pipe the output to a text file and then mail it back to me? That will enable me to replay the sequence here and see what my code is doing. Best regards, Alister http://www.gts-ltd.co.uk/ELM327.php
Hi George, Thanks for the debug trace. I was able to replay it through the code and trace the problem to the piece of code that handles packets in SAE J1979 format. Give 0.11 a go and let me know if you have any problems. Best regards, Alister