Add per-node RSSI/SNR display on Nodes screen (developer mode)

Backend:
- LoRaInterface captures packet RSSI/SNR immediately after every RX,
  removing redundant SPI re-reads from log statements
- AnnounceManager populates DiscoveredNode.rssi/snr from LoRaInterface
  on every announce (fields existed but were never wired up)

Frontend:
- Nodes screen shows RSSI appended to hops/age when dev mode is on
- Node name label uses smaller font (montserrat_12) to reduce truncation
- Normal users see no change
This commit is contained in:
DeFiDude
2026-03-28 14:27:07 -06:00
parent a77fb594a2
commit 6cd4197503
7 changed files with 37 additions and 8 deletions
+2
View File
@@ -519,6 +519,7 @@ void setup() {
announceManager = new AnnounceManager();
announceManager->setStorage(&sdStore, &flash);
announceManager->setLocalDestHash(rns.destination().hash());
if (rns.loraInterface()) announceManager->setLoRaInterface(rns.loraInterface());
announceManager->loadContacts();
announceManager->loadNameCache();
announceHandler = RNS::HAnnounceHandler(announceManager);
@@ -718,6 +719,7 @@ void setup() {
lvNodesScreen.setAnnounceManager(announceManager);
lvNodesScreen.setUIManager(&ui);
lvNodesScreen.setUserConfig(&userConfig);
lvNodesScreen.setNodeSelectedCallback([](const std::string& peerHex) {
lvMessageView.setPeerHex(peerHex);
ui.lvTabBar().setActiveTab(LvTabBar::TAB_MSGS);