blob: d2a25a19a8db8db9ed3095d3994fb6fa85344411 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef DATA_LINK_H
#define DATA_LINK_H
#include <sys/types.h>
#include <zephyr/device.h>
#define DL_SLIP_END 0xC0
#define DL_SLIP_ESC 0xDB
#define DL_SLIP_ESC_END 0xDC
#define DL_SLIP_ESC_ESC 0xDD
void dl_send_frame(const struct device *const uart_dev, uint8_t *buffer,
size_t len);
#endif // DATA_LINK_H
|