Collin Kidder
a3cd14e495
Additional implementation of the new connection scheme. It is now possible to send frames to CANConnection objects indirectly based on registered bus number.
...
This further abstracts the interface. Things are reasonably stable now for frame reception. Initial work has been done to support frame transmission as well. This is currently less stable but mostly working.
2016-03-27 22:37:02 -04:00
Collin Kidder
3c6f7cb2ea
Merge branch 'WIP' of github.com:collin80/SavvyCAN into WIP2, bug fixes,
2016-03-26 23:07:46 -04:00
Collin Kidder
4694d9f37c
Renamed isotp class to ISOTP_HANDLER as it will soon gain support for sending ISO-TP frames as well. Fixed up a couple of bugs. Added more to the UDS code and descriptions.
2016-03-26 22:16:16 -04:00
Collin Kidder
87c201aa44
Added ability for connections to update the connection view details
...
based on hardware status.
2016-03-26 22:01:34 -04:00
Collin Kidder
147d539c36
Merge pull request #47 from collin80/WIP
...
Merge WIP into WIP2
2016-03-26 20:22:12 -04:00
Collin Kidder
0bd3a3b95b
Additional implementation of new connection system. The GVRET code can
...
now connect and run its thread.
2016-03-26 20:17:10 -04:00
Collin Kidder
7b0556bba7
Fix for crash in flowview when the clear button is pressed on the main screen.
2016-03-24 22:17:40 -04:00
Collin Kidder
ed238440a4
Stability improvements
2016-03-24 21:19:43 -04:00
Collin Kidder
e7ded7737a
Preliminary pass at converting connection system to use a more generic
...
approach and support more devices and multiple devices at the same time.
2016-03-19 21:40:21 -04:00
Collin Kidder
f48c1c0566
Merge pull request #45 from collin80/WIP2
...
Update WIP to current state of WIP2
2016-03-14 22:01:53 -04:00
Collin Kidder
8a886ddcc9
More implementation of iso-tp interpreter. Mostly just defines.
2016-03-14 21:57:43 -04:00
Collin Kidder
66675e47b3
Added an ISO-TP decoder. At the moment it tries to decode all frames
...
and that leads to odd results.
2016-03-06 20:44:25 -05:00
Collin Kidder
f6fe53163c
Added code to sync PC and GVRET timing so that frames sent from
...
SavvyCAN line up properly in timestamp. Incremented version num.
2016-02-28 19:55:30 -05:00
Collin Kidder
18bbd8632f
Changed UDS window to work more quickly and use the new rapid frame
...
system.
2016-02-28 16:56:39 -05:00
Collin Kidder
e2cedf2482
A small fix to make transmitted frame timestamps a bit more accurate
...
but still not synced to capture device.
2016-02-28 16:56:04 -05:00
Collin Kidder
4767a7349f
Added ability for sub windows to get frames much more rapidly than
...
before. Decoupled SerialWorker from MainWindow a bit and refactored
things.
2016-02-28 16:10:55 -05:00
Collin Kidder
07b63ac127
Fixes to UDS scan window.
2016-02-28 16:10:34 -05:00
Collin Kidder
96d9f40193
Fixed a crash bug in frame info window.
2016-02-28 16:09:25 -05:00
Collin Kidder
4ab63856ee
Remove reference to serialbus so code can be compiled on pre 5.6.0 QT
...
again. There isn't any reason it has to be there (yet)
2016-02-28 16:08:43 -05:00
Collin Kidder
d7a9557cb0
Merge branch 'WIP2' of github.com:collin80/SavvyCAN into WIP2
...
Conflicts:
udsscanwindow.cpp
Fixed merge conflict - both versions had fixes.
2016-02-26 14:24:06 -05:00
Collin Kidder
403689c214
Small fix for potential crash bug in UDS scanner
2016-02-26 14:16:23 -05:00
Collin Kidder
7f536928d7
More changes to UDS scanner to make it better able to find UDS nodes even if they don't quite match standard UDS conventions, Ability to start/stop UDS scan when it was running.
2016-02-26 14:11:07 -05:00
Collin Kidder
3bc8d120cb
Updated readme file
2016-02-25 21:20:42 -05:00
Collin Kidder
f8e72986f0
Fixed parsing and processing of modifiers in custom frame sender
...
window. Added serialbus to project (Qt5.6 dependency)
2016-02-25 21:09:48 -05:00
Collin Kidder
6e64ab7134
Changes to connection window to actually retrieve and show socketcan
...
interfaces now.
2016-02-25 20:51:46 -05:00
Collin Kidder
03f9a30687
Fixed bugs in UDS scanner and added additional functionality.
2016-02-22 21:06:12 -05:00
Collin Kidder
6e0000dcad
Additional coding on discrete state window.
2016-02-22 21:05:43 -05:00
Collin Kidder
56dbb32589
Another fix for a graphing crash, added some prelim. stuff for UDS
2016-02-07 22:29:06 -05:00
Collin Kidder
69dbee7fec
Fixed a crash that happened if you didn't have a DBC file loaded and
...
tried to create a new graph.
2016-02-07 22:26:31 -05:00
Collin Kidder
5de449b12b
Slight changes to serialworker to make things run a bit more stable.
2016-02-07 16:05:41 -05:00
Collin Kidder
05836129b3
Added Vehicle Spy CSV format. Right now only loading is really
...
implemented.
2016-01-30 22:20:18 -05:00
Collin Kidder
43c03110f6
Found a place where the unified file loading code wasn't being used.
...
This has been fixed.
2016-01-30 21:05:30 -05:00
Collin Kidder
48db19213b
Fix potential crash bug in serial worker, add ability to define ECU
...
scanning range in UDS scanner
2016-01-29 15:56:19 -05:00
Collin Kidder
48fb208f8b
Fixed crash bug found in many sub screens, made UDS scanner work better.
2016-01-29 15:03:29 -05:00
Collin Kidder
a3318947d5
Quick test implementation of UDS scanner
2016-01-29 13:42:56 -05:00
Collin Kidder
6c143049c5
Attempts to debug an issue that causes files to load up with twice the
...
number of actual frames.
2016-01-28 20:56:26 -05:00
Collin Kidder
763b20136e
Fixed up the rest of the fuzzing window. It should be pretty complete
...
and functional now.
2016-01-28 19:54:52 -05:00
Collin Kidder
54045badeb
More implementation of fuzzing window - now it is possible to use the
...
bitfield to select which bits to fuzz - random bit fuzzing works but
seqential and sweep do not yet.
2016-01-27 22:07:17 -05:00
Collin Kidder
411b43146d
Upped version number, implemented an incomplete but working version of
...
the fuzzing window.
2016-01-27 20:26:12 -05:00
Collin Kidder
2b82e1dec4
Good God, OSX is annoying. Renamed "Configure Port" to "Set Port" so
...
that stupid OSX won't grab it and pretend it's the main preference
system again... This should fix the issue where the connection dialog
replaces the preferences dialog.
2016-01-26 20:05:23 -05:00
Collin Kidder
f3cccc2231
Updated version, added two new windows (not done), fixed more issues
...
with how connecting works - it now also stores the last connection so
you can resume using it the next time the program is run.
2016-01-26 19:53:15 -05:00
Collin Kidder
427b2cf326
Fixed bugs in connect/disconnect and overwrite mode.
2016-01-25 20:02:20 -05:00
Collin Kidder
c41815e628
Added ability to create new DBC files from the DBC file manager,
...
hooked up ability to change associated bus for DBC files.
2016-01-21 20:49:51 -05:00
Collin Kidder
a42d9532d7
Refactored code so that frame file loading/saving is all done through
...
a unified interface. Updated file filters. Notched up version number.
2016-01-21 20:11:35 -05:00
Collin Kidder
7a28951206
Fix up loading and saving of CAN-DO format to be more correct
2016-01-21 19:42:10 -05:00
Collin Kidder
18294c7712
Change default save/load format to native GVRET log format. This
...
format has the most information and is really the best option. Fixed
up lack of ability to save IXXAT and CANDO filtered.
2016-01-21 19:15:12 -05:00
Collin Kidder
b328e08096
Added IXXAT and CAN-DO formats for loading and saving. Incremented
...
version number.
2016-01-19 21:47:27 -05:00
Collin Kidder
00aa9c6c14
Fix an issue that caused DBC interpretation to not work right
2016-01-17 17:17:44 -05:00
Collin Kidder
3ef905b68a
Added a file manager and hooked it up. It is now possible to load and
...
edit multiple DBC files.
2016-01-17 17:09:47 -05:00
Collin Kidder
cd5f851f35
Major mondification to how DBC files are handled in-program. Now it is
...
much more object oriented and encapsulated. The biggest addition is
that it is now possible to support multiple DBC files being loaded at
once with each file associated to one or both buses. Note that
currently the program still does not support multiple DBC files but
the groundwork is there.
2016-01-17 13:30:42 -05:00
Collin Kidder
d831f985f5
Switched to a safer way to deal with signals in the graphing window.
...
Previously it was possible to crash the program by graphing with a
signal and then loading a different DBC file. No more will that
happen. Also, there is an error message if you load a graph definition
file that relies on a DBC file that you don't have loaded.
2016-01-12 22:35:19 -05:00
Collin Kidder
c8666b4147
Added ability to load and save graph definitions for signal based
...
graphs. Implemented code to support appending to signal based graphs.
2016-01-11 22:14:42 -05:00
Collin Kidder
cdd4f23609
First pass of adding direct DBC signal support to the graphing window.
...
It mostly works now but there are several little pieces still to do.
2016-01-11 20:45:30 -05:00
Collin Kidder
62e168905a
Properly hooked up multiplexed signals. They now show up correctly
...
when "Interpret Frames" is selected on the main screen. Fixed some
bugs related to the new DBC code.
2016-01-10 21:54:33 -05:00
Collin Kidder
81e97e8803
Added ability for candatagrid to show the currently used bits in gray.
...
Used in signal editor to help make it easier to know what bits are
used. Added single and double precision float code where appropriate.
They weren't supported at all before. But, that code isn't really
tested yet. Added support for multiplexed signals. Most all the code
for the UI is done and some of the backend but it isn't hooked into
the actual signal processing code just yet. Updated program version
number.
2016-01-10 20:34:32 -05:00
Collin Kidder
1e04e5fb31
Added the ability to save all frame details within the details screen
...
to file.
2016-01-03 18:37:58 -05:00
Collin Kidder
e2903c9058
Removed singlewire mode from settings screen because it is on
...
connection screen now. Added ability to show binary view of a byte.
Added changed bits to each message ID in the frame details view.
2016-01-03 18:08:10 -05:00
Collin Kidder
ff130814d9
Fixed the regular expression matching for DBC loading to be more
...
tolerant of minor syntax differences.
2016-01-01 20:33:22 -05:00
Collin Kidder
5facfe72aa
Fixed a nasty bug that could cause the whole program to crash when
...
changing ID filters. Made the new connection screen update to
show the set baud rates. Added the ability to set Single Wire mode on
the connection window but it actually doesn't work yet.
2015-12-28 18:51:07 -05:00
Collin Kidder
a37dbe33aa
FIx up some merge problems that slipped through the last commit. I
...
should be slapped for that.
2015-12-20 21:41:38 -05:00
Collin Kidder
8fa55dbdbf
Merge branch 'WIP' into WIP2
...
Merge WIP into WIP2 in order to add the connection window and change
how connections are done.
2015-12-20 21:29:57 -05:00
Collin Kidder
45cd9d6171
Merge branch 'WIP2' into WIP
...
Conflicts:
SavvyCAN.pro
config.h
mainwindow.cpp
mainwindow.h
mainwindow.ui
Resolved conflicts between branches
2015-12-20 21:29:23 -05:00
Collin Kidder
09ff3f850a
Improved accuracy of range mode.
2015-12-09 20:57:38 -05:00
Collin Kidder
990f034936
More implementation of range mode. It works reasonably well now.
...
It is now possible to look at each signal that was found.
2015-12-08 20:37:39 -05:00
Collin Kidder
72f07f304f
Addition of the range state window (it sort of works now too!),
...
refactoring of some DBC code, fixed some DBC calcs, fixed a bug in the
frame playback window, incremented version number to show that a lot
has been done.
2015-12-07 21:47:41 -05:00
Collin Kidder
1e46af88f1
Updated readme to explain the third-party dependencies.
2015-12-03 14:36:33 -05:00
Collin Kidder
cc0f1733b1
Switched script source code view to a QScintilla based view.
2015-12-02 21:56:06 -05:00
Collin Kidder
0d7490a423
Added ability to save/restore scripting window size and location
2015-12-02 20:12:54 -05:00
Collin Kidder
d324177a7b
Got frame reception and sending working (preliminarily)
2015-12-02 19:50:26 -05:00
Collin Kidder
c2e5df6087
Bug fixes, turn some connections into QT5 syntax, more implementation of scripting interface.
2015-12-02 15:53:26 -05:00
Collin Kidder
f6b5db9617
Added the ability to track which direction frames are coming from
...
(from us or to us), import that detail from file formats that support
it, save it to file formats that support it. Also some bug fixes.
2015-12-01 20:25:52 -05:00
Collin Kidder
0ff076de3a
Fixed up ability to send frames while not connected and to show frames
...
that were sent within the same window as received frames. Added a new
scripting window that can be used to create scripts that send and
receive messages at runtime - not done but sort of working.
2015-11-30 20:35:08 -05:00
Collin Kidder
3fb702e22e
Add sent frames to the frames lists as well. Previously anything sent
...
by the program would not show up and this leads to various issues.
2015-11-30 19:38:29 -05:00
Collin Kidder
f7bd31ab53
Update version number - forgot in last commit
2015-11-23 22:05:27 -05:00
Collin Kidder
dfc3ced69d
Added support for loading/saving trace files. Presumably this format
...
is from Vector in some fashion.
2015-11-23 21:52:28 -05:00
Collin Kidder
c699e54548
Some progress toward supporting socketcan connections
2015-11-23 19:05:11 -05:00
Collin Kidder
2379deb2fc
Remove a few screens that either aren't done or aren't yet for public consumption. Use the WIP branch if you want those things to still exist.
2015-11-23 18:51:42 -05:00
Collin Kidder
70ebfc19c7
Fixed a precision bug that caused signed 32 bit integers to not work
...
properly.
2015-11-23 09:19:47 -05:00
Collin Kidder
1d89fe576e
Fix up some faulty variable definitions and clarify others.
2015-11-23 09:19:47 -05:00
Collin Kidder
a6198bc20f
Skeleton for touch screen handling
2015-11-23 09:19:47 -05:00
Collin Kidder
2916fb92eb
Added more control options to graphing window, updated version number
...
The graphing window now can be zoomed via the context menu or with the
+ and - keys. Also, you can reset to a "good" view of all the graphs
from the context menu.
2015-11-23 09:19:47 -05:00
Collin Kidder
3ed0ac4880
Added bitwise not and modulus division to the list of operations you
...
can do with modifiers in the custom frame window
2015-11-23 09:19:47 -05:00
Collin Kidder
79fc69040d
Wrote documentation for the custom sender window. Added a graph for this
...
new documentation.
2015-11-23 09:19:47 -05:00
Collin Kidder
37df633264
Added to the documentation for the project. There are a bunch of
...
pictures to be used in the documentation. An initial draft of the docs
for the main screen has been completed.
2015-11-23 09:19:46 -05:00
Collin Kidder
d94f56c51c
Added skeleton files for help documentation
2015-11-23 09:19:46 -05:00
Collin Kidder
d0cf69f54f
Added several example files. Every frame capture format has an
...
example. All examples are exactly the same data. It is a small capture
from a Tesla Model S. Also, there is a sample DBC file which is actually
a real DBC file that has data on the EVTV BMS and Coda UQM motor
controller.
2015-11-23 09:19:46 -05:00
Collin Kidder
a6695a0bf7
Fixed a precision bug that caused signed 32 bit integers to not work
...
properly.
2015-11-22 11:33:58 -05:00
Collin Kidder
1300ca6457
Fix up some faulty variable definitions and clarify others.
2015-11-22 10:27:17 -05:00
Collin Kidder
63c526cb1f
Skeleton for touch screen handling
2015-11-03 19:19:35 -05:00
Collin Kidder
0d5c370bc4
Added more control options to graphing window, updated version number
...
The graphing window now can be zoomed via the context menu or with the
+ and - keys. Also, you can reset to a "good" view of all the graphs
from the context menu.
2015-10-29 22:32:27 -04:00
Collin Kidder
4dc8c5b434
Initial commit where connection window is active and it is possible to
...
connect to GVRET but this time through the connection window and the
menu option "Connect".
2015-10-18 15:34:40 -04:00
Collin Kidder
49f2525320
Add files for a new window for connections (allows for different types
...
of connections and also makes auto refreshing the port list easier)
2015-10-13 21:38:36 -04:00
Collin Kidder
918ede4e10
Added bitwise not and modulus division to the list of operations you
...
can do with modifiers in the custom frame window
2015-10-13 21:37:44 -04:00
Collin Kidder
3a8d5c16d0
Wrote documentation for the custom sender window. Added a graph for this
...
new documentation.
2015-09-27 23:22:33 -04:00
Collin Kidder
76077e48b0
Added to the documentation for the project. There are a bunch of
...
pictures to be used in the documentation. An initial draft of the docs
for the main screen has been completed.
2015-09-26 22:30:21 -04:00
Collin Kidder
5618228692
Added skeleton files for help documentation
2015-09-24 22:30:33 -04:00
Collin Kidder
d29dc9c24e
Added several example files. Every frame capture format has an
...
example. All examples are exactly the same data. It is a small capture
from a Tesla Model S. Also, there is a sample DBC file which is actually
a real DBC file that has data on the EVTV BMS and Coda UQM motor
controller.
2015-09-24 19:34:43 -04:00
Collin Kidder
10843504bd
Merge pull request #29 from collin80/WIP
...
Merge WIP into master
2015-09-23 21:35:20 -04:00
Collin Kidder
239aad1feb
Fix a bug where a faulty DBC file could crash the DBC editor
2015-09-23 21:31:02 -04:00
Collin Kidder
183a70310c
Fix extra comma in spreadsheet output
2015-09-17 20:35:05 -04:00