Support for getting live data from a CANserver
This commit is contained in:
@@ -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: {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user