docs: catalogue v1.1 jay additions and v1.2 Redis store in README + protocol doc
README 'What it adds over SvxReflector' was still on the pre-v1.1
surface. Add entries for:
- per-trunk TG filters (BLACKLIST_TGS/ALLOW_TGS/TG_MAP/PEER_ID) with
the shared filter syntax
- node-list broadcasting (MsgTrunkNodeList) and its MQTT republishing
- PTY admin channel (TRUNK MUTE/UNMUTE/RELOAD/STATUS, CFG)
- optional Redis-backed config store (points at docs/REDIS.md)
Also refresh the /status and MQTT bullets to mention muted-callsigns,
Redis metrics, node lists, and MQTT_NAME.
TRUNK_PROTOCOL.md protocol-messages table was missing the jayReflector
message types — add 121 MsgTrunkNodeList and 122 MsgTrunkFilter with
their fields, plus a short paragraph explaining each. Also flesh out
MsgTrunkHello's listed fields to include the nonce/hmac/role actually
on the wire.
This commit is contained in:
1 parent
db9dcf6917
commit
65063fd92a
2 files changed
+41
-5
No files matched your search
@@ -52,11 +52,33 @@ automatically.
|
||||
- **Satellite reflectors** — lightweight relay instances that connect to a parent
|
||||
reflector instead of joining the full mesh, reducing configuration overhead for
|
||||
large deployments
|
||||
- **Per-trunk TG filters** — `BLACKLIST_TGS`, `ALLOW_TGS`, `TG_MAP` (with
|
||||
explicit-route bypass of the prefix routing check), and `PEER_ID` on each
|
||||
`[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
|
||||
`nodes/local`
|
||||
- **PTY admin channel** — live commands written to `/dev/shm/reflector_ctrl`:
|
||||
`TRUNK MUTE|UNMUTE <section> <callsign>` (applied on the inbound audio path),
|
||||
`TRUNK RELOAD [<section>]` (re-reads filters without restart),
|
||||
`TRUNK STATUS [<section>]`, plus CFG GET/SET and the existing certificate
|
||||
commands
|
||||
- **HTTP `/status` endpoint** — JSON status with trunk state,
|
||||
active talkers, satellite connections, and static configuration
|
||||
active talkers, satellite connections, per-trunk muted callsigns,
|
||||
Redis metrics (when enabled), and static configuration
|
||||
- **MQTT publishing** — real-time event-driven updates (talker, client,
|
||||
trunk state, receiver signal levels) to an external MQTT broker, plus
|
||||
configurable periodic full status dumps
|
||||
trunk state, receiver signal levels, node lists) to an external MQTT broker,
|
||||
plus configurable periodic full status dumps. Optional `MQTT_NAME` inserts
|
||||
a path component so multiple reflectors can share a `TOPIC_PREFIX`
|
||||
- **Optional Redis-backed config store** — when `[REDIS]` is configured,
|
||||
users/passwords, cluster TGs, per-trunk filters, and trunk peers themselves
|
||||
are read from Redis. A web dashboard can add/remove users and trunk peers,
|
||||
push filter changes, and subscribe to live state (`live:client:*`,
|
||||
`live:talker:*`, `live:trunk:*`) without restarting the reflector. See
|
||||
[`docs/REDIS.md`](docs/REDIS.md)
|
||||
- SvxLink client nodes are **unmodified** — they connect to their local
|
||||
reflector as normal and are unaware of the trunk
|
||||
|
||||
|
||||
Reference in new issue
Block a user