summaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/isotp/receive.h')
-rw-r--r--src/isotp/receive.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/isotp/receive.h b/src/isotp/receive.h
new file mode 100644
index 00000000..f7d6c61f
--- /dev/null
+++ b/src/isotp/receive.h
@@ -0,0 +1,19 @@
+#ifndef __ISOTP_RECEIVE_H__
+#define __ISOTP_RECEIVE_H__
+
+#include <isotp/isotp.h>
+#include <stdint.h>
+#include <stdbool.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void isotp_handle_single_frame(IsoTpHandler* handler, const uint16_t arbitration_id,
+ const uint8_t* data, const uint8_t length);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // __ISOTP_RECEIVE_H__