summaryrefslogtreecommitdiffstats
path: root/src/obd2/obd2.h
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-03 14:40:46 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-03 14:40:46 -0500
commit26f5b1e5648c437e22cfcb7c87c22b40424ef198 (patch)
treeb2140d475290214a25ce2ded97fc560c804b51b2 /src/obd2/obd2.h
parent8e574cb4798a928ac50ffe6cb4fa5e3d22b8003a (diff)
Update version of isotp-c library.
Diffstat (limited to 'src/obd2/obd2.h')
-rw-r--r--src/obd2/obd2.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/obd2/obd2.h b/src/obd2/obd2.h
index 2bb6c77f..a2ea033c 100644
--- a/src/obd2/obd2.h
+++ b/src/obd2/obd2.h
@@ -31,10 +31,6 @@ typedef struct {
uint8_t payload_length;
} DiagnosticRequest;
-// TODO I don't like this, it's hard coding isotp library stuff here
-typedef bool (*SendIsoTpMessageShim)(IsoTpHandle* handle,
- const uint8_t* payload, uint16_t payload_size);
-
// Thanks to
// http://www.canbushack.com/blog/index.php?title=scanning-for-diagnostic-data&more=1&c=1&tb=1&pb=1
// for the list of NRCs
@@ -120,8 +116,8 @@ typedef struct {
bool completed;
IsoTpShims isotp_shims;
- IsoTpHandle isotp_send_handle;
- IsoTpHandle isotp_receive_handle;
+ IsoTpSendHandle isotp_send_handle;
+ IsoTpReceiveHandle isotp_receive_handle;
DiagnosticResponseReceived callback;
DiagnosticMilStatusReceived mil_status_callback;
DiagnosticVinReceived vin_callback;