Collin Kidder
996fec613f
Merge pull request #135 from collin80/WIP
...
Merge over changes from WIP
2018-05-17 20:42:57 -04:00
Collin Kidder
f345642b03
Fixes to gvret serial for use with TCP/IP connection
2018-05-17 20:41:19 -04:00
Fabián Inostroza
be42eab0b8
Fix reception of error frames in socketcan interface.
2018-04-29 03:19:25 -03:00
Collin Kidder
827754aa1c
Remove some changes that only applied in a very specific circumstance, remove prototype and non general purpose entries from menus (you won't miss them)
2018-04-23 20:28:12 -04:00
Collin Kidder
60abd15461
Added a mode for TCP/IP network connection to a GVRET compatible device (ESP32RET supports this)
2018-04-17 20:01:53 -04:00
Collin Kidder
c380e172b0
Add UI elements for a new remote connection system. Just UI and settings for now.
2018-02-11 18:32:18 -05:00
Collin Kidder
9302c18c33
Integrated help into the system. Most all the sub-screens that are actually complete
...
and working have integrated help now. Press F1 to bring up help for a given window.
2017-11-30 21:02:16 -05:00
Collin Kidder
d02ac7701f
Merge branch 'master' of github.com:collin80/SavvyCAN into WIP
2017-11-26 16:48:14 -05:00
Collin Kidder
c819459d19
Significant changes to GVRET code to make debugging easier and to make code more robust.
2017-11-26 16:41:10 -05:00
Andre Hartmann
55273a1b85
CanConnection: Convert switches to enumeration and add documentation
...
And add or remove default labels to silence Clang compiler warnings.
2017-11-26 18:00:28 +01:00
Andre Hartmann
cfc024f98a
CanConnectionModel: Remove superflous breaks after return
...
Clang complained about them.
2017-11-26 16:26:25 +01:00
Andre Hartmann
d69947bf2f
SerialBusConnection: Use member initialization
...
And as we have full C++11 support, so its also preferred to use nullptr.
2017-11-25 17:27:47 +01:00
Andre Hartmann
84cb598a0d
SerialBusConnection: Improve connect/disconnect handling
...
* disconnectDevice() already checks mDev_p
* use the error description provided by QCanBus::createDevice()
2017-11-25 17:27:38 +01:00
Andre Hartmann
15aef1afbe
SerialBusConnection: Order and condence includes
...
By practicing the following rules:
(4 and 5 are not needed here)
1. own header
2. project headers
3. Qt headers
4. operating system headers
5. compiler headers
2017-11-25 17:27:28 +01:00
Andre Hartmann
1dd59ed73c
SocketCan: Rename to SerialBusConnection
...
QtCanBus is not limited to SocketCAN, it also supports various
Windows CAN adapters directly.
Also, add the term Connection to describe the inheritance
hierarchy better.
2017-11-25 17:27:19 +01:00
Andre Hartmann
560701e208
Untangle include forrest
...
Every change in connectionwindow.h led to a heavy project
compile, as the header was included in other headers.
Avoid this by using forward declarations and only include
connectionwindow.h in the C++ files that actually use it.
2017-11-25 17:27:08 +01:00
Collin Kidder
61443022a7
Merge branch 'master' of github.com:collin80/SavvyCAN into WIP
2017-11-21 19:52:41 -05:00
Collin Kidder
1ea9ea4fac
Add fault handling code mostly used to detect when the serial port disappears while a GVRET style device is connected. Beginnings of code to add a reconnect button.
2017-11-20 22:07:13 -05:00
Collin Kidder
214f5defd8
Fix a compiling bug on windows (was a bug everywhere but only fatal on windows)
2017-11-10 01:23:15 -05:00
Collin Kidder
c398856806
Small fix to make unconnected devices still show up properly in the connection window
2017-11-09 20:07:00 -05:00
Collin Kidder
545f258b8e
Make sent frames have a timestamp resolution of microseconds just like incoming frames. Previously sent frame
...
time stamps were rounded to the nearest millisecond.
Note, however, that this time stamp is when we first tried to send the frame to hardware,
not when the hardware sent the frame. That will probably be later on but there's no way
to know for sure if/when it will send the frame.
2017-11-08 21:20:17 -05:00
Collin Kidder
3bf19fdbc4
Moved a lot of the frame playback window functionality to a new class. This allows the functionality to be run
...
on a separate thread. The performance is a lot better and "use original timing" is now reasonably accurate.
2017-11-08 20:38:19 -05:00
Collin Kidder
bc4e823d3d
CAN Connection Window mostly done now.
2017-10-23 19:45:08 -04:00
Collin Kidder
0519e2d2c9
More work on supporting swcan - it's there now! Untested as of yet.
2017-10-22 20:42:02 -04:00
Collin Kidder
ac976643f4
Further work to get more buses working on the GVRET/M2RET devices
2017-10-22 20:15:18 -04:00
Collin Kidder
383ee8fe19
Big changes to connection window to make it more intuitive. Also
...
brings window closer to supporting M2RET devices better.
2017-10-18 21:48:13 -04:00
Andre Hartmann
ee4a218a67
SocketCan: Correctly support CAN frames with extended identifier
2017-09-02 10:09:42 +02:00
Andre Hartmann
3f8e2bb5c3
SocketCan: Allow receiving CAN frames with empty data field
...
A CAN frame with data size zero is absolutely legal.
2017-09-02 10:09:42 +02:00
Andre Hartmann
74c7b0afc1
SocketCan: Fix compiler warning about missing break
2017-09-02 10:09:35 +02:00
Andre Hartmann
c835f36fe9
SocketCan: Fix warnings about old style casts and sign changes
2017-09-02 10:08:01 +02:00
Collin Kidder
162d79fbe9
Lots of large changes to scripting support, changes to the way
...
filtering works with ISOTP/UDS messages, updated version number.
2017-08-22 21:42:30 -04:00
Collin Kidder
7c3fef54f9
Changed the way adding/removing targetted frames works. It's simpler
...
now.
2017-08-22 20:03:06 -04:00
Collin Kidder
a109b7b22c
Made connection window store window size/position. Tweaked teardown
...
code.
2017-08-21 20:29:08 -04:00
Collin Kidder
670fd56869
Comment out some qDebug messages because they caused too much traffic
...
and weren't really that useful in general
2017-08-17 20:09:22 -04:00
Collin Kidder
8830950f85
Addition of "System Time" mode where frames are timestamped by
...
absolute time from the PC clock.
2017-07-09 16:54:26 -04:00
Collin Kidder
439ac4fcc4
Update to V169 - Now compiles under QT 5.9 (LTS). Fixed some warnings,
...
switched to using system QTScintilla library on Linux. This prevents
you from needing to compile it yourself, added preliminary support for
three buses with a GVRET device (for Macchina M2 boards)
2017-07-06 21:30:55 -04:00
Collin Kidder
4cf2dd1435
Merge pull request #82 from AgnosticPope/master
...
Fix Compile/build on Ubuntu 14.04
2017-07-06 21:02:56 -04:00
Collin Kidder
3d0b85c758
Remove superfluous file, fix compile bug
2017-05-22 19:47:06 -04:00
Collin Kidder
5ee32f5864
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# connections/canconnection.cpp
2017-05-21 20:21:40 -04:00
Collin Kidder
ea52b4c512
Fixes for OSX
2017-05-21 20:18:59 -04:00
Collin Kidder
e3bb44f61b
More implementation of UDS code, bug fixes to UDS, addition of
...
progress bar for UDS
2017-05-21 19:44:26 -04:00
Collin Kidder
1ccb9bac2e
Major refactoring of ISOTP and UDS code to be more generic and have
...
better functionality.
2017-05-15 22:38:59 -04:00
Collin Kidder
d38b94120d
Fixes to allow for rapid frame updating in screens that need it, more
...
implementation of UDS scanner (and fixes to make it work with current
code base)
2017-05-11 21:42:12 -04:00
James Willis
ed80653bd4
Fix compile
2017-04-25 19:52:23 -07:00
Collin Kidder
e2811af479
Added a serial console to the connection window which can be used to
...
figure out what is going on with a connected device. Currently really
only useful for GVRET style devices.
2017-04-11 21:09:29 -04:00
Collin Kidder
b00984c266
Change the reported number of connected buses to be the number of actually connected buses not the total number of buses
2017-01-05 19:04:32 -05:00
Collin Kidder
5caef500a7
Fix crash bug when trying to send to a socketcan device that wasn't properly opened.
2017-01-05 18:37:04 -05:00
Collin Kidder
b18c30724e
A bit better debugging messages, fix up filtering for firmware updater
2017-01-02 17:25:02 -05:00
Collin Kidder
2758fa8a09
Removed a few more warnings, switched the way CAN callbacks work.
2016-12-30 14:24:17 -05:00
Collin Kidder
7222870b1e
Many little fixes to clean up warnings and bugs.
2016-12-29 20:50:02 -05:00