Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Multitech Conduit ABP Configuration?

    Scheduled Pinned Locked Moved LoPy
    provisioningmultitechconduitlopyabp
    1 Posts 1 Posters 1.3k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mcook
      last edited by

      Hi,

      I apologize in advance... These questions are more related to Multitech than LoPy, but I figure someone probably has this working on the Multitech, so I am asking here.

      Can someone share a working lora-network-server.conf file for a Multitech Conduit using ABP? And along with it provide the corresponding code snippet to connect via a LoPy?

      The thing that seems tricky is that there are "name" and "passphrase" elements on the Conduit, and they do not seem to apply to the parameters that I need to send from the LoPy.

      My configuration file works fine for OTAA, but I'd like to try out ABP.

      Here's an example of what I have now (with the key and eui fields changed to all 0's):

      "network": {
      "public": true, /* set to false for private LoRa network with mDots + Conduit /
      "leasetime": 0, /
      time until mDot join expires (minutes) or 0 for no expiration */
      "name":"",
      "passphrase":"",
      "key":"00000000000000000000000000000000",
      "eui":"00:00:00:00:00:00:00:00"
      },

      Are there other parameters that I need to include? I read through the ABP doc here: https://docs.pycom.io/pycom_esp32/pycom_esp32/tutorial/includes/lora-abp.html

      It provides the following advice for setting parameters:

      create an ABP authentication params

      dev_addr = struct.unpack(">l", binascii.unhexlify('00 00 00 05'.replace(' ','')))[0]
      nwk_swkey = binascii.unhexlify('2B 7E 15 16 28 AE D2 A6 AB F7 15 88 09 CF 4F 3C'.replace(' ',''))
      app_swkey = binascii.unhexlify('2B 7E 15 16 28 AE D2 A6 AB F7 15 88 09 CF 4F 3C'.replace(' ',''))

      How does the nwk_swkey, the dev_addr and the app_swkey get specified in the Multitech gateway config?

      For what it is worth, I also read the following link: http://www.multitech.net/developer/software/lora/lora-network-server/. In this link, it says I can use this command to add a new node which will use ABP using this command:

      lora-query -a 00000001 A 16ea76f6ab663d80 0001020304050607 d73b3fa1456ced1a86d64dd5b961979d b31fc5263c66bcdc09a43ad3cd6f33ab

      I'm not sure where this part fits in. Does one need to add a node using this command before the node can communicate with the Multitech Conduit? Or is the above command for some other purpose? If so, what?

      Thanks,
      MIke

      1 Reply Last reply Reply Quote 0

      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
      • 1 / 1
      • First post
        Last post

      Pycom on Twitter

      Pycom