coppino/slip.h

17 lines
262 B
C
Raw Normal View History

2019-12-23 13:13:13 +00:00
#ifndef COPPINO_SLIP_H
#define COPPINO_SLIP_H
namespace slip {
const char END = 0xc0;
const char ESC = 0xdb;
const char ESC_END = 0xdc;
const char ESC_ESC = 0xdd;
2019-12-23 18:02:05 +00:00
void send(const char* buffer, int len);
int recv(char* buffer, int len);
2019-12-23 13:13:13 +00:00
}
#endif