Skip to content

Commit 3342308

Browse files
authored
Merge pull request #67 from collin80/WIP2
Merge WIP2 changes into Master
2 parents ef8b6ca + b18c307 commit 3342308

File tree

115 files changed

+5462
-1399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+5462
-1399
lines changed

README.md

+14-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SavvyCAN
22
QT based cross platform canbus tool
3-
(C) 2015-2016 EVTV and Collin Kidder
3+
(C) 2015-2017 EVTV and Collin Kidder
44

55
A QT5 based cross platform tool which can be used to load, save, and capture canbus frames.
66
This tool is designed to help with visualization, reverse engineering, debugging, and
@@ -14,7 +14,7 @@ You are highly recommended to use the CANDue board from EVTV:
1414
The CANDue board must be running the GVRET firmware which can also be found
1515
within the collin80 repos.
1616

17-
It is very soon to be possible to use any SocketCAN compatible device
17+
It is now possible to use any SocketCAN compatible device
1818
under LINUX. There may, however, be some loss of some functionality as
1919
some functions of SavvyCAN are designed for use directly with the
2020
EVTVDue and CANDue 2.0 boards.
@@ -40,6 +40,10 @@ of this program. It can load and save in several formats:
4040

4141
9. Vehicle Spy log files
4242

43+
10. CANDump / Kayak (Read only)
44+
45+
11. PCAN Viewer (Read Only)
46+
4347
Requires QScintilla library available at:
4448

4549
https://www.riverbankcomputing.com/software/qscintilla/download
@@ -50,18 +54,20 @@ http://www.qcustomplot.com/
5054

5155
However, this source code is integrated into the source for SavvyCAN and one isn't required to download it separately.
5256

53-
This project will soon require 5.6.0 or higher because of an upcoming dependency on QSerialBus but currently
54-
should compile with QT 5.5
57+
This project requires 5.6.0 or higher because of a dependency on QSerialBus which is an optional download
58+
with QT 5.6 (so, be sure to select it)
5559

56-
Instructions for compiling with Ubuntu:
60+
Instructions for compiling:
5761

58-
sudo apt-get install qt5-default qtdeclarative5-dev libqt5serialport5-dev libudev-dev
62+
Download the newest stable version of Qt directly from qt.io (You need 5.6.x or newer)
5963

6064
download and extract QScintilla (see above for link), assume it is extracted in QScintilla-gpl-2.9.1
6165

6266
cd ~/QScintilla-gpl-2.9.1/Qt4Qt5
6367

64-
qmake qscintilla.pro
68+
You will need to either put your copy of QT into your path or specify the path to qmake directly
69+
70+
~/Qt/5.7/gcc_64/bin/qmake qscintilla.pro
6571

6672
make
6773

@@ -75,7 +81,7 @@ git clone https://github.com/collin80/SavvyCAN.git
7581

7682
cd SavvyCAN
7783

78-
qmake
84+
~/Qt/5.7/gcc_64/bin/qmake
7985

8086
make
8187

SavvyCAN.pro

+86-63
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
#-------------------------------------------------
66

7-
QT += core gui
7+
QT += core gui serialbus
88

99
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets serialport printsupport qml
1010

@@ -17,99 +17,122 @@ TEMPLATE = app
1717

1818

1919
SOURCES += main.cpp\
20-
mainwindow.cpp \
20+
mainwindow.cpp \
2121
canframemodel.cpp \
2222
utility.cpp \
2323
qcustomplot.cpp \
24-
graphingwindow.cpp \
25-
frameinfowindow.cpp \
26-
newgraphdialog.cpp \
2724
frameplaybackwindow.cpp \
28-
serialworker.cpp \
2925
candatagrid.cpp \
30-
flowviewwindow.cpp \
3126
framesenderwindow.cpp \
32-
dbchandler.cpp \
33-
dbcmaineditor.cpp \
34-
dbcsignaleditor.cpp \
3527
framefileio.cpp \
36-
filecomparatorwindow.cpp \
3728
mainsettingsdialog.cpp \
3829
firmwareuploaderwindow.cpp \
39-
discretestatewindow.cpp \
40-
connectionwindow.cpp \
4130
scriptingwindow.cpp \
4231
scriptcontainer.cpp \
4332
canfilter.cpp \
44-
rangestatewindow.cpp \
45-
dbc_classes.cpp \
46-
dbcloadsavewindow.cpp \
47-
fuzzingwindow.cpp \
48-
udsscanwindow.cpp \
4933
can_structs.cpp \
50-
isotp_interpreterwindow.cpp \
51-
isotp_handler.cpp \
52-
motorcontrollerconfigwindow.cpp
34+
motorcontrollerconfigwindow.cpp \
35+
connections/canconnection.cpp \
36+
connections/socketcan.cpp \
37+
connections/canconfactory.cpp \
38+
connections/gvretserial.cpp \
39+
connections/canconmanager.cpp \
40+
re/sniffer/snifferitem.cpp \
41+
re/sniffer/sniffermodel.cpp \
42+
re/sniffer/snifferwindow.cpp \
43+
dbc/dbc_classes.cpp \
44+
dbc/dbchandler.cpp \
45+
dbc/dbcloadsavewindow.cpp \
46+
dbc/dbcmaineditor.cpp \
47+
dbc/dbcsignaleditor.cpp \
48+
re/discretestatewindow.cpp \
49+
re/filecomparatorwindow.cpp \
50+
re/flowviewwindow.cpp \
51+
re/frameinfowindow.cpp \
52+
re/fuzzingwindow.cpp \
53+
re/isotp_handler.cpp \
54+
re/isotp_interpreterwindow.cpp \
55+
re/rangestatewindow.cpp \
56+
re/udsscanwindow.cpp \
57+
connections/canbus.cpp \
58+
connections/canconnectionmodel.cpp \
59+
connections/connectionwindow.cpp \
60+
re/graphingwindow.cpp \
61+
re/newgraphdialog.cpp \
62+
bisectwindow.cpp
5363

5464
HEADERS += mainwindow.h \
5565
can_structs.h \
5666
canframemodel.h \
5767
utility.h \
5868
qcustomplot.h \
59-
graphingwindow.h \
60-
frameinfowindow.h \
61-
newgraphdialog.h \
6269
frameplaybackwindow.h \
63-
serialworker.h \
6470
candatagrid.h \
65-
flowviewwindow.h \
6671
framesenderwindow.h \
6772
can_trigger_structs.h \
68-
dbc_classes.h \
69-
dbchandler.h \
70-
dbcmaineditor.h \
71-
dbcsignaleditor.h \
7273
framefileio.h \
7374
config.h \
74-
filecomparatorwindow.h \
7575
mainsettingsdialog.h \
7676
firmwareuploaderwindow.h \
77-
discretestatewindow.h \
78-
connectionwindow.h \
7977
scriptingwindow.h \
8078
scriptcontainer.h \
8179
canfilter.h \
82-
rangestatewindow.h \
83-
dbcloadsavewindow.h \
84-
fuzzingwindow.h \
85-
udsscanwindow.h \
86-
isotp_interpreterwindow.h \
87-
isotp_handler.h \
88-
motorcontrollerconfigwindow.h
80+
utils/lfqueue.h \
81+
motorcontrollerconfigwindow.h \
82+
connections/canconnection.h \
83+
connections/socketcan.h \
84+
connections/canconconst.h \
85+
connections/canconfactory.h \
86+
connections/gvretserial.h \
87+
connections/canconmanager.h \
88+
re/sniffer/snifferitem.h \
89+
re/sniffer/sniffermodel.h \
90+
re/sniffer/snifferwindow.h \
91+
dbc/dbc_classes.h \
92+
dbc/dbchandler.h \
93+
dbc/dbcloadsavewindow.h \
94+
dbc/dbcmaineditor.h \
95+
dbc/dbcsignaleditor.h \
96+
re/discretestatewindow.h \
97+
re/filecomparatorwindow.h \
98+
re/flowviewwindow.h \
99+
re/frameinfowindow.h \
100+
re/fuzzingwindow.h \
101+
re/isotp_handler.h \
102+
re/isotp_interpreterwindow.h \
103+
re/rangestatewindow.h \
104+
re/udsscanwindow.h \
105+
connections/canbus.h \
106+
connections/canconnectionmodel.h \
107+
connections/connectionwindow.h \
108+
re/graphingwindow.h \
109+
re/newgraphdialog.h \
110+
bisectwindow.h
89111

90-
FORMS += mainwindow.ui \
91-
graphingwindow.ui \
92-
frameinfowindow.ui \
93-
newgraphdialog.ui \
94-
frameplaybackwindow.ui \
95-
candatagrid.ui \
96-
flowviewwindow.ui \
97-
framesenderwindow.ui \
98-
dbcmaineditor.ui \
99-
dbcsignaleditor.ui \
100-
filecomparatorwindow.ui \
101-
mainsettingsdialog.ui \
102-
firmwareuploaderwindow.ui \
103-
discretestatewindow.ui \
104-
connectionwindow.ui \
105-
scriptingwindow.ui \
106-
rangestatewindow.ui \
107-
dbcloadsavewindow.ui \
108-
fuzzingwindow.ui \
109-
udsscanwindow.ui \
110-
isotp_interpreterwindow.ui \
111-
deltawindow.ui \
112-
motorcontrollerconfigwindow.ui
112+
FORMS += ui/candatagrid.ui \
113+
ui/connectionwindow.ui \
114+
ui/dbcloadsavewindow.ui \
115+
ui/dbcmaineditor.ui \
116+
ui/dbcsignaleditor.ui \
117+
ui/discretestatewindow.ui \
118+
ui/filecomparatorwindow.ui \
119+
ui/firmwareuploaderwindow.ui \
120+
ui/flowviewwindow.ui \
121+
ui/frameinfowindow.ui \
122+
ui/frameplaybackwindow.ui \
123+
ui/framesenderwindow.ui \
124+
ui/fuzzingwindow.ui \
125+
ui/graphingwindow.ui \
126+
ui/isotp_interpreterwindow.ui \
127+
ui/mainsettingsdialog.ui \
128+
ui/mainwindow.ui \
129+
ui/motorcontrollerconfigwindow.ui \
130+
ui/newgraphdialog.ui \
131+
ui/rangestatewindow.ui \
132+
ui/scriptingwindow.ui \
133+
ui/snifferwindow.ui \
134+
ui/udsscanwindow.ui \
135+
ui/bisectwindow.ui
113136

114137
DISTFILES +=
115138

0 commit comments

Comments
 (0)