LOPY LORAWAN NODE
-
I would like to connect my Lopy as Node to TTN via the Nano Gateway.
What code will I need to do this? when I just upload otaa_node.py I get an error.
The Nano Gateway is working and says "Connected".
Thanks
-
Traceback (most recent call last):
File "main.py", line 19, in <module>
ValueError: invalid argument(s) value
MicroPython v1.8.6-237-g9d21f17 on 2016-12-15; LoPy with ESP32
Type "help()" for more information.In lib I placed the config.py file.
-
Could you share the complete error message, what error does it say occurs at line 19?
-
@seb I used the Code from documentation. Im new in MicroPython.
I took this code https://github.com/pycom/pycom-libraries/blob/master/examples/lorawan-nano-gateway/otaa_node.py
renamed it to main.py and uploaded it. Then I get the first Error saying: Error Line 19.
-
Can you share the code you used and what error you received? Our documentation contains an example of how to connect to LoRaWAN here: https://docs.pycom.io/chapter/tutorials/lopy/lorawan-otaa.html