Add MQTT RX status events and fix periodic status publishing
Periodic MQTT status was missing dynamic fields (trunks, cluster_tgs,
local_prefix, etc.) because they were only rebuilt during HTTP requests.
Extract status-building into refreshStatus() called from both paths.
Add per-client RX status MQTT events (client/{callsign}/rx) published on
every signal strength update, supporting multiple receivers per node.
This commit is contained in:
1 parent
4a9cba6edb
commit
a2eefac1f2
8 files changed
+86
-18
No files matched your search
@@ -1044,6 +1044,7 @@ void ReflectorClient::handleMsgSignalStrengthValues(std::istream& is)
|
||||
setRxSqlOpen(rx.id(), rx.sqlOpen());
|
||||
setRxActive(rx.id(), rx.active());
|
||||
}
|
||||
m_reflector->publishRxUpdate(this);
|
||||
} /* ReflectorClient::handleMsgSignalStrengthValues */
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user