Speak protocol 3.0 and fall back to 2.0 only when that is the reflector's maximum.

A reflector that has moved to 3.0 will not accept a station that always announces 2.0, and a 2.x reflector still needs one explicit plaintext session.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-07 14:24:00 +02:00
co-authored by Cursor
parent 0930d4b727
commit 3d1a2a1669
24 changed files with 3180 additions and 244 deletions
+5
View File
@@ -14,6 +14,11 @@ main {
font-size: 14px;
}
#protocol {
min-height: 1.4em;
margin: 0;
}
#detail {
min-height: 1.4em;
font-size: 20px;
+2
View File
@@ -21,6 +21,8 @@ function render(state) {
document.getElementById("connection").textContent = state.connection;
document.getElementById("callsign").textContent = state.callsign;
document.getElementById("talkgroup").textContent = String(state.talkGroup);
const protocol = document.getElementById("protocol");
protocol.textContent = state.protocol ? "Protocol " + state.protocol : "";
document.getElementById("detail").textContent = line(state);
button.classList.toggle("down", !!state.transmitting);
}
+1
View File
@@ -10,6 +10,7 @@
<p id="connection">Disconnected</p>
<p>Callsign <span id="callsign"></span></p>
<p>Talk group <span id="talkgroup"></span></p>
<p id="protocol"></p>
<p id="detail">Idle</p>
<button id="ptt" type="button">Push to talk</button>
</main>