aboutsummaryrefslogtreecommitdiffstats
path: root/src/isotp/isotp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/isotp/isotp.h')
-rw-r--r--src/isotp/isotp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/isotp/isotp.h b/src/isotp/isotp.h
index 10352383..e3ec588a 100644
--- a/src/isotp/isotp.h
+++ b/src/isotp/isotp.h
@@ -111,6 +111,12 @@ void isotp_receive_can_frame(IsoTpShims* shims, IsoTpHandle* handle,
void isotp_message_to_string(const IsoTpMessage* message, char* destination,
size_t destination_length);
+IsoTpHandle isotp_send(IsoTpShims* shims, const uint16_t arbitration_id,
+ const uint8_t* payload, uint16_t size,
+ IsoTpMessageSentHandler callback);
+
+IsoTpHandle isotp_receive(IsoTpShims* shims, const uint16_t arbitration_id,
+ IsoTpMessageReceivedHandler callback);
#ifdef __cplusplus
}