markqvist / RNode_Firmware

RNode is an open, free and flexible digital radio interface with many uses
https://unsigned.io/rnode
GNU General Public License v3.0
166 stars 56 forks source link

SNR Always 0 in raw mode #8

Closed TheBlueMatt closed 3 years ago

TheBlueMatt commented 4 years ago

Don't have an arduino toolchain set up and the debian-shipped appears to be about 20 years old, so, here's a patch...

--- a/RNode_Firmware.ino
+++ b/RNode_Firmware.ino
@@ -166,6 +166,7 @@ void receiveCallback(int packet_size) {
     // output directly over to the host
     read_len = 0;
     last_rssi = LoRa.packetRssi();
+    last_snr = LoRa.packetSnr();
     getPacketData(packet_size);

     // We first signal the RSSI of the
markqvist commented 3 years ago

Forgot to close this a long time ago when it was fixed :+1: