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 ESP32

    Please advice



  • Hi @asavvin, thanks for reporting this issue. We are working on making lora working properly now.


Log in to reply
 

Pycom on Twitter