1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-02-11 07:03:07 +01:00

correctly set the mode/type for serial channels

This commit is contained in:
wellenvogel
2025-09-17 17:40:28 +02:00
parent 7ebd582ca0
commit 3d131c7d98
12 changed files with 38 additions and 16 deletions

View File

@@ -7,4 +7,5 @@ class GwChannelInterface{
virtual size_t sendToClients(const char *buffer, int sourceId, bool partial=false)=0;
virtual Stream * getStream(bool partialWrites){ return NULL;}
virtual String getMode(){return "UNKNOWN";}
virtual int getType()=0; //return the numeric type
};