Commit Graph

96 Commits

Author SHA1 Message Date
Bill Somerville
a0a8159129
Fix a command line parsing defect 2020-05-09 00:55:22 +01:00
Bill Somerville
5c3f3ab1ee Update case fall through warning squash for old and new gcc as well as Clang 2020-05-07 15:43:27 +01:00
Bill Somerville
f194a516e6 Keep both Clang and gcc happy with fallthrough cases 2020-05-07 15:31:44 +01:00
Bill Somerville
cf6893e56b Updates for compliance with gcc v10 and squash some warnings 2020-05-07 14:57:05 +01:00
Steven Franke
2f7afbc34e Fix wsprd's -B command line option. 2020-04-04 15:03:11 -05:00
K9AN
f5fabaf163 Try to get rid of some compiler warnings. 2020-03-20 09:57:58 -05:00
Joe Taylor
4fa3ee3437 Silence compiler warnings. 2020-03-19 10:43:45 -04:00
Steven Franke
403904089e Re-arrange the fields in the ALL_WSPR.TXT file. 2020-02-27 09:10:17 -06:00
Steven Franke
1dde5fdd6c Fix a minor bug in the unpk_ routine that was introduced in the last commit. 2020-02-25 15:28:57 -06: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
K9AN
3176c1d3ef wsprd Makefile now builds wsprsim too. 2019-03-01 17:48:57 -06:00
K9AN
4d5fa21821 More tweaks to wsprd Makefile. 2019-03-01 17:07:11 -06:00
K9AN
9ff9dc5c42 Make wsprd Makefile work on Linux with gcc/gfortran. 2019-03-01 14:36:26 -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
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
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
2b48cc4487 Update wsprd README and delete an obsolete program. 2018-10-31 21:02:46 -05:00
Steve Franke
261c68ec6d Refine and clean up wspr osd code. 2018-09-11 16:45:17 -05:00
Steve Franke
af7feaf65a No need to examine every entry in the hash table. Just calculate the hash of OSD-produced callsigns and see if they are in the table. Add OSD decoding to the deep setting for wspr decoding. 2018-09-10 17:01:50 -05:00
Steve Franke
0c60db50d3 Experimental -o option for wsprd uses ordered-statistics decoder. Decodes are accepted only if the callsign exists in the hashtable. 2018-09-09 20:30:23 -05:00
Joe Taylor
3a8b2085eb Update a copyright notice.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8544 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-03-07 16:20:40 +00:00
Steven Franke
0ce5de0f28 Another round of tweaks to wsprd.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8500 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-12 01:13:03 +00:00
Steven Franke
0a21abd6bc Move wsprd_exp.c into wsprd.c. Change CMakeLists.txt so that it builds wsprd.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8497 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 21:36:52 +00:00
Steven Franke
e7077b4842 When called with -B, make second-pass the same as it was before block detection was introduced. This will be obtained with the Normal decode setting in WSJT-X.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8496 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 21:13:41 +00:00
Steven Franke
0829cdb98c Fix memory allocation error.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8494 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 19:06:31 +00:00
Steven Franke
4f96fbd1ca Use calloc instead of malloc with init loop.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8493 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 18:33:16 +00:00
Steven Franke
0eb941e082 Fixed numerous memory leaks in wsprd with the help of valgrind..
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8492 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 17:29:38 +00:00
Steven Franke
de2e6e1a2c Remove some unused variables.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8489 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 02:24:05 +00:00
Steven Franke
7578126454 Prevent a crash caused by a certain type of false decode. Update copyright date.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8452 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-03 16:31:22 +00:00
Steven Franke
f1aafe76c7 Clean up wsprd_exp. Build WSJT-X with wsprd_exp, for testing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8408 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-13 03:26:54 +00:00
Steven Franke
9f9932b560 New scheme - first pass is same as stock wsprd with blocksize=1; second pass tries blocksizes {1,2,3}. Drift estimation is turned off on second pass for smaller frequency estimate variance.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8404 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-12 22:47:59 +00:00
Steven Franke
2697ad1d56 Don't write blocksize to wsprd.spots because it seems to corrupt the spots sent to wsprnet.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8402 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-12 01:54:33 +00:00
Steven Franke
ae5e00d83c Restrict max blocksize to [1,2,3].
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8401 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-11 23:49:03 +00:00
Steven Franke
fc6389d3ce Loop over all blocksizes, write successful blocksize to ALL_WSPR.TXT.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8400 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-11 23:35:11 +00:00
Steven Franke
4f0e73f68f Tweaks to simulators.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8398 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-07 15:26:43 +00:00
Steven Franke
e8e2d57cc2 Make the sequence detector work for arbitrary frequency offsets. Assume drift=0 for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8396 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-05 21:57:15 +00:00
Steven Franke
3ea288b97a Add new command line option (-f) to set simulated signal's frequency offset.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8395 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-04 17:40:33 +00:00
Steven Franke
62eabdba8e Sequence detector block length is set from command line using -b <nblock>.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8394 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-02 03:11:43 +00:00
Steven Franke
e2c76b5991 Experimental noncoherent block sequence detector for wspr. Not yet completely functional.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8393 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-02 02:16:44 +00:00
Steven Franke
d79e413da5 Make wsprsim.c accept non-integer SNR
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8392 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-02 01:16:13 +00:00
Steven Franke
794e6ada00 Fix a wsprd bug that was introduced in r7090, which attempted to fix encoding of callsigns like 5N/6O0O.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7391 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-17 06:41:07 +00:00
Joe Taylor
83937fbb0e In ALL_WSPR.TXT: add another decimal place for DT and place for another MHz digit.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7275 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-01 21:15:29 +00:00
Steven Franke
538f814905 Fix a bug in wspr callsign packing that affected wsprsim and signal subtraction for a subset of callsigns.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7090 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-09-16 19:38:18 +00:00
Bill Somerville
c2c982dba9 Fix an issue with hashing compound callsigns with prefixes shorter than 3 characters
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7044 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-08-29 17:02:16 +00:00
Bill Somerville
e7ecd5f5b3 Correcty unpack both 4 & 6 character grids from WSPR type 3 messages
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7043 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-08-29 17:02:08 +00:00
Bill Somerville
7281664990 Fix file handle leak, thanks to Mike W9MDB for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7038 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-08-29 17:01:31 +00:00
Steven Franke
5e8f9074a6 Fix a regression that had degraded the accuracy of wsprd frequency reporting.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7034 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-08-17 23:33:08 +00:00
Bill Somerville
1d7e86bc35 Binary branding
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6786 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-21 00:13:52 +00:00
Bill Somerville
e7bfd6de76 Sharpen
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6785 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-20 23:53:57 +00:00