mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 23:13:07 +01:00
use a more semantic input for the NMEA filters
This commit is contained in:
@@ -53,15 +53,18 @@ class GwNmeaFilter{
|
||||
private:
|
||||
GwConfigInterface *config=NULL;
|
||||
bool isReady=false;
|
||||
std::vector<String> whitelist;
|
||||
std::vector<String> blacklist;
|
||||
bool ais=true;
|
||||
bool blacklist=true;
|
||||
std::vector<String> filter;
|
||||
void handleToken(String token, int index);
|
||||
void parseFilter();
|
||||
public:
|
||||
GwNmeaFilter(GwConfigInterface *config){
|
||||
this->config=config;
|
||||
isReady=false;
|
||||
}
|
||||
bool canPass(const char *buffer);
|
||||
bool canPass(const char *buffer);
|
||||
String toString();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user