docs: sync README / MQTT / TWIN / TESTS with v1.3.3
- README /status example adds twin{...}, trunks[X].nodes and muted;
node-list bullet now mentions twin partner as well as trunk peers.
- docs/MQTT.md documents the nodes/local + nodes/<peer_id> topics
(retained) that were already being published but absent from the
docs; the QoS/retain table is extended accordingly.
- docs/TWIN_PROTOCOL.md status line bumped to v1.3.x+twin2 and test
count updated (8 -> 11) to include the partner-roster test.
- tests/TESTS.md bumps the trunk suite (31 -> 32) and twin suite
(10 -> 11) counts and adds entries for the two new roster tests.
This commit is contained in:
1 parent
69c993ad77
commit
bd31369e5e
4 files changed
+71
-12
No files matched your search
@@ -61,9 +61,12 @@ automatically.
|
||||
`[TRUNK_x]` section, with a shared filter syntax (exact, `24*` prefix,
|
||||
`2427-2438` range). Reloadable at runtime via the PTY admin channel
|
||||
- **Node-list broadcasting** — on local client login / logout / TG change the
|
||||
reflector debounces (500 ms) and emits a `MsgTrunkNodeList` to every peer
|
||||
carrying callsign + current TG + optional lat/lon/QTH. Inbound lists are
|
||||
republished via MQTT under `nodes/<peer_id>`; the local list under
|
||||
reflector debounces (500 ms) and emits a `MsgTrunkNodeList` to every trunk
|
||||
peer (and, when configured, the `[TWIN]` partner) carrying callsign +
|
||||
current TG + optional lat/lon/QTH. Inbound lists from trunk peers or twin
|
||||
partners are republished via MQTT under `nodes/<peer_id>`, Redis under
|
||||
`live:peer_node:…`, and surfaced in `/status` under
|
||||
`trunks[SECTION].nodes` / `twin.nodes`. The local list is published on
|
||||
`nodes/local`
|
||||
- **PTY admin channel** — live commands written to `/dev/shm/reflector_ctrl`:
|
||||
`TRUNK MUTE|UNMUTE <section> <callsign>` (applied on the inbound audio path),
|
||||
@@ -415,9 +418,28 @@ static configuration in a single response:
|
||||
"active_talkers": {
|
||||
"222": "IW1GEU",
|
||||
"25": "SM0ABC"
|
||||
}
|
||||
},
|
||||
"muted": [],
|
||||
"nodes": [
|
||||
{"callsign": "SM0ABC", "tg": 25},
|
||||
{"callsign": "SM1DEF", "tg": 2}
|
||||
]
|
||||
}
|
||||
},
|
||||
"twin": {
|
||||
"host": "reflector-partner.example.com",
|
||||
"port": 5304,
|
||||
"connected": true,
|
||||
"outbound_connected": true,
|
||||
"outbound_hello": true,
|
||||
"inbound_connected": true,
|
||||
"inbound_hello": true,
|
||||
"local_prefix": "1",
|
||||
"peer_id": "TWIN",
|
||||
"nodes": [
|
||||
{"callsign": "IW1XYZ", "tg": 1234}
|
||||
]
|
||||
},
|
||||
"satellites": {
|
||||
"my-satellite": {
|
||||
"id": "my-satellite",
|
||||
@@ -433,8 +455,10 @@ static configuration in a single response:
|
||||
```
|
||||
|
||||
`active_talkers` lists TGs with an active remote talker at query time (both
|
||||
prefix-based and cluster TGs). `satellites` and `satellite_server` appear only
|
||||
when applicable.
|
||||
prefix-based and cluster TGs). `trunks[SECTION].nodes` carries the roster
|
||||
received from each trunk peer; `twin.nodes` carries the partner's roster
|
||||
when a `[TWIN]` section is configured. `twin`, `satellites`, and
|
||||
`satellite_server` appear only when applicable.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user