From fd2f9c3b0d869e8243c871e66d31da62bc65887a Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Sat, 28 Dec 2013 14:15:24 -0500 Subject: Encapsulate arb_id, payload and size into a data type. --- src/isotp/receive.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/isotp/receive.h') diff --git a/src/isotp/receive.h b/src/isotp/receive.h index f7d6c61f..0ff9e8f1 100644 --- a/src/isotp/receive.h +++ b/src/isotp/receive.h @@ -9,8 +9,12 @@ extern "C" { #endif -void isotp_handle_single_frame(IsoTpHandler* handler, const uint16_t arbitration_id, - const uint8_t* data, const uint8_t length); +void isotp_handle_single_frame(IsoTpHandler* handler, IsoTpMessage* message); + +void isotp_complete_receive(IsoTpHandler* handler, IsoTpMessage* message); + +void isotp_receive_can_frame(IsoTpHandler* handler, + const uint16_t arbitration_id, const uint64_t data, const uint8_t size); #ifdef __cplusplus } -- cgit 1.2.3-korg