Commit Graph

1906 Commits

Author SHA1 Message Date
Steve Franke
d9f4a27a3e Create ft4_decode.f90. Change stand-alone decoder ft4d.f90 to use ft4_decode.f90. 2019-01-26 11:42:07 -06:00
Steve Franke
c52f755afc Make Watterson simulator causal. 2019-01-25 16:26:13 -06:00
Steve Franke
9fa08d3838 Un-hardwire sync. 2019-01-25 16:06:45 -06:00
Steve Franke
8baf48701e Merge branch 'feat-ft2' of bitbucket.org:k1jt/wsjtx into feat-ft2 2019-01-25 16:01:42 -06:00
Steve Franke
66e3f11fba Add ft4 files in lib/ft4. 2019-01-25 16:01:34 -06:00
Joe Taylor
5efa28164c Remove a redundant file reference in CMakeLists.txt. Fix call to unpck77 in genft2.f90 2019-01-25 14:46:17 -05:00
Steve Franke
3bdbf19d1d Make ft4sim and ft4d work. 2019-01-22 11:01:28 -06:00
Steve Franke
b4639b77d0 Fix CMakeLists.txt so that ft2_decode still builds. Fix a bug in ft4d - sync now seems to work. 2019-01-21 19:52:13 -06:00
Steve Franke
7b7857cd77 Merge branch 'feat-ft2' of bitbucket.org:k1jt/wsjtx into feat-ft2 2019-01-21 19:33:51 -06:00
Steve Franke
f2dc394c84 Add ft4 files; ft4sim works, ft4d is work in progress. 2019-01-21 19:31:54 -06:00
Joe Taylor
486440beb4 Merge branch 'feat-ft2' of bitbucket.org:k1jt/wsjtx into feat-ft2 2019-01-18 16:23:19 -05:00
Joe Taylor
568fc0810e Tx now works, more or less, in FT2 mode. Needs testing! 2019-01-18 16:22:25 -05:00
Joe Taylor
2033a2b33d Add a missing file; tweak the FT2 decoder. 2019-01-18 12:33:45 -05:00
Joe Taylor
5f03d97a9e Implement basic Rx capability for FT2 in WSJT-X. 2019-01-18 11:51:15 -05:00
Joe Taylor
c81af0bbe5 Updates to code for stand-alone ft2[.exe]. 2019-01-18 08:57:46 -05:00
Joe Taylor
c6bc3c64bb Add parameters for FT8 and Ft2 to wavhdr.f90. 2019-01-18 07:45:59 -05:00
Steve Franke
f447fe49e1 Fix some indexing problems. Create subroutine ft2_gfsk_iwave.f90 for use with ft2.exe. Needs testing. 2019-01-17 15:25:06 -06:00
Steve Franke
7701516b43 ft2sim now creates a GFSK waveform with BT=1.0. It also adds raised cosine ramp up and down at the beginning and end of the transmission. 2019-01-17 14:01:40 -06:00
Joe Taylor
9b483d5ee1 Fix ft2 build to accommodate having merged changes from the hotfix branch. 2019-01-16 16:25:31 -05:00
Bill Somerville
074914d607 Fix merge issues 2019-01-16 20:55:01 +00:00
Bill Somerville
aee9c09851 Merge branch 'develop' into feat-ft2 2019-01-16 20:44:44 +00:00
Joe Taylor
0a648a109f Correct broken S/N for tx_once transmissions. 2019-01-16 15:00:12 -05:00
Joe Taylor
3023f7e5c6 Minor tweaks in formatting, etc. 2019-01-16 13:58:56 -05:00
Joe Taylor
dc5d9f1617 Add a comment. 2019-01-16 13:20:13 -05:00
Joe Taylor
12463451e2 Allow upper or lower case for "A" and "L" commands. 2019-01-16 13:16:10 -05:00
Joe Taylor
f194621695 Many improvements to ft2, including:
- SNR displayed on decode line
 - Separate transmit() subroutine
 - Output sent to all_ft2.txt
 - Display Rx level (hit L to toggle On/Off)
 - Auto-sequencing  (hit A to toggle On/Off)
2019-01-16 13:10:36 -05:00
Joe Taylor
60fb12dcd4 Add several more messages for testing. 2019-01-15 20:19:18 -05:00
Joe Taylor
4a4a83f021 Correct the logic for PTT control through a Windows COM port. 2019-01-15 19:21:58 -05:00
Joe Taylor
bbbe83ffe5 Progress: ft2.exe is now basically functional in audio-loopback tests. 2019-01-15 15:05:04 -05:00
Joe Taylor
8a6cee7e26 Add files for command-line program ft2[.exe]. 2019-01-14 16:39:50 -05:00
Steve Franke
348e7c8ad5 In principle, ft2d can now decode multiple signals. Not yet tested. 2019-01-13 15:44:16 -06:00
Steve Franke
1fb89929a9 Make ft2d slightly more robust. Still very rough. 2019-01-13 10:58:35 -06:00
Steve Franke
8f1baae048 If delay=0.0 make Watterson use only a single component to simulate flat fading. 2019-01-13 09:25:30 -06:00
Steve Franke
cf1fe6c3d6 More work on FT2. New frame format is 16sync + 128codeword. Data chunk is assumed to be 2.5s long. A rudimentary sync routine is implemented which finds the single strongest signal. 2019-01-12 13:28:10 -06:00
Steve Franke
f63f0301eb Tweak some decoder parameters for better performance. 2019-01-10 10:35:09 -06:00
Steve Franke
e0658f183f Add simulator (ft2sim.f90) and decoder (ft2d.f90) for experimental medium-fast mode. 2019-01-10 10:20:31 -06:00
Joe Taylor
95599a7153 Add a standalone FT8 decoder, for testing. 2019-01-09 12:45:20 -05:00
Joe Taylor
5adc211d1a Correct a minor bug in qra64.c. 2019-01-08 13:47:53 -05:00
Steve Franke
c4d078f55f Remove unnecessary character string space-padding. 2019-01-03 14:02:17 -06:00
Steve Franke
db5c9e1fe9 Make wspr OSD decoding work with type 2 messages (extended callsign + power in dBm). 2018-12-24 12:52:41 -06:00
Steve Franke
1a8ddad307 In ft8apset, mycall and dxcall must be at least 3 characters long, otherwise they are treated as non-existent. 2018-12-24 11:19:07 -06:00
Steve Franke
b44d7b472d Fix a typo. 2018-12-24 10:49:40 -06:00
Steve Franke
318ce0020e Try harder to ensure that we don't waste time trying to do ap decoding that would involve nonstandard calls. Current code does not support ap decoding with non-standard calls. 2018-12-24 10:45:02 -06:00
Bill Somerville
de9990bb60 Fix a mangled edit and an incorrect exit condition 2018-12-24 03:52:06 +00:00
Bill Somerville
8f9fdd29a8 Remove some unnecessary space padding and some compiler warnings 2018-12-24 02:23:56 +00:00
Bill Somerville
e4700b449e Make checks for /P and /R exact and only for trailing suffixes 2018-12-24 02:22:39 +00:00
Steve Franke
b8287eb584 Bring encode77.f90 up to date. 2018-12-23 15:34:00 -06:00
Steve Franke
86bc2cf1fb Merge branch 'hash-collision-handling' into hotfix-2.0.1-rc1 2018-12-23 14:05:37 -06:00
Steve Franke
081a302aca wsprd: further refinement of OSD decode quality check. 2018-12-21 19:24:16 -06:00
Steve Franke
ddd9e8c3fb wsprd: more rigorous quality checking of OSD-produced decodes. For now, discard all OSD decodes that map to an extended callsign. 2018-12-21 16:56:38 -06:00
Steve Franke
adb7a935b2 Put mycall13 into the 22-bit hash table only so that 22-bit hashes of mycall are recognized. 2018-12-21 13:20:14 -06:00
Steve Franke
4e2d61204f cosmetic: remove comment-out statement. 2018-12-21 10:59:30 -06:00
Steve Franke
5034e21291 Remove some diagnostic writes. 2018-12-21 09:51:39 -06:00
Joe Taylor
a3f5c1a100 Do a "close(10)" only if we're in Fox mode. 2018-12-21 10:08:15 -05:00
Steve Franke
e87cf8dcc5 Guard against bounds errors in hash arrays. Try to keep cruft out of those arrays. 2018-12-20 20:41:44 -06:00
Steve Franke
0e7c679ae5 Don't initialize hash arrays twice. 2018-12-20 15:47:22 -06:00
Steve Franke
7a40bf2e4b Use separate hash tables for 10, 12, and 22 bit hashes. Make unpacking i3=4 messages depend on whether unpack is being done on a received message, or a to-be-transmitted message. Give mycall13 priority over hash table entries in certain contexts. 2018-12-20 15:08:29 -06:00
Joe Taylor
6374ee9557 Merge branch 'hotfix-2.0.1-rc1' of bitbucket.org:k1jt/wsjtx into hotfix-2.0.1-rc1 2018-12-19 12:18:49 -05:00
Joe Taylor
e2a73751b1 Don't execute Fox-related statements when not in Fox Mode. Protect against a bounds error. 2018-12-19 12:17:52 -05:00
Steve Franke
307948a25d Remove an unused array. 2018-12-16 11:55:36 -06:00
Steve Franke
dfceef3662 Fix up ft8sim so that it prints a warning when SNR is set too high so that data will be clipped. 2018-12-07 11:10:25 -06:00
Steve Franke
337bae6d0d Housekeeping. Remove unused code and unused variables. Silence some compiler warnings. 2018-12-05 16:06:33 -06:00
Steve Franke
fb39de196e Merge branch 'hotfix-2.0.0-rc6' of bitbucket.org:k1jt/wsjtx into hotfix-2.0.0-rc6 2018-12-05 10:19:26 -06:00
Joe Taylor
d8f7354c0e Make fmtmsg aware of both message sizes, 22 and 37 chars. 2018-12-05 08:19:59 -05:00
Steve Franke
a5e82ac94c Delete an unused routine. Fix a typo in a comment. 2018-12-04 20:01:55 -06:00
Joe Taylor
57594803b9 Merge branch 'hotfix-2.0.0-rc6' of bitbucket.org:k1jt/wsjtx into hotfix-2.0.0-rc6 2018-12-03 13:12:45 -05:00
Steve Franke
6fc27d550d Fix an egregious bug and another not-so-egregious bug. The egregious bug prevented decodes of most signals with negative DT. 2018-12-03 07:18:52 -06:00
Steve Franke
42d68ff84e Add frequency drift (Hz/min) option to jt65sim. 2018-12-01 09:17:58 -06:00
Steve Franke
df37d9b1f7 Remove cqhund stuff and some other unused code. 2018-11-30 13:46:54 -06:00
Joe Taylor
9b2771e97a Revert "Fix a typo."
This reverts commit 2c9ce10020.
2018-11-30 14:34:17 -05:00
Joe Taylor
9785fb9a90 Revert "Don't allow divide-by-0 for pathological JT4 signal."
This reverts commit 038405bc1e.
2018-11-30 14:34:14 -05:00
Joe Taylor
56a52fa7a4 Revert "Protect against negative ccfred() value in sync4."
This reverts commit 72d3e6f6b0.
2018-11-30 14:33:49 -05:00
Steve Franke
2b0f7a74e7 Remove a diagnostic write statement. 2018-11-29 11:18:48 -06:00
Steve Franke
9cebf3a540 Discourage jt65sim from crashing when 11025 sample rate is selected. 2018-11-29 10:34:27 -06:00
Steve Franke
5741407070 Enable jt65sim to simulate the shorthand messages RO,RRR, and 73 2018-11-28 16:04:01 -06:00
Joe Taylor
461b87f047 Minor improvement in code that checks for bad FT8 messages. 2018-11-27 15:34:01 -05:00
Joe Taylor
9e74125799 Don't allow an illegal message to crash routine genft8(). 2018-11-27 15:26:24 -05:00
Joe Taylor
588d429c24 Merge branch 'hotfix-2.0.0-rc5' of bitbucket.org:k1jt/wsjtx into hotfix-2.0.0-rc5 2018-11-26 08:54:18 -05:00
Steve Franke
e434bc5b55 Remove obsolete routines related to msk144. 2018-11-23 15:10:44 -06:00
Joe Taylor
eb0930294d Add suggested message type i3.n3 = 0.6. 2018-11-21 10:17:16 -05:00
Joe Taylor
43a5d7b519 Starting branch hotfix-2.0.0-rc5. 2018-11-14 10:44:36 -05:00
Joe Taylor
72d3e6f6b0 Protect against negative ccfred() value in sync4. 2018-11-12 12:28:17 -05:00
Joe Taylor
038405bc1e Don't allow divide-by-0 for pathological JT4 signal. 2018-11-12 11:44:55 -05:00
Bill Somerville
30d587ffc7 Fix a couple of WSPR memory leaks and remove some compiler warnings 2018-11-12 13:58:35 +00:00
Steve Franke
ab34db7556 Get rid of unused variable ldecode77. 2018-11-05 14:40:55 -06:00
Joe Taylor
0235cf69ff Remove all vestiges of old (isync=1) FT8 mode. Many changes here! 2018-11-05 11:59:48 -05:00
Joe Taylor
1589e4f126 Don't append end-of-line AP info is ncontest is nonzero. 2018-11-02 15:12:06 -04:00
Steve Franke
2b48cc4487 Update wsprd README and delete an obsolete program. 2018-10-31 21:02:46 -05:00
Steve Franke
fe44bc6201 Reject standard messages with CQ and a Roger or CQ and a report. 2018-10-27 20:58:49 -05:00
Steve Franke
87b97039b6 Remove a small bias in Watterson channel simulator channel amplitude. 2018-10-25 16:39:17 -05:00
Steve Franke
096a459ae8 Make sure that msksignalquality is not called on Sh decodes to avoid contamination of recent_calls array and resulting poor SWL performance in MSK144 mode. 2018-10-20 13:55:02 -05:00
Steve Franke
dea35fbf56 Tweak msk144sim output. 2018-10-20 10:16:17 -05:00
Steve Franke
a69e765a07 Forgot to add msk144d.f90. 2018-10-19 19:48:20 -05:00
Steve Franke
17ed242878 Minor tweak - make program name the same as file name. 2018-10-19 19:45:38 -05:00
Steve Franke
6483e80c35 Make msk144code work. Rename msk144d2 to msk144d and make it work too. 2018-10-19 19:42:31 -05:00
Steve Franke
d0f0d420a9 Convert ft8sim.f90 to use 77bit messages. Remove ft8sim2.f90. 2018-10-19 16:52:00 -05:00
Steve Franke
fffa692ac5 Convert ft8code to 77bit messages. 2018-10-19 16:36:32 -05:00
k9an
6bb23dbe4d Comment out debug write to lun 81. 2018-10-17 19:17:04 -05:00
Joe Taylor
6b578fff0f Merge branch 'hotfix-2.0.0-rc3' of bitbucket.org:k1jt/wsjtx into hotfix-2.0.0-rc3 2018-10-13 19:53:07 -04:00
Joe Taylor
2c9ce10020 Fix a typo. 2018-10-13 19:20:11 -04:00
Steve Franke
8a20b97597 Make sure that all callsigns from i3=1, i3=2 and i3=4 messages are in the hashtable. 2018-10-13 13:50:24 -05:00
Steve Franke
59278b9b6b Tweak ndeep determination. 2018-10-10 16:06:53 -05:00
Steve Franke
14af74ddeb Minor changes to simplify hash10,hash12,hash22 routines. 2018-10-09 15:29:12 -05:00
Steve Franke
85e0b4cd61 Strip all angle brackets before storing a callsign in the hashtable. Make encode77 work with '<KB900000ANN> K1JT R+02'. 2018-10-08 19:28:18 -05:00
Joe Taylor
6884ee5334 Auto-generation and auto-sequencing of "TU; ..." message for RTTY Roundup. 2018-10-08 12:52:28 -04:00
Steve Franke
7b67550183 Make sure that msk144signalquality is not called for Sh decodes. 2018-10-06 15:09:58 -05:00
Steve Franke
173737e1d9 Fix Tx1 problem with extended callsigns in MSK144. Make sure that mycall is in the hashtable. 2018-10-06 11:14:57 -05:00
Steve Franke
dd9bdc6d1f Fix bug that prevented generation of MSK144 Sh messages with extended callsign. Change all MSK144 Sh code to use 12-char mycall and hiscall and 37-char messages. Hash full extended callsigns (not just base call) and print full callsigns, e.g. <KP4/K1JT K9AN> RRR 2018-10-05 20:56:22 -05:00
Steve Franke
4b54873c81 Implement AP for all contest modes and also for Hound mode. AP is always active for Hounds. AP is automatically disabled if MyCall or DxCall are extended callsigns. 2018-10-04 17:48:55 -05:00
Steve Franke
0b3b050221 First cut at AP decoding for all values of ncontest. 2018-10-04 17:48:23 -05:00
Steve Franke
876f69b1d7 Remove some debug print statements. 2018-10-04 17:47:52 -05:00
Steve Franke
b993935494 Reconfigure foxgen.f90 for 77bit messages. Fox now transmits only 77bit messages. 2018-10-04 17:47:36 -05:00
Steve Franke
4ab4de6682 Forgot to add the AP-related changes to ft8_decode.f90. 2018-10-04 17:45:41 -05:00
Steve Franke
b5cc35e430 Cleaned up and simplified AP decoding. Enabled AP decoding for ncontest=0 and ncontest=4 (RU) so far. Missing MyCall or DxCall or nonstandard calls will disable AP passes that wouldn't make sense. 2018-10-04 17:45:15 -05:00
Steve Franke
77bb49e9ac Beginnings of AP for RU. Not working yet. 2018-10-04 17:44:34 -05:00
Joe Taylor
6cecef42aa Restore a missing call to unpack77(). 2018-10-04 16:09:02 -04:00
Joe Taylor
35ea5f5761 BugFix: Rearrange code in decoder.f90, only Fox needs to open houndcallers.txt. 2018-10-04 09:21:35 -04:00
Joe Taylor
f2325cdc75 We might possibly want to use "emedop" again... 2018-10-03 20:10:51 +01:00
Joe Taylor
665aad962f Cleanup. 2018-10-03 20:10:29 +01:00
Joe Taylor
6d096db6d5 Implement a validator for FD and RTTY exchange entries. 2018-10-03 19:32:05 +01:00
Joe Taylor
107a5c5a7e Add exch_valid.f90, a Fortran validator for FD and RU exchanges. 2018-10-03 19:30:39 +01:00
Steve Franke
d9cf9bed3c Better handling of decodes with unhashed callsigns.
(cherry picked from commit 3b783a083e)
2018-09-28 17:07:28 -05:00
Joe Taylor
c2c977976c Correct a typo: Yukon territory is YT, not VT. 2018-09-27 15:30:20 -04:00
Joe Taylor
9666fb9531 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2018-09-26 14:50:02 -04:00
Joe Taylor
ab137b37e7 Do not display end-of line numbers for MSK144 decodes. 2018-09-26 10:02:45 -04:00
Steve Franke
a09385604a Fix a typo - thanks NU0C. 2018-09-26 08:30:41 -05:00
Steve Franke
13b5cc479b Fix and re-enable polyfit SNR. 2018-09-26 08:29:01 -05:00
Steve Franke
669d54197d Polynomial-fit SNR is still not right. Disable it again, for now. 2018-09-24 19:36:30 -05:00
Steve Franke
591de66a31 Fix up SNR calculation so that it reverts to SJF SNR when polyfit SNR is not sane. 2018-09-24 19:04:34 -05:00
Bill Somerville
983193a5d4 Merge branch 'master' into develop 2018-09-24 23:46:52 +01:00
Steve Franke
9075fef228 Revert to Steve's SNR estimator, for now. 2018-09-24 17:40:14 -05:00
Joe Taylor
947307af0c Remove something left by temporary conflict. 2018-09-24 16:34:46 -04:00
Joe Taylor
770aac352c Re-insert the multi-precision routines. 2018-09-24 16:33:19 -04:00
Joe Taylor
4414280471 Merge branch 'hotfix-wsjtx-2.0.0-rc2' of bitbucket.org:k1jt/wsjtx into hotfix-wsjtx-2.0.0-rc2 2018-09-24 16:31:20 -04:00
Joe Taylor
a0e51b71e2 Multi-precision fortran routines replace use of quad-precsion floats. 2018-09-24 16:20:46 -04:00
Steve Franke
d66724f6e9 Fix a comment. 2018-09-24 15:14:19 -05:00
Steve Franke
af1be084d4 Make MSK144 SWL mode work. Needs testing\! 2018-09-24 15:10:57 -05:00
Steve Franke
45031738bf Fix some message-length incompatibilities involving MSK144 Sh messages. SWL mode is broken for the time being, because it relied on the old extractmessage144 routine to keep track of recent callsigns. That routine is no longer used. 2018-09-24 12:31:17 -05:00
Steve Franke
7baf8480a3 Merge branch 'hotfix-wsjtx-2.0.0-rc2' of bitbucket.org:k1jt/wsjtx into hotfix-wsjtx-2.0.0-rc2 2018-09-23 13:03:25 -05:00
Steve Franke
332a3f1561 Calibrate noise-baseline-fit based SNR estimate for FT8 v2 and print those estimates with decodes. 2018-09-23 13:03:20 -05:00
Joe Taylor
a26f4bf8de Merge branch 'hotfix-wsjtx-2.0.0-rc2' of bitbucket.org:k1jt/wsjtx into hotfix-wsjtx-2.0.0-rc2 2018-09-21 16:13:17 -04:00
Joe Taylor
23f45f0d4b Diagnostic write should include callsign hash vlues. 2018-09-21 11:13:01 -04:00
Steve Franke
bcea5df35d Merge branch 'hotfix-wsjtx-2.0.0-rc2' of bitbucket.org:k1jt/wsjtx into hotfix-wsjtx-2.0.0-rc2 2018-09-20 18:34:13 -05:00
Steve Franke
e857cb9d05 Suppress any decode with a CQ accompanied by a hashed callsign. 2018-09-20 18:33:57 -05:00
Joe Taylor
bc2fd29efa Merge branch 'hotfix-wsjtx-2.0.0-rc2' of bitbucket.org:k1jt/wsjtx into hotfix-wsjtx-2.0.0-rc2 2018-09-20 14:05:58 -04:00
Joe Taylor
b6fb6e3dd9 Simplify stdmsg.f90. (Will it still be OK for the 72-bit modes?) 2018-09-20 14:04:48 -04:00
Joe Taylor
4d013fef1b Minor corrections and code cleanup in packjt77.f90. 2018-09-20 14:02:49 -04:00
Steve Franke
fa44270d5f Don't display DXpedition, Field Day, or ARRL RTTY messages in MSK144. 2018-09-20 10:38:36 -05:00
Steve Franke
981c0122ae Tweak msk144sim.f90 2018-09-20 10:10:29 -05:00
Steve Franke
e1c74fd828 Fix message lengths in genmsk40. Also some tweaks to msk144sim.f90. 2018-09-20 09:49:42 -05:00