summaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.h
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.h
parent34a7c0ca08683eb83d6b6b3d5a6a8fb2f7d5b918 (diff)
Draft progress implementing single frame rx.
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__