ABP connection with Pybytes TypeError: function takes 3 positional arguments but 2 were given
-
I am trying to connect Lopy4 with Pytrack to Pybytes.
I could not define it in config.py correctly.
configuration defined to use first lora_abp first
server': 'mqtt.pybytes.pycom.io',
'network_preferences': ["lora_abp","wifi"],
ABP defined as:
abp': {
'nwk_skey': 'xxx',
'app_skey': 'xxx',
'dev_addr': 'xxxxxx'
}getting an error message for 3d parameter
Using configuration config.py file from /flash folder
WMAC: 30aea4785f7c
Firmware: 1.17.5.b2
Traceback (most recent call last):
File "_main.py", line 95, in <module>
File "/flash/lib/pybytes.py", line 30, in connect_lora_abp
TypeError: function takes 3 positional arguments but 2 were given
MicroPython v1.8.6-849-b9d53b40 on 2018-05-03; LoPy4 with ESP32Please advice
-
Hi @asavvin, thanks for reporting this issue. We are working on making lora working properly now.
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