summaryrefslogtreecommitdiffstats
path: root/src/isotp/send.h
blob: 2031621beaa26918823b6e9f7d6a31a9f5e8d2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __ISOTP_SEND_H__
#define __ISOTP_SEND_H__

#include <isotp/isotp.h>
#include <stdint.h>
#include <stdbool.h>

#ifdef __cplusplus
extern "C" {
#endif

// TODO I don't love this API
bool isotp_send(IsoTpHandler* handler, const uint8_t* payload,
        uint16_t payload_size);

#ifdef __cplusplus
}
#endif

#endif // __ISOTP_SEND_H__