1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

intermediate: reading on tcp

This commit is contained in:
andreas
2021-10-26 20:28:21 +02:00
parent 60eabb05ab
commit 933ea0d0aa
8 changed files with 187 additions and 44 deletions

View File

@@ -17,7 +17,7 @@ GwSerial::GwSerial(GwLog *logger, uart_port_t num)
{
this->logger = logger;
this->num = num;
this->buffer = new GwBuffer(logger);
this->buffer = new GwBuffer(logger,1600);
this->writer = new SerialWriter(num);
}
GwSerial::~GwSerial()

View File

@@ -7,6 +7,7 @@ class SerialWriter;
class GwSerial{
private:
GwBuffer *buffer;
GwBuffer *readBuffer;
GwLog *logger;
SerialWriter *writer;
uart_port_t num;