summaryrefslogtreecommitdiffstats
path: root/src/isotp/send.h
blob: 937e53205858caefa8a7b460144b1f7bbae139b4 (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

IsoTpHandle isotp_send(IsoTpShims* shims, const uint16_t arbitration_id,
        const uint8_t* payload, uint16_t size,
        IsoTpMessageSentHandler callback);

#ifdef __cplusplus
}
#endif

#endif // __ISOTP_SEND_H__