coppino/slip.h
2019-12-23 19:02:05 +01:00

17 lines
262 B
C++

#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;
void send(const char* buffer, int len);
int recv(char* buffer, int len);
}
#endif