19 #include <sys/epoll.h> 20 #include <sys/types.h> 46 void init_Serial(
const char* port, qint32 speed, qint32 flow, qint32 dir = 0);
47 void close_Serial(
void);
48 qint32 BSP_Ser_WrByte(
const QByteArray& wb);
49 quint8 BSP_Ser_RdByte(quint8* status);
50 quint8 BSP_Ser_RSelect(quint32 t);
51 qint32 BSP_Ser_ByteAvailable();
53 void clearbuffers(quint8 direction);
54 qint32 getFd( ) {
return _fd; }
57 void siglostconnection();
62 struct epoll_event _ev;
Class library for serial communication.
Definition: bsp_serial.h:40