summaryrefslogtreecommitdiffstats
path: root/src/plugins/canbus/passthrucan/passthrucan.pro
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.elstner.ford@kdab.com>2017-11-29 14:33:18 +0100
committerDaniel Elstner <daniel.elstner@kdab.com>2017-11-30 14:02:27 +0000
commit4ec837324894a13c00e7f1a9a13e79ebdc4f4ba5 (patch)
treec00fab668ce059e3db54a9417998bcb5c81d6bc3 /src/plugins/canbus/passthrucan/passthrucan.pro
parente0a745d241822193f877a801151ff3f12a4967f9 (diff)
Add J2534 Pass-Thru CAN plugin
[ChangeLog] Add J2534 Pass-Thru CAN plugin SAE J2534 is a standard for communication between a computer and a vehicle. The "passthrucan" plugin adds support for communicating with a vehicle's CAN bus via the generic J2534 Pass-Thru API. The J2534 Pass-Thru API v04.04 is only specified for 32-bit Windows, but implementations for 64-bit Windows and other platforms do exist. Automatic device discovery is based on the Windows registry and thus supported on Windows only. However, this plugin alternatively allows users to specify the path to a J2534 vendor library to load. Any CAN interface adapters that ship with a compliant J2534 Pass-Thru interface library (v04.04) for the target platform should work with this plugin. It should be noted though that driver support for x64 is as of yet rare, thus a 32-bit Qt build may be required to make use of the passthrucan plugin. Change-Id: I55280d455828d9cf0ad03690224b924b39c17cf7 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/canbus/passthrucan/passthrucan.pro')
-rw-r--r--src/plugins/canbus/passthrucan/passthrucan.pro21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/plugins/canbus/passthrucan/passthrucan.pro b/src/plugins/canbus/passthrucan/passthrucan.pro
new file mode 100644
index 0000000..96ed090
--- /dev/null
+++ b/src/plugins/canbus/passthrucan/passthrucan.pro
@@ -0,0 +1,21 @@
+QT = serialbus
+
+TARGET = qtpassthrucanbus
+
+SOURCES += \
+ j2534passthru.cpp \
+ main.cpp \
+ passthrucanio.cpp \
+ passthrucanbackend.cpp
+
+HEADERS += \
+ j2534passthru.h \
+ passthrucanio.h \
+ passthrucanbackend.h
+
+DISTFILES = plugin.json
+
+PLUGIN_TYPE = canbus
+PLUGIN_EXTENDS = serialbus
+PLUGIN_CLASS_NAME = PassThruCanBusPlugin
+load(qt_plugin)