diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-02 15:28:52 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-02 15:28:52 -0500 |
commit | e3637d97ecaef1768d3f9ef40cb0204a0e668ff2 (patch) | |
tree | a1f2db1c34cfde48fe8533877015556ba7309c30 /src/isotp/isotp.h | |
parent | fe20a273bb3979d9e806d828486633249d073ede (diff) |
Only mark handle as completed when fully received.
Diffstat (limited to 'src/isotp/isotp.h')
-rw-r--r-- | src/isotp/isotp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/isotp/isotp.h b/src/isotp/isotp.h index 103c402d..c0db0178 100644 --- a/src/isotp/isotp.h +++ b/src/isotp/isotp.h @@ -101,6 +101,11 @@ IsoTpMessage isotp_receive_can_frame(IsoTpShims* shims, IsoTpHandle* handle, const uint16_t arbitration_id, const uint8_t data[], const uint8_t size); +// TODO perhaps this makes more sense as 2 functions: +// bool isotp_continue_send() +// IsoTpMessage isotp_continue_receive() +// but both with the same args + /* Public: Change the timeout for waiting on an ISO-TP response frame. * * If this function is not used, the conventional 100ms is used by default. |