Commit Graph
54 Commits
Author SHA1 Message Date
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
Collin Kidder beea680106 Changed the way the filter system works in the CAN connection objects - now used only for sending frames immediately to relevant objects. Tested to work in firmware updater. Currently broken elsewhere. Also switched main frame update interval from 4 times per second to 8 to make things smoother. 2016-12-29 19:13:51 -05:00
Collin Kidder 96523cc082 Disable controls that don't do anything for socketcan 2016-12-21 20:19:23 -05:00
Collin Kidder 9cceb4404d Remove some older junk code, add ability for main screen to show the number of connected buses 2016-12-20 20:33:11 -05:00
Collin Kidder 4d4eabad7a Correction for GVRET time sync. Seems to be proper now (hopefully) 2016-12-19 21:34:22 -05:00
Collin Kidder cdfb7661a1 Bug fixes in connection code, some commented out debugging statements used only for specific debugging 2016-12-19 20:46:59 -05:00
Collin Kidder 0f3f9e0fad Unified time base now so both GVRET and Socketcan devices yield timestamps in microseconds since the program started or clear was pressed, fixed frames per second display, fixed timestamps for sent frames 2016-12-18 21:40:56 -05:00
Collin Kidder b7a1afcd8f Further source file restructuring 2016-12-11 21:36:25 -05:00
Collin Kidder 2cfacc6519 A few small fixes to connection window 2016-12-08 20:21:24 -05:00
Collin Kidder b4c8aa49db First pass at turning on functionality to allow frame sending from the new connection system.
The fuzzing window has been modified to use the new system. This validates that it mostly works now.
More screens will be modified to work soon.
2016-08-09 20:03:57 -04:00
canpadawan 9295510168 change refresh rate to 250ms 2016-07-07 16:48:14 +02:00
canpadawan e402ea76fa add CANConManager 2016-06-29 11:55:58 +02:00
canpadawan db7ad42199 add << and >> for serialization 2016-06-29 11:54:36 +02:00
canpadawan d4f0bd4b19 add frame write support 2016-06-24 17:26:30 +02:00
canpadawan 1a195fe360 add filters & callback support 2016-06-20 17:34:30 +02:00
canpadawan 89ad77eab9 removed uneeded queue resizing 2016-06-16 15:52:47 +02:00
canpadawan 893aab5600 renamed socketcan class 2016-06-16 13:59:06 +02:00
canpadawan d1c5642668 more thread abstraction 2016-06-16 13:25:56 +02:00
canpadawan c3c6ff3acd removed mutex 2016-06-15 18:38:43 +02:00
canpadawan 6d20a0665d add a factory for the different connection types 2016-06-15 18:25:58 +02:00