Commit graph

59 commits

Author SHA1 Message Date
Phil Taylor
cf66ee3081 Lots more fixes and rigs added 2023-05-08 13:26:45 +01:00
Phil Taylor
f525a33d88 Fixes to collision detection. 2023-02-12 23:14:39 +00:00
Phil Taylor
5caeb9de43 Attempt at simple collision detection 2023-02-12 22:37:58 +00:00
Phil Taylor
1bc93005b2 Fix invalid scope data in combine mode 2023-02-07 17:51:52 +00:00
Phil Taylor
b17748065a Add function to handle connect/disconnect 2023-01-05 20:00:31 +00:00
Phil Taylor
451e19d116 Add option of popup alert 2023-01-05 19:37:53 +00:00
Phil Taylor
e46214826a Change serial port signal for QT6. 2023-01-03 12:02:10 +00:00
Phil Taylor
057ebb4701 Update commhandler.cpp 2022-05-14 11:48:58 +01:00
Phil Taylor
5d6ef1db24 Update commhandler.cpp 2022-05-14 11:40:58 +01:00
Phil Taylor
ccffb014cc Update commhandler.cpp 2022-05-14 11:39:52 +01:00
Phil Taylor
e7dbee71c5 Update commhandler.cpp 2022-05-14 11:38:35 +01:00
Phil Taylor
9ca67e060a Use qtimer to signal a reconnect 2022-05-14 11:35:41 +01:00
Phil Taylor
11a036931d Add timeout if no data received on serial port for 2s 2022-05-14 11:24:09 +01:00
Phil Taylor
f2008a7965 Update commhandler.cpp 2022-05-14 11:13:20 +01:00
Phil Taylor
81c1b05015 Update commhandler.cpp 2022-05-14 11:10:27 +01:00
Phil Taylor
f4060a4760 Add reconnect on failure to commHandler() 2022-05-14 11:07:05 +01:00
Phil Taylor
fc451b99bd Change class constructors to include parent 2022-05-08 19:31:05 +01:00
Phil Taylor
4444396ccb Log when port is being closed 2022-05-08 12:19:35 +01:00
Phil Taylor
c164e5020a Add support for splitting/combining waterfall/scope data 2022-04-18 20:29:50 +01:00
Phil Taylor
d08a8ad1ed Merge branch 'master' into wfserver 2022-03-23 17:28:11 +00:00
Daniele Forsi
cf85d4cf7b Fix spelling errors 2022-03-23 15:45:51 +00:00
Phil Taylor
fdd82ce376 Lots more fixes and tweaks 2022-01-29 22:50:58 +00:00
Elliott Liggett
6fec65e2ea Pulled out some debug code that isn't needed. 2021-11-07 01:28:35 -07:00
Elliott Liggett
e71a7cd370 Added PTT "snooping" to the commHandler, such that radios needing RTS
set for PTT will work. Includes replying to PTT queries with the RTS
status. There is currently no UI to manually select radios that need
RTS.
2021-11-06 22:49:10 -07:00
Elliott Liggett
319cce5aaa Added RTS PTT support commHandler and rigCommander. RTS is only sent
from rigCommander at this time, the pty is not parsed.
2021-11-05 23:21:36 -07:00
Elliott Liggett
7cc5d491c8 Changed collision detection code so that we can more easily see what
message was missed.
2021-06-14 20:55:28 -07:00
Elliott Liggett
430149d8bb Added collision detection for serial commands. Collisions are aparently
frequent for true 1-wire CI-V radios.
2021-06-14 20:36:13 -07:00
Elliott Liggett
22a44933b6 Fixed support for 9600 baud and lower speeds. 2021-05-21 11:35:13 -07:00
Phil Taylor
f7f6c8e565 Add --debug option to increase debugging for release builds 2021-05-15 18:53:16 +01:00
Phil Taylor
5cefdcc06d Force DTR/RTS to false to stop rigs going into TX if USB Send is enabled 2021-05-06 20:41:32 +01:00
Elliott Liggett
8a51091851 Added conditional to debug on serial data write size. 2021-03-30 21:54:27 -07:00
Elliott Liggett
35c6486701 Changed frequency parameters to (mostly) unsigned 64-bit ints. This
makes all the rounding code very simple and removes many annoying lines
of code designed to handle errors induced by using doubles for the
frequency.
2021-03-22 00:11:43 -07:00
Elliott Liggett
a3bbcd7274 Minor neatness change. 2021-03-12 23:19:43 -08:00
Elliott Liggett
6bf87da0c2 Changed some debug messages in commhandler. I found it useful to print
out the port name when connecting.
2021-03-12 23:16:57 -08:00
Phil Taylor
6805264457 Move pseudoterm into dedicated class 2021-03-04 20:19:05 +00:00
Elliott Liggett
e7637687dd Added better destructor to commHandler. 2021-03-03 23:25:01 -08:00
Phil Taylor
25f10d19cf Add logging categories 2021-02-23 21:21:22 +00:00
Phil Taylor
3d0c8f9c69 Some code tidying and get rid of some Windows compile warnings 2021-02-14 15:30:34 +00:00
Phil Taylor
c877e3b91b Add #ifdef around pseudo terminal code so Windows compiles. 2021-02-03 23:14:01 +00:00
Elliott Liggett
37b7ccb65b Enhanced code that finds radio serial ports. Added error reporting to
the user if serial port isn't opening. Added command-line arguments for
serial port (example: "-p /dev/ttyUSB0" or "--port /dev/ttyUSB0").
Cleaned up some of the debug messages. wfview also will now tell the
user what radio was found in the status bar of the main window.

Added the begininning of code to determine the waveform type (center or
fixed). rigcommander now knows which is which. The next step is to emit
a signal when this changes, which then causes the main window to check
or uncheck the box (without triggering any other code).

Added some TODO remarks on mode (DV, DD).

Added some command line arguments that are not used at this time for --
host and --civ.
2021-02-02 01:05:59 -08:00
Elliott Liggett
7bd109adb7 Added suport for for different rig baud rates via the [Radio] preference
SerialPortBaud. Left unset, it defaults to 115200. Added support for
status bar text with memory presets.
2020-03-30 14:09:52 -07:00
Elliott Liggett
c9b496e1ea Automatic symlink of /tmp/rig to the pseudo-terminal device. Also, we
now supply preference files for flrig to simplify setting up integration
to fldigi.
2020-03-23 14:58:31 -07:00
Elliott Liggett
65943e5f57 Minor updates, copyright, comments. 2020-03-11 20:58:31 -07:00
Elliott Liggett
176e217371 Removed extra debug calls and status text updates. 2019-12-26 00:27:14 -08:00
Elliott Liggett
dffed36737 UI cleanup and PTT, F5 functions. 2019-01-23 17:19:35 -08:00
Elliott Liggett
3bbc298561 Fixed comparison between char and int. 2019-01-14 14:30:28 -08:00
Elliott Liggett
cb98ab7a2e pseudo-terminal speed increase. Added E1 and E0 return procesing to
rigcommander. Added gitignore file.
2019-01-10 12:31:04 -08:00
Elliott Liggett
0c7fe89783 Added pseudo-terminal capability. TODO: Make sure wfview will parse 0xE0
data.
2019-01-09 22:44:48 -08:00
Elliott Liggett
75197746bf Cleaned up some debug output 2018-11-29 13:57:15 -08:00
Elliott Liggett
4e650ea1bd Added automatic IC-7300 serial port search 2018-11-29 13:41:42 -08:00