lora.stats() Documentation is missing the parameter must passed
constantinos last edited by constantinos
I'm trying to call lora.stats() but I get an error.
lora.stats() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: function takes 1 positional arguments but 0 were given >>>
I searched the documentation at https://docs.pycom.io/pycom_esp32/library/network.LoRa.html?highlight=rssi but says invalid info about this function
constantinos last edited by
Thank you. I just made a firmware upgrade and now it works as described in documentation.
Thanks a lot
mmarkvoort last edited by
@constantinos What firmware version do you have?
>>> import os >>> os.uname() (sysname='LoPy', nodename='LoPy', release='1.6.9.b1', version='v1.8.6-535-g84855b2b on 2017-03-24', machine='LoPy with ESP32', lorawan='1.0.0')
At this version, which is the latest, it is working.
>>> lora.stats() (timestamp=0, rssi=0, snr=0, sf=0)