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:
Vendored
+5
@@ -14,6 +14,11 @@ main {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#protocol {
|
||||
min-height: 1.4em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#detail {
|
||||
min-height: 1.4em;
|
||||
font-size: 20px;
|
||||
|
||||
Vendored
+2
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user