aboutsummaryrefslogtreecommitdiffstats
path: root/src/obd2/obd2.h
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-30 21:06:57 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-30 21:06:57 -0500
commit84bc68873aa53e295853b461b6793b5019d1dacb (patch)
tree933981a79b25c05185f7b55d5f8e6a96d5decc72 /src/obd2/obd2.h
parent0bd237bae324740d6b6b22e3c63ac426267d5bf1 (diff)
Spray a bunch of notes and code into the implementation file.
Diffstat (limited to 'src/obd2/obd2.h')
-rw-r--r--src/obd2/obd2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/obd2/obd2.h b/src/obd2/obd2.h
index 74459520..e4ffc7ab 100644
--- a/src/obd2/obd2.h
+++ b/src/obd2/obd2.h
@@ -114,6 +114,8 @@ 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!
+ // TODO i'm not sure this type/callback in here is too useful - see the
+ // comments in obd2.c:diagnostic_request
DiagnosticRequestType type;
DiagnosticResponseReceived callback;
DiagnosticMilStatusReceived mil_status_callback;
@@ -129,7 +131,6 @@ typedef enum {
typedef struct {
IsoTpShims isotp_shims;
LogShim log;
- SendCanMessageShim send_can_message;
} DiagnosticShims;
DiagnosticShims diagnostic_init_shims(LogShim log,