etherkit / JTEncode

JT65/JT9/JT4/WSPR/FSQ Encoder Library for Arduino
GNU General Public License v3.0
97 stars 33 forks source link

WSPR Callsign with one char prefix failed. #29

Open pe0fko opened 1 year ago

pe0fko commented 1 year ago

Hello, I did have some trouble with a one char prefix in the wspr callsign (F/PE0FKO), it was not received by the wspr systems. Did check the code for the JTEncode::wspr_encode() function and found the problem in JTEncode::wspr_bit_packing(). There, in the function line 1000, the 3 and 2 char prefix is handled, only the one char prefix is not! I fixed the code with some extra if statement for the 1 char prefix and it works (for me ;-)), maybe you update the repo for that. 73, Fred, pe0fko