Draft reworking of API.
[apps/low-level-can-service.git] / src / isotp / send.h
1 #ifndef __ISOTP_SEND_H__
2 #define __ISOTP_SEND_H__
3
4 #include <isotp/isotp.h>
5 #include <stdint.h>
6 #include <stdbool.h>
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 IsoTpHandle isotp_send(IsoTpShims* shims, const uint16_t arbitration_id,
13         const uint8_t* payload, uint16_t size,
14         IsoTpMessageSentHandler callback);
15
16 #ifdef __cplusplus
17 }
18 #endif
19
20 #endif // __ISOTP_SEND_H__