From b9fd726c1403e3ba30852e6bc0574dd7cffc3a47 Mon Sep 17 00:00:00 2001 From: Vadim Furman Date: Mon, 22 Mar 2021 19:39:49 -0700 Subject: [PATCH 1/2] 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 7d404673..ad35d700 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. From 049e7913827f6d3319e3b38e1e5ca71e2ef313a3 Mon Sep 17 00:00:00 2001 From: Vadim Furman Date: Mon, 22 Mar 2021 21:36:24 -0700 Subject: [PATCH 2/2] Updated proto --- proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto b/proto index 94bd0aae..820fa497 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit 94bd0aae44e2c16c7776289225c804100c856cd4 +Subproject commit 820fa497dfde07e129cad6955bf2f4b2b9cecebc