2031621beaa26918823b6e9f7d6a31a9f5e8d2aa
[apps/agl-service-can-low-level.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 // TODO I don't love this API
13 bool isotp_send(IsoTpHandler* handler, const uint8_t* payload,
14         uint16_t payload_size);
15
16 #ifdef __cplusplus
17 }
18 #endif
19
20 #endif // __ISOTP_SEND_H__