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

xdrExample and xdrUnmapped requests

This commit is contained in:
wellenvogel
2021-11-22 12:16:19 +01:00
parent 769cf33e67
commit 8610d94382
3 changed files with 91 additions and 2 deletions

View File

@@ -162,6 +162,7 @@ class GwXDRFoundMapping{
String getTransducerName(){
return definition->getTransducerName(instanceId);
}
String buildXdrEntry(double value);
};
//the class GwXDRMappings is not intended to be deleted
@@ -185,6 +186,7 @@ class GwXDRMappings{
//the returned mapping will exactly contain one mapping def
GwXDRFoundMapping getMapping(String xName,String xType,String xUnit);
GwXDRFoundMapping getMapping(GwXDRCategory category,int selector,int field=0,int instance=-1);
String getXdrEntry(String mapping, double value,int instance=0);
const char * getUnMapped();
};