fix(wintest): replace unreliable band-limited AUTO sked mode detection with explicit SSB/CW selection and show exact KST callsigns in the timeline and fixed (#50 ensured Filter-Reset)

This commit is contained in:
Marc Froehlich
2026-08-07 22:56:24 +02:00
parent 4f574ebec6
commit 6a7f07c62e
5 changed files with 57 additions and 98 deletions
@@ -883,23 +883,29 @@ public class ChatController implements ThreadStatusCallback, PstRotatorEventList
);
}
String modeText =
String configuredMode =
chatPreferences.getLogsynch_wintestSkedMode();
int modeOverride = -1;
if ("CW".equalsIgnoreCase(modeText)) {
modeOverride = 0;
} else if ("SSB".equalsIgnoreCase(modeText)) {
modeOverride = 1;
}
/*
* Win-Test mode IDs:
* 0 = CW
* 1 = SSB
*
* SSB is the safe fallback for missing or obsolete settings.
* The former AUTO mode was frequency-based and could not produce
* reliable results on every supported VHF, UHF and SHF band.
*/
int winTestMode =
"CW".equalsIgnoreCase(configuredMode)
? 0
: 1;
sender.pushSkedToWinTest(
sked,
winTestCallsign,
frequencyKHz,
notes,
modeOverride
winTestMode
);
} catch (Exception exception) {