1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00

intermediate, untested: second serial channel

This commit is contained in:
andreas
2023-08-30 21:10:00 +02:00
parent 17615adca5
commit 019fb8ff6a
4 changed files with 206 additions and 51 deletions

View File

@@ -29,6 +29,7 @@ class GwChannelList{
GwSocketServer *sockets;
GwTcpClient *client;
String serialMode=F("NONE");
void addSerial(int id,const String &mode,int rx,int tx);
public:
GwChannelList(GwLog *logger, GwConfigHandler *config);
typedef std::function<void(GwChannel *)> ChannelAction;