From 99dd20fc3d6c14d9e8af65264ad712ca6718dcdd Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Fri, 3 Jan 2014 13:21:18 -0500 Subject: Test rx an empty CAN messages. --- src/isotp/isotp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/isotp/isotp.c b/src/isotp/isotp.c index 67a5df17..e233d386 100644 --- a/src/isotp/isotp.c +++ b/src/isotp/isotp.c @@ -56,6 +56,9 @@ IsoTpMessage isotp_receive_can_frame(IsoTpShims* shims, IsoTpHandle* handle, return message; } } else if(handle->type == ISOTP_HANDLE_SENDING) { + // TODO this will need to be tested when we add multi-frame support, + // which is when it'll be necessary to pass in CAN messages to SENDING + // handles. if(handle->send_handle.receiving_arbitration_id != arbitration_id) { if(shims->log != NULL) { shims->log("The arb ID 0x%x doesn't match the expected tx continuation ID 0x%x", -- cgit 1.2.3-korg