Add multi-port radio controls and APRS activity dashboard
This commit is contained in:
1 parent
018c0f574e
commit
c980ba10de
30 files changed
+1147
-20
No files matched your search
@@ -223,3 +223,39 @@ Manual forwarding and Winlink sync buttons open a live progress dialog (preparat
|
||||
Sync status responses carry a revision; the browser rejects late responses for previous jobs and never revives a terminal session. The local radio controller can use `canRecoverIdleScan` to release stale scan holds only after eight seconds of verified RF inactivity, without overriding active links, manual packet reservations or TX pause.
|
||||
|
||||
Manual packet sync is independent of the listening scan selection. When the packet channel is excluded from scanning, the local station adapter can reserve it directly: stop the idle HF modem, verify the packet frequency and DATA-FM mode through CAT, and start the packet modem. After release, restore HF and the original scan selection without editing the scan configuration. TX pause and active radio sessions still prevent transmission. Forwarding and Winlink use the same reservation path.
|
||||
|
||||
### Multiple radio ports
|
||||
|
||||
Overview discovers all radio ports in BPQ32.cfg. Each port has separate telemetry and history; select its tab to view charts. Packet ports show BPQ AX.25 frame and timeout counters instead of unsupported SNR/modem CPU readings. Missing telemetry is displayed as unavailable.
|
||||
|
||||
Independent controls require an installed station controller. Configure `radioPortsControl` in the private `console.config.json`:
|
||||
|
||||
```json
|
||||
"radioPortsControl": {
|
||||
"requestFile": "C:/BPQ32/Automation/RadioPorts-request.json",
|
||||
"ports": [
|
||||
{ "port": 1, "kind": "native", "independent": true },
|
||||
{
|
||||
"port": 3, "kind": "packet", "independent": true,
|
||||
"statusFile": "C:/BPQ32/Automation/Packet-status.json",
|
||||
"channels": [
|
||||
{ "id": "144950000-FM", "frequencyMHz": 144.95, "mode": "FM", "dwellSeconds": 15, "enabled": true }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The `native` integration uses the existing primary `radioControl` controller. The shared request file contains `ports[portNumber]` with `revision`, `listening`, `txSuspended` and `channels`. Controllers must honor both per-port policy and the existing global TX suspension. Packet status includes a fresh `at`, `frequency`, `pttReady`, `connections`, `appliedPortRevision` and optional `txBytes`, `rxBytes`, `sessionActive`, `caller`, `called`, `scanning`, `busy`. Only expose controls after the controller acknowledges readiness. Keep frequencies fixed during active links and manual reservations; resume the selected listening channels after release. Packet scan edits accept 144–146 or 430–440 MHz with a dwell of 5–300 seconds. Native HF scan selection retains BPQ's configured channels and dwell times.
|
||||
|
||||
The Windows Bluetooth adapter and HF station scripts are local integrations, not installed by the generic installer. Without compatible controllers, additional ports remain visible for statistics and their control buttons are disabled. The browser sampling interval does not start transmissions. Native KISS radio connect scripts use `C <port> !<call>` to force RF and bypass an existing NET/ROM route.
|
||||
|
||||
### APRS configuration
|
||||
|
||||
The APRS page edits station identity, beacon, APRS-IS server and per-port routing. Listening, RF → APRS-IS, RF digipeating, APRS-IS messages → RF and RF beacons are independent choices. Saving creates a native configuration backup and requests `APRS RECONFIG` over authenticated BPQ Telnet; a rejected request restores the previous native file. Existing passcodes remain private and are retained when the password field is empty. Changes are applied only when **Save and apply** is selected.
|
||||
|
||||
APRS frequency controls are exposed for packet controllers explicitly advertising `aprsGuard: true` in their `radioPortsControl.ports` descriptor. That controller must enforce `Automation/AprsConsole-policy.json` at the RF boundary: APRS UI frames are allowed only on the selected APRS frequency and only in the configured direction, including separate handling of third-party Internet messages and the station's own beacons. Connected AX.25 sessions remain available for manual sync on other frequencies. Merely advertising the flag without implementing the RF guard is unsupported. The local VR-N7500 integration includes this guard; generic installers do not install hardware-specific adapters or enable APRS retransmission.
|
||||
|
||||
Enabling APRS listening selects that port's APRS frequency as its fixed listening channel. Manual Winlink/BBS reservations temporarily override it, then restore the port's listening selection. Disabling APRS routing does not power down the radio; listening channels remain manageable from Overview. Native APRS digipeating handles paths, hop limits and duplicates. Broad geographic APRS-IS → RF forwarding is not enabled by this page.
|
||||
|
||||
APRS RX monitoring can optionally use a receive-only TCP KISS endpoint that explicitly supports multiple clients: set aprsKissMonitor to an array of objects with port (BPQ port number), host and tcpPort in console.config.json. This connection never sends data or commands. Do not enable it on a single-client TNC. Radio TX still comes from the BPQ monitor; historical native station entries are not counted as received packets.
|
||||
Reference in new issue
Block a user