From b9fd726c1403e3ba30852e6bc0574dd7cffc3a47 Mon Sep 17 00:00:00 2001 From: Vadim Furman Date: Mon, 22 Mar 2021 19:39:49 -0700 Subject: [PATCH] Push RSSI to the phone --- src/mesh/SX1262Interface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesh/SX1262Interface.cpp b/src/mesh/SX1262Interface.cpp index 7d4046731..ad35d700d 100644 --- a/src/mesh/SX1262Interface.cpp +++ b/src/mesh/SX1262Interface.cpp @@ -142,6 +142,7 @@ void SX1262Interface::addReceiveMetadata(MeshPacket *mp) { // DEBUG_MSG("PacketStatus %x\n", lora.getPacketStatus()); mp->rx_snr = lora.getSNR(); + mp->rx_rssi = lround(lora.getRSSI()); } /** We override to turn on transmitter power as needed.