W isn't in the lookup table for prefixes.Getting rid of the k check seems to
work for all.Looks to me like the whole section above this for prefix/suffix is
redundant or basically has been replaced by the new logic for JT65V2If I'm
following the logic correctly as long as there is a slash in the callsign it
will always just encode whatever is before or after the callsign.I commented it
all out and it still works seeing as how the branch on "10" is always taken
when there's a slash.Seems to work for all prefix/suffix combos.
Index:
packjt.f90===================================================================---
packjt.f90 (revision 7634)+++ packjt.f90 (working copy)@@ -754,7 +754,7 @@
enddo endif
- 10 if(islash.ne.0 .and.k.eq.0) then+ 10 if(islash.ne.0) then ! Original JT65
would force this compound callsign to be treated as ! plain text. In JT65v2,
we will encode the prefix or suffix into nc1. ! The task here is to compute
the proper value of k.
de Mike W9MDB
From: Bill Somerville <[email protected]>
To: [email protected]
Sent: Tuesday, April 11, 2017 5:26 PM
Subject: Re: [wsjt-devel] Watts in message
On 11/04/2017 19:57, Black Michael wrote:
This seems to fix both my problem and yours.
Index: packjt.f90
=================================================================== ---
packjt.f90 (revision 7634) +++ packjt.f90 (working copy) @@ -754,7 +754,7 @@
enddo endif
- 10 if(islash.ne.0 .and.k.eq.0) then + 10 if(islash.ne.0 .and.k.ne.0) then
! Original JT65 would force this compound callsign to be treated as ! plain
text. In JT65v2, we will encode the prefix or suffix into nc1. ! The task
here is to compute the proper value of k.
Hi Mike, I wish it were that simple but your patch goes awry for this example:
C:\Users\bill>\test-install\wsjtx-dev\Debug\bin\jt65code "cq w/g4wjs io91"
Message Decoded Err? Type
--------------------------------------------------------------------------
1. CQ W/G4WJS IO91 CQ G4WJS IO91 * 1: Std Msg
Packed message, 6-bit symbols 62 32 32 49 39 54 23 36 61 51 63 21
Information-carrying channel symbols
57 4 16 23 42 28 23 45 45 3 38 57 23 43 29 24 42 28 62 42 5
7 15 10 30 33 54 53 23 55 60 39 29 7 48 35 24 20 21 63 63 24
9 48 42 37 38 36 55 22 46 47 41 32 1 3 39 30 3 48 44 52 31
The valid type 2 prefix has been lost.
73
Bill
G4WJS.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel