summaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.c
diff options
context:
space:
mode:
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);
+}