isotp-c
Platform-independent ISO 15765-2 transport for embedded C
Loading...
Searching...
No Matches
isotp_user.h
Go to the documentation of this file.
1
2// ___ ___ ___ _____ ___ ___ //
3// |_ _/ __|/ _ \_ _| _ \___ / __| //
4// | |\__ \ (_) || | | _/___| (__ //
5// |___|___/\___/ |_| |_| \___| //
6// //
8
9#ifndef ISOTPC_USER_H
10#define ISOTPC_USER_H
11
12#include <stdint.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
22
26
37void isotp_user_debug(const char* message, ...);
38
61int isotp_user_send_can(const uint32_t arbitration_id, const uint8_t* data, const uint8_t size
63 , const uint8_t flags
64#endif
66 , void* arg
67#endif
68);
69
78uint32_t isotp_user_get_us(void);
79
81
82#ifdef __cplusplus
83}
84#endif
85
86#endif // ISOTPC_USER_H
#define ISO_TP_USER_SEND_CAN_FLAGS
#define ISO_TP_USER_SEND_CAN_ARG
void isotp_user_debug(const char *message,...)
Receive a diagnostic message from the library.
uint32_t isotp_user_get_us(void)
Return the current 32-bit monotonic time in microseconds.
int isotp_user_send_can(const uint32_t arbitration_id, const uint8_t *data, const uint8_t size, const uint8_t flags, void *arg)
Submit one CAN or CAN FD frame to the application's driver.