42 |
#include "lwip/pbuf.h" |
#include "lwip/pbuf.h" |
43 |
#include "lwip/sys.h" |
#include "lwip/sys.h" |
44 |
#include "lwip/stats.h" |
#include "lwip/stats.h" |
45 |
|
#include "lwip/sio.h" |
46 |
|
|
47 |
#define SLIP_END 0300 |
#define SLIP_END 0300 |
48 |
#define SLIP_ESC 0333 |
#define SLIP_ESC 0333 |
51 |
|
|
52 |
#define MAX_SIZE 1500 |
#define MAX_SIZE 1500 |
53 |
|
|
|
/* Low level serial functions */ |
|
|
extern void sio_send(u8_t, void*); |
|
|
extern u8_t sio_recv(void *); |
|
|
extern void * sio_open(u8_t); |
|
|
|
|
54 |
/** |
/** |
55 |
* Send a pbuf doing the necessary SLIP encapsulation |
* Send a pbuf doing the necessary SLIP encapsulation |
56 |
* |
* |