Support for getting live data from a CANserver

This commit is contained in:
Chris Whiteford
2023-01-22 11:31:41 -05:00
parent 55becb0d58
commit c6c2869124
10 changed files with 348 additions and 0 deletions
+3
View File
@@ -5,6 +5,7 @@
#include "mqtt_bus.h"
#include "socketcand.h"
#include "lawicel_serial.h"
#include "canserver.h"
using namespace CANCon;
@@ -26,6 +27,8 @@ CANConnection* CanConFactory::create(type pType, QString pPortName, QString pDri
return new SocketCANd(pPortName);
case MQTT:
return new MQTT_BUS(pPortName);
case CANSERVER:
return new CANserver(pPortName);
default: {}
}