coppino/src/slip.h

19 lines
284 B
C++

#ifndef COPPINO_SLIP_H
#define COPPINO_SLIP_H
#include "Arduino.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