mayeranalytics / pySX127x

This is a python interface to the Semtech SX127x, HopeRF RFM9x, Microchip RN2483 long range, low power transceiver families.
GNU Affero General Public License v3.0
171 stars 116 forks source link

rssi value calculation #15

Closed dimka-rs closed 6 years ago

dimka-rs commented 7 years ago

Rssi is currently calculated as

return v - 157

which is correct for High Frequency only See "5.5.5. RSSI and SNR in LoRa TM Mode" (page 87)

RSSI (dBm) = -157 + Rssi, (when using the High Frequency (HF) port) or RSSI (dBm) = -164 + Rssi, (when using the Low Frequency (LF) port)

mayeranalytics commented 6 years ago

fixed