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

remove sourceId from api in sendNMEA0183

This commit is contained in:
wellenvogel
2021-12-01 20:57:06 +01:00
parent c105eef969
commit 15c572ed9a
3 changed files with 20 additions and 0 deletions

View File

@@ -10,11 +10,16 @@ class GwApi{
public:
virtual GwRequestQueue *getQueue()=0;
virtual void sendN2kMessage(const tN2kMsg &msg, bool convert=true)=0;
/**
* deprecated - sourceId will be ignored
*/
virtual void sendNMEA0183Message(const tNMEA0183Msg &msg, int sourceId,bool convert=true)=0;
virtual void sendNMEA0183Message(const tNMEA0183Msg &msg, bool convert=true)=0;
virtual int getSourceId()=0;
virtual GwConfigHandler *getConfig()=0;
virtual GwLog *getLogger()=0;
virtual GwBoatData *getBoatData()=0;
virtual const char* getTalkerId()=0;
virtual ~GwApi(){}
};
#ifndef DECLARE_USERTASK