lora.stats() Documentation is missing the parameter must passed
-
Hi
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 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) -
Thank you. I just made a firmware upgrade and now it works as described in documentation.
Thanks a lot
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login