summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-30 20:49:23 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-30 20:49:23 -0500
commit0bd237bae324740d6b6b22e3c63ac426267d5bf1 (patch)
tree17843ac709dd8de274c784046735ee13ef6a1053 /src
parent217bb7fd1657e35a95024bb5bda598ea136fdfbe (diff)
Add more failing tests before beginning implementation.
Diffstat (limited to 'src')
-rw-r--r--src/obd2/obd2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/obd2/obd2.h b/src/obd2/obd2.h
index 411170d..7445952 100644
--- a/src/obd2/obd2.h
+++ b/src/obd2/obd2.h
@@ -112,6 +112,8 @@ typedef enum {
typedef struct {
IsoTpHandler isotp_handler;
+ // TODO the Handle may need to keep the original request, otherwise we can't
+ // compare an incoming CAN message to see if it matches the service / PID!
DiagnosticRequestType type;
DiagnosticResponseReceived callback;
DiagnosticMilStatusReceived mil_status_callback;