Collin Kidder
70e8af85af
Added ability to automatically find ESP32RET devices on the local network
2019-02-27 20:29:08 -05:00
Collin Kidder
35c22936c3
Allow the program to "send" frames even if no buses are configured.
...
These frames will show up in the main frame list and can be operated
on as if they came into the program. It is likely that only the
playback window will work for this special use. Other sending windows
are to follow.
2019-02-26 21:33:04 -05:00
Collin Kidder
b91dad5f03
Reorder Tabs for preference window, add preference for whether to load
...
and save CAN bus connections.
2019-02-24 20:45:27 -05:00
Collin Kidder
9f20906df3
Fixes to formatting of main frame display. Fixes issue #164
2019-02-19 19:30:25 -05:00
Collin Kidder
bae07f5a44
Program should handle unexpected stoppage of GVRET devices now.
2019-02-17 15:43:37 -05:00
Collin Kidder
3291869849
Fix automatic loading of connections on start up. Shouldn't crash
...
now...
2019-02-17 15:15:48 -05:00
Collin Kidder
b92b909fc4
Tweaked debugging output for GVRET devices, fixed GVRET serial modes
...
so that both ESP32 and standard mode automatically work and it finds
the proper one for the connected device.
2019-02-17 10:54:33 -05:00
Collin Kidder
151217bc3f
Merge branch 'master' of github.com:collin80/SavvyCAN into WIP
2019-02-13 21:00:19 -05:00
Collin Kidder
fa91de9e4f
Tweaks to GVRET code to make it work better with the variety of
...
compatible hardware.
2019-02-13 20:57:51 -05:00
MartinX
52f04791dd
add setWindowFlags(Qt::Window) to improve window management
...
* improves window handling a lot
(on Linux GNOME 3 at least: quickly resizing windows left/right, not forced in foreground anymore etc.)
setWindowFlags() inserted in all *window.cpp files except mainwindow
* some whitespace at EOL trimmed
2019-02-13 20:08:41 +01:00
Collin Kidder
91c025c8aa
Fixes to make the new generic serialbus support actually work properly.
2018-12-30 20:07:17 -05:00
Collin Kidder
2df7a2a9fc
Allow setting CAN baud rate for SerialBus devices
2018-10-21 15:07:16 -04:00
Collin Kidder
b7bb37048b
Enabled ability to use any QT SerialBus driver in SavvyCAN. Now
...
PeakCAN, ValueCAN, SocketCAN, and J2534 should all work.
2018-10-21 11:50:24 -04:00
Collin Kidder
ec6d716ae3
Fix up a crash that could happen if a gvret device was not connected when starting savvycan (when it was connected when savvycan closed)
2018-07-24 21:36:25 -04:00
Collin Kidder
2c8e9716a6
Added the ability for GVRET serial to try both normal mode and ESP32 mode.
...
This way it basically automatically detects the proper connection type to use
and uses that mode to connect. That allows both types to work transparent
to the user. They select GVRET and the serial port and away they go.
2018-07-22 19:28:51 -04:00
Collin Kidder
f0e5433385
Increase the allowable number of missed keepalives. This seems to keep the
...
link stable for me now.
2018-07-02 21:01:49 -04:00
Collin Kidder
fba31ab641
Add preliminary support for UDP connection to GVRET devices, fix TCP/IP connection so it is more tolerant of network latency and jitter.
2018-07-01 21:54:13 -04:00
Jackson Smith
fca08a91a7
Fix silly mistake
2018-06-14 22:40:44 -04:00
Jackson Smith
22e1fe64d7
Fix Serial Ports with dots
...
Added bool passed to GVRETSerial to indicate when to use TCP,
rather than infering from port name.
2018-06-14 22:17:56 -04:00
Collin Kidder
412cba0463
Fix for bug recently introduced into SocketCAN handler that caused data bytes not to show up
2018-06-04 19:56:06 -04:00
Collin Kidder
ff2b3e25cf
Merge pull request #134 from FabianInostroza/fix_remote_frames
...
Make SavvyCAN aware of remote frames.
2018-06-03 10:59:09 -04:00
Collin Kidder
e9b612cd29
Merge pull request #139 from FabianInostroza/fix_error_frames
...
Add accidentally removed line.
2018-06-03 10:54:51 -04:00
Fabián Inostroza
463cc4d64e
Add accidentally removed line.
2018-06-01 21:28:55 -04:00
Fabián Inostroza
dcce8a250f
Register metatypes before loading and saving configuration.
2018-06-01 21:26:54 -04:00
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
Collin Kidder
377a892f9d
Merge branch 'master' into fix_remote_frames
2018-04-29 19:58:49 -04:00
Fabián Inostroza
b8896d76b6
Make SavvyCAN aware of remote frames.
2018-04-29 18:52:31 -03: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