From ac8ba706f07cf671888c0a006e9396bb8fe9e5b9 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Mon, 28 Feb 2022 17:07:31 -0800 Subject: [PATCH] Add rssi meta data to the rf95 interface --- src/mesh/RF95Interface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesh/RF95Interface.cpp b/src/mesh/RF95Interface.cpp index 5a1cce32a..adaeead46 100644 --- a/src/mesh/RF95Interface.cpp +++ b/src/mesh/RF95Interface.cpp @@ -140,6 +140,8 @@ bool RF95Interface::reconfigure() void RF95Interface::addReceiveMetadata(MeshPacket *mp) { mp->rx_snr = lora->getSNR(); + mp->rx_rssi = lround(lora->getRSSI()); + } void RF95Interface::setStandby()