feat(mqtt): add packet counters to status; complete and reorganize MQTT bridge variants
MQTT status payload: - Add packets_sent and packets_received (cumulative radio TX/RX totals) to the status `stats` object, aligning with the Waev/MeshMapper schema. Variants (variants/eastmesh_mqtt -> variants/eastmesh): - Rename the variant folder to variants/eastmesh. - Add the remaining *_repeater_observer_mqtt_bridge envs (2 -> 36), one per observer board. - Regroup envs by board (observer -> espnow -> mqtt_bridge) and add per-vendor section banners. Docs & release notes: - Update folder path references in README, AGENTS, and boards docs. - Add observer-eastmesh and observer-eastmesh-bridge-espnow 2026.6.6 release notes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
d6fcabcb4c
commit
7176f62dae
@@ -3015,6 +3015,8 @@ void MyMesh::loop() {
|
||||
mqtt_status.tx_air_secs = static_cast<uint32_t>(getTotalAirTime() / 1000);
|
||||
mqtt_status.rx_air_secs = static_cast<uint32_t>(getReceiveAirTime() / 1000);
|
||||
mqtt_status.recv_errors = radio_driver.getPacketsRecvErrors();
|
||||
mqtt_status.packets_sent = radio_driver.getPacketsSent();
|
||||
mqtt_status.packets_received = radio_driver.getPacketsRecv();
|
||||
mqtt_status.radio_freq = _prefs.freq;
|
||||
mqtt_status.radio_bw = _prefs.bw;
|
||||
mqtt_status.radio_sf = _prefs.sf;
|
||||
|
||||
Reference in New Issue
Block a user