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:
@@ -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()
|
||||
|
||||
@@ -7,6 +7,7 @@ class SerialWriter;
|
||||
class GwSerial{
|
||||
private:
|
||||
GwBuffer *buffer;
|
||||
GwBuffer *readBuffer;
|
||||
GwLog *logger;
|
||||
SerialWriter *writer;
|
||||
uart_port_t num;
|
||||
|
||||
Reference in New Issue
Block a user