summaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-27 19:04:27 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-27 19:04:27 -0500
commit451ee4faa42eb304b27aeeef8c75387b4a12a614 (patch)
tree5920834e5b8d0de0434a491b42a9c03acee42ed4 /src/isotp/receive.c
parent34a7c0ca08683eb83d6b6b3d5a6a8fb2f7d5b918 (diff)
Draft progress implementing single frame rx.
Diffstat (limited to 'src/isotp/receive.c')
-rw-r--r--src/isotp/receive.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/isotp/receive.c b/src/isotp/receive.c
new file mode 100644
index 00000000..9add9d5f
--- /dev/null
+++ b/src/isotp/receive.c
@@ -0,0 +1,7 @@
+#include <isotp/receive.h>
+
+void isotp_handle_single_frame(IsoTpHandler* handler,
+ const uint16_t arbitration_id, const uint8_t* data,
+ const uint8_t length) {
+ handler->message_received_callback(arbitration_id, data, length);
+}