aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/canserial.h
blob: e8f3767fab189b4d6e6bc111bea191f97270f633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __CANSERIAL_H__
#define __CANSERIAL_H__

#include <stdint.h> // uint32_t

#define CANBUS_ID_ADMIN 0x3f0
#define CANBUS_ID_ADMIN_RESP 0x3f1

// canserial.c
void canserial_notify_tx(void);
struct canbus_msg;
int canserial_process_data(struct canbus_msg *msg);
void canserial_set_uuid(uint8_t *raw_uuid, uint32_t raw_uuid_len);

#endif // canserial.h