mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-14 22:43:07 +01:00
make the counter display and the channel names dynamic in the UI
This commit is contained in:
@@ -155,8 +155,8 @@ SemaphoreHandle_t mainLock;
|
||||
GwRequestQueue mainQueue(&logger,20);
|
||||
GwWebServer webserver(&logger,&mainQueue,80);
|
||||
|
||||
GwCounter<unsigned long> countNMEA2KIn("count2Kin");
|
||||
GwCounter<unsigned long> countNMEA2KOut("count2Kout");
|
||||
GwCounter<unsigned long> countNMEA2KIn("countNMEA2000in");
|
||||
GwCounter<unsigned long> countNMEA2KOut("countNMEA2000out");
|
||||
GwIntervalRunner timers;
|
||||
|
||||
bool checkPass(String hash){
|
||||
@@ -399,6 +399,7 @@ protected:
|
||||
}
|
||||
status["n2kstate"]=NMEA2000.stateStr(driverState);
|
||||
status["n2knode"]=NodeAddress;
|
||||
status["minUser"]=MIN_USER_TASK;
|
||||
//nmea0183Converter->toJson(status);
|
||||
countNMEA2KIn.toJson(status);
|
||||
countNMEA2KOut.toJson(status);
|
||||
|
||||
Reference in New Issue
Block a user