mirror of https://github.com/rusefi/cantact-fw.git
14 lines
353 B
C
14 lines
353 B
C
#ifndef _SLCAN_H
|
|
#define _SLCAN_H
|
|
|
|
int8_t slcan_parse_frame(char *buf, CanRxMsgTypeDef *frame);
|
|
int8_t slcan_parse_str(char *buf, uint8_t len);
|
|
|
|
/* maximum rx buffer len: extended CAN frame with timestamp */
|
|
#define SLCAN_MTU 30// (sizeof("T1111222281122334455667788EA5F\r")+1)
|
|
|
|
#define SLCAN_STD_ID_LEN 3
|
|
#define SLCAN_EXT_ID_LEN 8
|
|
|
|
#endif // _SLCAN_H
|