tapparelj / gr-lora_sdr

This is the fully-functional GNU Radio software-defined radio (SDR) implementation of a LoRa transceiver with all the necessary receiver components to operate correctly even at very low SNRs. This work has been conducted at the Telecommunication Circuits Laboratory, EPFL.
https://www.epfl.ch/labs/tcl/
GNU General Public License v3.0
653 stars 67 forks source link

how to get rssi #96

Open LeeKoTo opened 3 months ago

LeeKoTo commented 3 months ago

hello,it's a good project, and how can i get rssi

tapparelj commented 3 months ago

Hello @LeeKoTo, there isn't an RSSI value computed, but you can get an estimation of the SNR of each frame. If you uncomment the line 5 of gr_lora_sdr/lib/frame_sync_impl.h "#define PRINT_INFO", and build again, the SNR estimation will get printed in the terminal as: [frame_sync_impl.cc] 1 CFO estimate: -0.00789291, STO estimate: 116.522 snr est: -5.07804

--------Header-------- Payload length: 14 CRC presence: 1 Coding rate: 0 Header checksum valid!

rx msg: Hello world: 0 CRC valid!