Commit Graph

512 Commits

Author SHA1 Message Date
Bill Somerville
780b1f74ee
Message Client allows sending multicast UDP on multiple interfaces 2020-11-10 20:12:37 +00:00
Bill Somerville
662ed0fa7a
Network interface selection for outgoing UDP multicast datagrams
Default  selection  is  the  loop-back interface.  Users  who  require
interoperation  between  WSJT-X   instances  cooperating  applications
running on different hosts should  select a suitable network interface
and  carefully choose  a multicast  group address,  and TTL,  that has
minimal scope covering the necessary  network(s). Using 224.0.0.1 is a
reasonable    strategy    if   all    hosts    are    on   the    same
subnet. Administratively  scoped multicast group addresses  like those
within 239.255.0.0/16  can cover larger  boundaries, but care  must be
taken if the local subnet has access to a multicast enabled router.

The  IPv4  broadcast  address  (255.255.255.255) may  be  used  as  an
alternative  to multicast  UDP, but  note that  WSJT-X will  only send
broadcast UDP datagrams  on the loop-back interface,  so all recipient
applications must be running on the same host system.

The reference UDP Message protocol  applications are being extended to
be configurable  with a list of  interfaces to join a  multicast group
address on. By default they will only join on the loop-back interface,
which is also  recommended for any applications designed  to take part
in the WSJT-X  UDP Message Protocol. This allows full  user control of
the  scope of  multicast  group membership  with  a very  conservative
default  mode  that will  work  with  all interoperating  applications
running on the same host system.
2020-11-10 20:12:33 +00:00
Bill Somerville
68056ae8fa
Testing options
Two new environment variables to control special testing behaviour:

    * WSJT_TX_BOTH - set to "1" to force transmission on both periods.

    * WSJT_REVERSE_DOPPLER - set to "1" to transpose Tx and Rx Doppler
      corrections. Use this to test Doppler tracking on a terrestrial
      link.
2020-11-06 18:34:02 +00:00
Bill Somerville
2a2e120d7c
Repair invalid string references 2020-10-21 13:09:10 +01:00
Bill Somerville
ccb7a1adf5
Repair defect with response to UDP Reply(4) messages with AP markers 2020-10-18 02:11:04 +01:00
Bill Somerville
c50133bcfc
Honour "Settings->General->Disable Tx after sending 73" if not auto-sequencing 2020-10-14 21:01:05 +01:00
Bill Somerville
518207da3b
Various updates to UDP Message Protocol handling for FST4W
Corresponding updates to the message_aggregator reference application.
2020-10-13 16:46:38 +01:00
Bill Somerville
ed92d0811a
Implement "No own decodes" functionality for FST4W mode 2020-10-10 13:18:04 +01:00
Bill Somerville
522000cfab
Added SWL Mode to View menu
SWL mode  hides all lower  panel widgets,  maximizing the size  of the
decodes windows.  Designed for operators running  several instances to
monitor multiple bands and modes.
2020-10-04 23:05:17 +01:00
Bill Somerville
add63fb374
Adapt WSPRnet.org spotting to moveable Rx analysis window
This allows spots at any frequency to be posted rather than just those
in the 1400 to 1600 Hz range above the VFO dial frequency.
2020-10-04 22:41:52 +01:00
Bill Somerville
0c0adbdaab
Fix widget foreground when forcing the background colour
This is  required so as  to maintain good contrast  between foreground
and background  elements when  the widget  colour palette  is changed,
e.g. when using a lights out style sheet.
2020-10-01 12:58:09 +01:00
Joe Taylor
9200c3e27a Add NB = -3% option to cycle through NB=0, 1, 2, 3, ... 20%. 2020-09-30 13:32:03 -04:00
Joe Taylor
b56ce23f38 Implement optional x2/x4 tone spacings for FST4 and FST4W. 2020-09-30 10:01:57 -04:00
Joe Taylor
541c1ddea6 Fix the problem of FST4W transmitting on the FST4 TxFreq after mode switch. 2020-09-30 09:37:15 -04:00
Joe Taylor
b99aafa336 On change of TxFreq during an FST4 transmission, regenerate the Tx waveform and restart. 2020-09-29 13:00:57 -04:00
Bill Somerville
204d63929d
Repair a regression with odd/2nd period FT4 decode timestamps
Generalized slow mode decode timestamp generation to a common routine.
2020-09-29 12:32:47 +01:00
Bill Somerville
24b9da7c1b
Enable RC nag message and time limit 2020-09-26 21:09:45 +01:00
Joe Taylor
dd296311cc Disable TxFreqSpinBox, not RxFreqSpinBox if QSY during transmit is not allowed. 2020-09-22 11:25:59 -04:00
Joe Taylor
9fe2fc6de0 Fix two problems: sometime incorrect setting of RxFreq in WideGraph, and incorrect timestamp for FST4W-120 and FST4W-300 decodes in ALL.TXT. 2020-09-21 14:35:16 -04:00
Bill Somerville
542ffe8311
Improve audio device handling and error recovery
where possible  audio devices that  disappear are not  forgotten until
the user selects another device, this should allow temporarily missing
devices or forgetting  to switch on devices before  starting WSJT-X to
be  handled more  cleanly. If  all else  fails, visiting  the Settings
dialog and  clicking OK should  get things  going again. Note  that we
still  do not  have  a  reliable way  of  detecting  failed audio  out
devices, in that  case selecting another device and  then returning to
the original should work.

Enumerating  audio devices  is expensive  and on  Linux may  take many
seconds per  device. To avoid  lengthy blocking behaviour until  it is
absolutely necessary,  audio devices are  not enumerated until  one of
the "Settings->Audio" device drop-down lists is opened. Elsewhere when
devices  must be  discovered  the  enumeration stops  as  soon as  the
configured device is  discovered. A status bar message  is posted when
audio devices are being enumerated as a reminder that the UI may block
while this is happening.

The message box warning about  unaccounted-for input audio samples now
only triggers when  >5 seconds of audio appears to  be missing or over
provided. Hopefully this will make the warning less annoying for those
that are  using audio sources  with high and/or variable  latencies. A
status  bar message  is still  posted for  any amount  of audio  input
samples  unaccounted for  >1/5 second,  this message  appearing a  lot
should be considered as notification that  there is a problem with the
audio sub-system, system load is  too high, or time synchronization is
stepping the PC clock rather  than adjusting the frequency to maintain
monotonic clock ticks.
2020-09-20 18:20:16 +01:00
Joe Taylor
1ab59a8d6b Fully configure WideGpahe after switching to JT65 mode. 2020-09-20 10:17:27 -04:00
Joe Taylor
327808a0bb One more try at fixing the Fmax() startup problem that Steve sees. 2020-09-18 13:33:30 -04:00
Joe Taylor
52bdd57e57 Implement NB=-1%, NB=-2%. Fix a startup problem with WideGraps's fMax value. 2020-09-18 11:30:23 -04:00
Joe Taylor
41aa5dae74 Make the FTol control invisible in FST4 if Single decode is not checked. 2020-09-17 12:58:59 -04:00
Joe Taylor
e60fc1ca19 FST4 GUI controls for FLow, FHigh, should disappear when Single Decode is checked. And some related improvements. 2020-09-16 20:16:32 -04:00
Joe Taylor
21dc6a5c59 Connect the FLow and FHigh limits for FST4 decoding. 2020-09-16 17:23:59 -04:00
Joe Taylor
2266e8dbb7 Add FLow and FHigh spinner controls to set the FST4 decoding range. 2020-09-16 17:02:40 -04:00
Bill Somerville
abe470b24a
Fix a typo 2020-09-15 15:53:14 +01:00
Bill Somerville
e4eb6eb94e
Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-15 10:31:04 +01:00
Joe Taylor
3886411fad Two more corrections to mode-switch settings of GUI controls in FST4/FST4W. 2020-09-14 13:55:30 -04:00
Joe Taylor
f20c45c167 FST4: Align WideGraph green bar with RxFreq on startup. CTRL-diouble-click on waterfall sets FTol=10 and calls decoder. 2020-09-14 10:56:54 -04:00
Joe Taylor
8f554321c8 Make sure that Tx audio frequency in FST4 mode comes from FST4 TxFreq spinner, not the WSPR/FST4W spinner. 2020-09-14 09:55:33 -04:00
Bill Somerville
5014c62bfa
Notify user when enumerating audio devices 2020-09-13 17:12:11 +01:00
Joe Taylor
39403c2520 Expand the range of allowable values for TxFreq in FST4W. 2020-09-13 09:38:39 -04:00
Joe Taylor
174893395b Ensure sending correct FTol value from GUI to decoder for FST4. 2020-09-12 09:54:13 -04:00
Joe Taylor
bcdaf395f1 Must set m_bFastMode=false for FST4. Fixes the reported "Hold Tx frequency" issue. Also, ensure display of WideGraph rather than FastGraph for FST4, FST4W. 2020-09-12 09:35:32 -04:00
Bill Somerville
66e887b2f9
Merge branch 'develop' into feat-dropped-frames 2020-09-12 00:19:04 +01:00
Joe Taylor
2a1ef287a6 Add 300 and 400 Hz to the list of available FTol values for FST4. 2020-09-11 09:13:11 -04:00
Joe Taylor
e23f7b3434 Don't round off the FST4W RxFreq when FTol is changed. That was a bad idea. 2020-09-10 13:48:08 -04:00
Joe Taylor
b6f990fac2 Allow FTol values down to 1 Hz; let maximum FTol values for FST4 depend on TRperiod. 2020-09-10 13:33:33 -04:00
Bill Somerville
ae4cfaf1ae
Start Fox mode on correct tab of tab widget 2020-09-08 21:19:48 +01:00
Bill Somerville
db6a432a33
Ensure band/frequency combo box edit styling tracks current frequency 2020-09-08 15:24:55 +01:00
Bill Somerville
1d52daf7ee
Remove erroneous Qt emit keywords 2020-09-08 12:54:19 +01:00
Joe Taylor
72cffc9da4 Make the FST4/FST4W Quick-Start Guide available from the Help menu. 2020-09-06 13:31:19 -04:00
Joe Taylor
4ab8780dd8 Code cleanyup associated with removing Tab 2. 2020-09-05 15:22:18 -04:00
Joe Taylor
7aeb9d5e2e Remove the "Tab 2" option for generating Tx messages. 2020-09-05 15:11:32 -04:00
Joe Taylor
403d3a1041 Make "double-click on call" work in FST4 as in oter modes. 2020-09-05 14:09:33 -04:00
Joe Taylor
844fe26368 Fix "on_actionFST4_triggered()" so that it does not call another mode setup routine. 2020-09-05 11:53:23 -04:00
Joe Taylor
c1025b7c4c Allow user to set center frequency and FTol in FST4W mode. Needs more testing! 2020-09-05 10:34:55 -04:00
Joe Taylor
02928787b1 Save and restore the current setting of the FST4W RoundRobin control. 2020-09-04 15:38:04 -04:00