Commit Graph

257 Commits

Author SHA1 Message Date
Bill Somerville 488c2e8066
Cleanup and refactor Fortran shared memory usage
also added some missing locking for the ipc(1) value in ft8_decode().
2020-03-16 13:58:38 +00:00
Joe Taylor 3962aa3c43 Replace hijacked ss(1:3,1) with a separate ipc(3) array. 2020-03-15 14:25:56 -04:00
Bill Somerville 46638f6f07
Add shared memory synchronization to make access safe 2020-03-15 00:25:35 +00:00
Joe Taylor 649a79dfc1 New IPC trial: use shmem instead of .start .stop .quit files. 2020-03-14 17:06:54 -04:00
Bill Somerville 523e9a1a07
Enhanced process control for jt9 executable
The wsjtx  process creates control  files .start, .stop, or  .quit and
the jt9  process deletes  them.  This  is intended  to avoid  any race
conditions that get the processes out of sync.
2020-03-14 00:01:54 +00:00
Joe Taylor ebf4952c7c Auto-clear of hung decoder status. 2020-03-13 14:25:12 -04:00
Joe Taylor 8151816c84 Change formats of diagnostic writes so that GUI and Fortran output can be sorted together. 2020-03-13 11:25:22 -04:00
Joe Taylor fedb72a38c Set m_nDecodes=0 only after the 50-buffer decode pass. 2020-03-12 16:52:19 -04:00
Joe Taylor afe0262ec9 Previous commit message should have mentioned number of decodes is now displayed on status bar. 2020-03-12 15:11:20 -04:00
Joe Taylor 8e7685ea36 Do not alolow bailouts when data were read from disk. 2020-03-12 15:07:56 -04:00
Joe Taylor 6e308f0018 More attempts to diagnose or fix the FT8 "hung decoder" issue.
On the Fortran side:
 - For the nzhsym=41 activation, bail out if m_ihsym reaches 45
 - For the nzhsym=47 activation, bail out if m_ihsym reaches 48
 - Change the format and content of what's written to fort.71
 - Change msdelay from 10 to 1

In mainwindow.cpp:
 - change format and content of what's written to qDebug
 - always start FT8 decoder at m_ihsym = 41, 47, and 50
2020-03-12 12:33:34 -04:00
Bill Somerville 6a7263dc94
Add escape route from retries of IPC errors 2020-03-11 22:38:41 +00:00
Bill Somerville c58a690bf1
Add error checking to jt9 process control by .lock/.quit files 2020-03-11 22:26:41 +00:00
Joe Taylor 4d9c9e08e2 If 47-buffer call takes too long, start the 50-buffer call late. 2020-03-11 16:03:51 -04:00
Joe Taylor d69cb49e9a Diagnostic writes to fort.71 in jt9a.f90. 2020-03-11 14:02:19 -04:00
Joe Taylor 199ff3dd3d Experimental work-around for FT8 decoding on slow computers. Important changes:
- don't start function decode() is decoder is already busy
  - send updated m_ihsym to jt9[.exe] via ss(1,1).  Bill won't like this!
  - jt9 bails out of the 41-buffer pass at m_ihsym=45.
2020-03-10 16:26:42 -04:00
Joe Taylor 592f4eea71 Remove a qDebug() call. 2020-03-09 15:29:57 -04:00
Steven Franke f2266c3c54 1. subtractft8: on the last call to sqf, don't need to do the long FFT.
2. mainwindow.cpp: based on the time when <DecodeFinished> is received, calculate
mswait to try to place the killFile time at 0.75*m_TRperiod.
2020-03-06 11:06:44 -06:00
Joe Taylor 431ec50212 Progress toward decoding at 41/47/50 buffers. Not yet complete! 2020-03-05 15:37:31 -05:00
Steven Franke 6773768586 Clean up the timestamp adjustment logic, and make the threshold 0.5*TRperiod. 2020-03-05 11:25:49 -06:00
Steven Franke 07c753e284 Make ALL.TXT Rx timestamp equal to the beginning of the TR period, even if the decode comes in after the start of the next TR period. Make Tx timestamp the actual time that Tx started. 2020-03-05 11:16:56 -06:00
Joe Taylor b9888a09ff Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-02-26 13:16:12 -05:00
Joe Taylor 6afff5821e Correct the times written to ALL.TXT when decode occurs after the T/R boundary. 2020-02-26 13:15:22 -05:00
Steven Franke 0ca6cbb575 wsprd: improve decoding and reduce the number of false decodes
Hashtable entries now include the 4-digit grid obtained from the most
recent Fano decode of the callsign. The stored grid is used to validate
OSD decodes. OSD decodes of type 1 messages are accepted only if the
callsign is present in the hashtable and if the grid matches the grid
stored in the hashtable.
2020-02-25 10:48:38 -06:00
Joe Taylor 4a4864d2ae FT8 early decoding is now working. 2020-02-13 15:05:37 -05:00
Steven Franke 70b84478f0 Add WW_DIGI to the special activities section. Make necessary changes to
the decoders. Also, an experimental change to the FT4 decoder to base
AP decoding passes on 4-symbol block detection instead of single symbol
detection. This provides about 1 dB improvement on the AWGN channel.
Sensitivity changes on other channels are TBD.
2020-01-24 11:26:36 -06:00
Steven Franke a63e6e1209 - Force the use of standardized CQ modifier for FT4/FT8 contest operation.
- Pass CQ modifier string to the ft4 decoder.
2020-01-08 08:41:47 -06:00
Bill Somerville 5a23edbbae
Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2019-12-08 18:42:06 +00:00
Bill Somerville 485f787cef
Increase maximum SNR filter value in Fox mode to 70dB
This change abandons the previous settings file key for this control
so that all users pick up the new default of 70dB.
2019-12-08 18:39:37 +00:00
Joe Taylor 7540d2137a For accessibility: Alt+R sets Tx4 message to RR73, Ctrl+R to RRR. 2019-12-05 11:27:17 -05:00
Bill Somerville fb1b2e7687 Tagging the WSJT-X v2.1.1 release
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEUELwYiy7vDRM+hTD2GSwbR6BYY8FAl3a8/QACgkQ2GSwbR6B
 YY8y+ggAqwaaCRMCSwDzStooYjStJErVoZ/yB//MmoF+798TBb+3MkiT+KclW7aN
 rxTOmEJ+a84PmsiW6Qz/AAcHPnbKDhtwWASZooopgNYDfgyaUib3HfIa+cFJO6my
 OUzlTsH94yDxeBCWOtf1dLiP0YwJKfp/vxzbfDAWXTd4dx3Ok/7KwghYocmP3eCq
 ruZ+dWojQzwE+h50P6B9gTFxGWMHUDDNeZ/c8u494wqDQvQaRoM9oOnQWzlGiMis
 JaerraI52JEdFLnXjtLYeyXtfg+zA0KvRY2DWy1aCPpGkNjy3DPNlOA+cDQpzBru
 NIqsUF+GplgkVs3sKNLXq36ZgaBQBg==
 =5w4B
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEUELwYiy7vDRM+hTD2GSwbR6BYY8FAl3a9R8ACgkQ2GSwbR6B
 YY9SWQf+JdfIvlHy8ExSs9ImCLck/e66V2OAqaEONQX1bEC4QiG3M/rVJGgf2iFz
 ZFshtilsajlpsYZQIFToTmJmI76eGLAmyNIcZN2WpcJQMNWZnxqklMj2wIHbRh+g
 Pvw3FC+lc4LUjZCCMYrVjNXxsRmQtjqV1lVFBnmrAWCdrgHmhyrVbPZT4B+fRTXL
 ikw/BiRgxhI0aoIWKzNrtztMYUBjanKLTHE81AVgsgZkBDNybOjR7mE2E/Jwc4Qx
 mVu+Z0uI+bVuBlMOrqp0K+rrUz7qMZe5/AMSRbgzwfueEOIShgu2wrfV++3JDXLH
 AhtIAcL/b39RBx0jkFE8rBKaZpkoAw==
 =DNp6
 -----END PGP SIGNATURE-----

Merge tag 'wsjtx-2.1.1' into develop

Tagging the WSJT-X v2.1.1 release
2019-11-24 21:24:39 +00:00
Joe Taylor 849e8c7c55 When using EU VHF Contest messages, update the received exchange m_xRcvd only if decoded messages is addressed to me. 2019-11-18 14:00:42 -05:00
Bill Somerville 58c901240b
Use call, mode, and frequency from Log QSO for worked before records
The current frequency,  mode and, call were incorrectly  being used to
create a new  worked before record from a logged  QSO. This meant that
band changes  etc. made  before clicking  "Ok" to log  a QSO  would be
erroneously attributed to the worked before records.
2019-09-17 21:04:34 +01:00
Bill Somerville a3efe8117c
Qualify regeneration of GFSK message regeneration to only when Txing 2019-09-07 21:23:39 +01:00
Bill Somerville 137bc1ccab
Tx waveform regeneration for GFSK modes Tx audio offset change 2019-08-15 15:20:45 +01:00
Bill Somerville cefadfeaa3
Disable auto Tx before logging dialog shown even if disable Tx on 73 is not set 2019-08-13 00:20:40 +01:00
Joe Taylor 79b805b0e7 The start of some code for computing QSO points in WWROF/SCC digi-contest. 2019-08-08 09:55:08 -04:00
Joe Taylor f265fa83f5 Disable the "not GA" warning message. 2019-07-18 15:30:33 -04:00
Bill Somerville 28f5cb0fb9 WSJT-X General Availability Release v2.1.0 wsjtx-2.1.0
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEUELwYiy7vDRM+hTD2GSwbR6BYY8FAl0qXxcACgkQ2GSwbR6B
 YY/ZGAf8Da+a+83dpnj5dnosIKWwSwgpiWHY0JKzm8fp0n3hcs5+rV1/gM81xXKT
 J3lbHWykGzMYlZNoEw3eNwQbXzOCf/7mOaeTKJQnBLukMpTLmsz5b5nYaCjvvRGM
 6HKSddNS3Q4iz4qdakOgWnqdZeYJkRR3Z3XsTmlrG02GsSVlbXzOEyceooqM6EGd
 w5WTkvpls+43OzwcGJ50SHzPlBAJYycE9vrAxxFOxU2fhqRRD/ttMZmUmjRY7Iqa
 jRRQ39K1Io7i9QG/3V6FBZDttqeFfvvlkVzH0/TeMeCUOQiKbzuGxM01PJ6be7D1
 H114v5l06GH56T7qpaF0IB2ZStkbrA==
 =voDy
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEUELwYiy7vDRM+hTD2GSwbR6BYY8FAl0qX30ACgkQ2GSwbR6B
 YY8p0QgAgt8Y/yLCyFw0+wfO2h8yIFyh2j1c8EfBf0+I/2xaIYMUfPPlmC3jkWhw
 mtoCJVKkpCNcxr9mo6wjQp7x90pRUH3k78O0VtzbKWz7lveoN7Vguo+iVHDbEhUA
 a9E6yMwvskH5Mr6+cFiS4EVYyjAsuG/BL+4FFMDUVQOaKXNBbgJuc2mjpHkcnEbK
 C+XUxipcAUElH1Ks90eHT/vLoowAOP9jo0xSR1RqJMJlaKHxWZivsBCfQdI1xxn0
 arlQO3bjIsxyNq/Ru7XWV5C56JmWjoPWCcqt5GRrNJLwGw/haSuDIMURaE/vrMif
 csar293vcm5PzuTADArTQkhqK951pQ==
 =1mJJ
 -----END PGP SIGNATURE-----

Merge tag 'wsjtx-2.1.0' into develop

WSJT-X General Availability Release v2.1.0 wsjtx-2.1.0
2019-07-13 23:47:18 +01:00
Joe Taylor ced74644fd On startup or switching to QRA64 mode, set Tx and Rx audio freqs to 1000 Hz. 2019-07-09 14:59:34 -04:00
Bill Somerville ab9675c2a7
Squash several compiler warnings 2019-07-03 01:51:40 +01:00
Bill Somerville 40cf45c259
Squash a compiler warning 2019-07-03 01:25:25 +01:00
Chris Karpinsky a30d97fb57 Merged develop into feat-refactor 2019-07-02 13:11:40 -05:00
sirhc808 dd53e8d348 incorporate code review feedback 2019-07-02 13:00:32 -05:00
sirhc808 1f57ba5fec improve physical structure 2019-07-02 12:45:05 -05:00
sirhc808 27d4471cde Merge branch 'ft9_refactor' into feat-refactor
# Conflicts:
#	CMakeLists.txt
#	lib/ft4/getcandidates4.f90
#	lib/ft4/sync4d.f90
2019-07-02 12:06:14 -05:00
sirhc808 ee5d5c8ae9 improve physical structure 2019-07-02 10:19:43 -05:00
Bill Somerville 1968597783
Merge branch 'release-2.1.0' into develop 2019-07-02 00:18:22 +01:00
Bill Somerville adcf202637
Repair a crash when decoding ISCAT
Passing a  auto stack variable to  a future is  not a good idea  as it
will almost certainly  go out of scope before the  future has finished
executing.
2019-06-30 12:17:17 +01:00
Bill Somerville c65d832356
New UDP messages to close and reconfigure WSJT-X plus more status fields
The Status(1) message acquires the new fields Frequency Tolerance, T/R
Period,  and  Configuration Name.  The  Rx  DF,  Tx DF  fields  become
unsigned (this should be a benign change which is just for correctness
as -ve values have never been possible).

The   Close(6)  message   becomes  bi-directional   allowing  external
applications to gracefully close down WSJT-X instances.

A  new  message SwitchConfiguration(14)  is  provided  that allows  an
external application to  switch the current configuration  of a WSJT-X
instance.

Another  new  message  Configure(15)  is provided  to  allow  external
applications to adjust some key parameters like the mode and submode.

See the  NetworkMessages.hpp header  commentary for full  details. The
UDPExamples/MessageAggregator reference  application has  been updated
to be able to exercise all of the above changes.

Note   that   this   commit   enforces  stricter   checking   on   the
"Settings->Reporting->Allow  UDP  requests"   option,  which  must  be
checked  before  any state  changing  incoming  messages to  a  WSJT-X
instance are processed.
2019-06-25 14:35:58 +01:00