Commit Graph
139 Commits
Author SHA1 Message Date
Ludovic LANGE 9fb86e649f remove qRegisterMetaTypeStreamOperators (qt6)
Since Qt6, some methods of [QMetaType are removed](https://doc.qt.io/qt-6/qtcore-changes-qt6.html#the-qmetatype-class).

We remove `qRegisterMetaTypeStreamOperators()` calls for Qt >= 6
2022-09-24 17:51:25 +02:00
Collin Kidder e2ad516bd2 Merge pull request #495 from qurrent-llc/fix_socketcand
Fix two socketcand issues: start up switch to raw mode, crash due to partial frame
2022-09-19 18:47:31 -05:00
Andy Huska 60520b5939 Added handing of ok message from RAW mode switch coming in out of order with other messages...
For now I made it its own else statement so it can be detected
2022-09-17 12:52:03 -05:00
Andy Huska 47d07b8bf2 Fixed bug where switching to RAW mode would fail due to the "ok" response being received in the same message as the first data frame
Sometimes when opening socketcand 1 or more busses won't start right and there's a ton of debug data saying "received datagramm: ...."
It seems to happen because the switch to RAW mode is in progress and we receive the OK with a frame in the same datagramm and we don't parse the OK out of the string
but rather expect the whole string to just be OK.  Offending code is in socketcand.cpp SocketCANd::procRXData line 386

Fixed by looking to see if the < ok > message was at index 0 of the incoming message...could also look for it elsewhere (as in index != -1), but not sure if necessary
2022-09-17 12:48:48 -05:00
Andy Huska 7b966fe4a6 Fixed incorrect handling of partial frame tagged onto the end of a complete frame.
Not sure if my method drops the partial or just sends the buffer back to continue filling.
2022-09-16 15:38:54 -05:00
Ahmed Sheimy 1c87008970 Update canconfactory.cpp
restore network connection was not working because it was detected as serial by this modification it is working
2022-08-05 18:32:45 +04:00
Collin Kidder b37af8d948 Fix time formatting for "system clock" mode, fix a few small bugs
elsewhere, add ability to send/receive CAN-FD frames in GVRET.
2022-05-05 20:04:44 -04:00
Collin Kidder 6e0e967ea4 Add 33333 speed to CAN bauds, along with a few more commented out. 2021-09-19 18:22:14 -04:00
Collin Kidder 44a48b3515 Fixed up MQTT connection code, made connection window hook up setup
debugging to the console if it is enabled.
2021-06-15 22:12:43 -04:00
Collin Kidder f53ad8a65a Fixed help system.
Also switched from Sphinx generated HTML to GitHub markup help files.

This improves compatibility and will allow the help files to more easily be viewed on github as well.
2021-05-30 23:40:47 -04:00
Bertrand c49783a55b adding socketcand support 2021-02-23 09:38:19 +01:00
Bertrand 0283571d16 adding connection reordering (move up/down)
replacing connectionwindow.ui with own version
2021-02-23 08:55:24 +01:00
Collin Kidder a5cf484e7c Merge branch 'master' of github.com:collin80/SavvyCAN into WIP 2021-02-17 21:18:34 -05:00
Magnus Aagaard Sørensen 0cfa6ce379 Enable support for Tx via QCanBus by utilizing information stored in hasLocalEcho. 2021-02-15 10:27:43 +01:00
Collin Kidder b345495178 Fix compilation on Windows, fix glitch that could cause windows to appear off the actual screen with no way to get them back. 2020-11-15 01:30:13 -08:00
Collin Kidder 5a3e5636f6 Changes to hopefully handle error frames better over the socketcan
interface
2020-10-13 20:09:46 -04:00
Collin Kidder 3fa9f14651 Changes to MQTT interface to make it work properly with current python
script
2020-08-18 22:43:41 -04:00
Collin Kidder 45d045649c Got MQTT reception working. You'd need a python script that isn't
public yet in order to do this. Sorry...
2020-08-06 21:39:07 -04:00
Collin Kidder 2da2855bfa A bit more work on MQTT support. It can actually connect to an MQTT broker now. 2020-08-05 21:53:21 -04:00
Collin Kidder ee287eac4b Add two new external libraries. SimpleCrypt is used to encrypt passwords, QMQTT is an MQTT
library that I was able to integrate into the codebase so there aren't any external
dependencies. Both external projects have their own open source licenses. Those licenses
are included. Also in this commit is some preliminary work to start adding MQTT support to SavvyCAN.
2020-08-05 20:24:02 -04:00
Collin Kidder 1cb0351c86 Fix gvret code to work with single bus adapters (such as Macchina A0), small change to UDP receiver 2020-07-15 18:25:31 -04:00
Collin Kidder 909710fcfa Add text boxes to Fuzzing window to make it easy to set the bytes
directly and to show feedback while fuzzing is running.
2020-02-15 21:25:32 -05:00
Collin Kidder e4a3854af4 Many little changes to get rid of compile-time warnings.
There now should be no warnings when compiling on LINUX. YMMV elsewhere.
2020-02-15 19:52:18 -05:00
Collin Kidder d550fa79a0 Changed a lot of pointer references to const (it's more correct and
fixes a weird problem), fixed a problem with JSON to DBC, a few other
fixes
2020-02-13 22:01:06 -05:00
Collin Kidder 8beb0e31a0 Converted more code to be easier to generalize to larger CAN payloads
for CAN-FD. Improved some code to be faster. Fixed up some compile
time warnings.
2019-12-15 15:02:06 -05:00
Collin Kidder ef24036d1c Finished switching over everything to the new can format (I hope). It
seems to function now but much more testing is needed.
2019-12-13 21:06:48 -05:00
Collin Kidder 0baffa300f A partial commit that changes CANFrame over to be based on
QCanBusFrame so that things are more compatible with other Qt based
CAN bus code. Not complete yet but getting there.
2019-12-11 21:17:33 -05:00
Collin Kidder 0567d5ef14 More changes meant just to fix up compiler warnings. 2019-08-08 22:09:02 -04:00
Collin Kidder 947f24f267 More fixes for compile warnings 2019-08-08 21:49:03 -04:00
Collin Kidder e7e65b7216 Fixed up a bunch of compiler warnings.
There should be no functional difference, just less noise when compiling
2019-08-08 21:15:51 -04:00
Nick Kirkby 618879870e show tooltip for socketCAN error string 2019-06-11 17:18:06 -07:00
Collin Kidder 09b8d64f4a Add a reset connection button. Automatically disconnects and
reconnects to try to heal a broken connection.
2019-05-13 20:50:16 -04:00
Collin Kidder 5f97e968e3 Remove label for bus number and instead use tabs. The tabs are now
numbered by the actual system bus number and not always based on 1 any
longer.
2019-04-24 22:10:03 -04:00
Collin Kidder 2e4e6d5ba1 Fix to code that allows for pseudo frame sending without any actual
CAN buses connected.
2019-04-14 20:08:49 -04:00
Collin Kidder c157da0a90 Add back in the ability to suspend/resume all buses from the main
screen. Whoops, it got deleted by accident!
2019-03-14 19:32:14 -04:00
Collin Kidder f16660ba52 Add ability to clone DBC signals. F2 will also do this from the
keyboard (very handy!)
2019-03-11 21:42:19 -04:00
Collin Kidder bf0492e084 Fix an issue with automatic remote detection when multiple instances
of SavvyCAN are running.
2019-03-06 21:02:24 -05:00
Collin Kidder 591ebe71df Fixes to debug console in connection window 2019-03-06 20:20:40 -05:00
Collin Kidder f23abe170f Fix a glitch with the new connection window and bus settings 2019-03-06 19:59:19 -05:00
Collin Kidder ec49413f61 Major revamp of the connection window. Hopefully it is more clear and
intuitive now.
2019-03-05 21:25:32 -05:00
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