summaryrefslogtreecommitdiffstats
path: root/src/isotp/isotp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isotp/isotp.c')
-rw-r--r--src/isotp/isotp.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/isotp/isotp.c b/src/isotp/isotp.c
new file mode 100644
index 00000000..1b7f398b
--- /dev/null
+++ b/src/isotp/isotp.c
@@ -0,0 +1,14 @@
+
+void isotp_receive_can_frame(const uint16_t arbitration_id, const uint8_t* data,
+ const uint8_t length) {
+ //match with any request we made
+ //handle flow control if necessary
+ //call callback if message completed
+}
+
+bool isotp_send(const uint8_t* payload, uint16_t payload_size) {
+ // we determine if it's single/multi frame and start the send
+}
+
+void isotp_set_timeout(uint16_t timeout) {
+}