-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSPR Callsign with one char prefix failed. #29
Comments
Hello Fred. Would you mind sharing your code, I have same problem decoding my M/9A3ICE callsign! 73 Ivica |
For anyone currently curious this is the code snippet: if (prefix[1] == ' ' || prefix[1] == 0) {
prefix[3] = 0;
prefix[2] = prefix[0];
prefix[1] = ' ';
prefix[0] = ' ';
} else if (prefix[2] == ' ' || prefix[2] == 0) {
prefix[3] = 0;
prefix[2] = prefix[1];
prefix[1] = prefix[0];
prefix[0] = ' ';
} i will follow up with a propper pr when I test if I have broken anything else with this. thanks @pe0fko |
Thanks Ivica, the code looks Ok and I did use it this year a lot . 73, Fred,
|
Cheers sir! I have opened a pr |
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
The text was updated successfully, but these errors were encountered: