pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
198 stars 167 forks source link

False value returned by lora.stats() #48

Closed ha5di closed 7 years ago

ha5di commented 7 years ago

Board: LoPy

Firmware: 1.7.8.b1

snr returned by lora.stats() is not the snr in dB but the value returned by LoRa HAL. It must devided by 4.

Forum reference: https://forum.pycom.io/topic/1597/false-value-returned-by-lora-stats

ha5di commented 7 years ago

One notice. Would be good to get a single precision float instead of integer not to loose precision.

danicampora commented 7 years ago

Fixed. Thanks!