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

    LoRaWAN ABP example

    Scheduled Pinned Locked Moved LoPy
    4 Posts 3 Posters 4.7k Views 3 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.
    • bmarkusB Offline
      bmarkus
      last edited by bmarkus

      Practically LoRa/LoRaWAN functions are not ducomented. Found nothing about

      • how to configure, display, etc. channels used by LoraWAN stack
      • how to setup DR, Spreading factor and other parameters
      • is there a unique HWEUI available
      • how to use ABP
      • etc

      There is only an incomplete OTA example without channel settings, only the join part shown :(

      Can someone provide a complete ABP example?

      What is the ETA for a usable, minimal documentation? In the module index nothing about the LoRa functionality in the network module part.

      1 Reply Last reply Reply Quote 0
      • L Offline
        LoneTech
        last edited by

        Haven't a clue about most of those bits, but I expect there is a unique HWEUI available. For example I found these IDs by introspection:

        >>> binascii.hexlify(network.LoRa().mac())
        b'70b3d5499a6b6439'
        >>> binascii.hexlify(machine.unique_id())
        b'240ac400c004'
        >>> binascii.hexlify(network.WLAN().mac())
        b'240ac400c004'
        

        The LoRa MAC address should be the HWEUI value (it's an 8-byte EUI, whereas the WiFi one is 6-byte).

        D 1 Reply Last reply Reply Quote 1
        • bmarkusB Offline
          bmarkus
          last edited by

          Thanks, it looks the HWEUI. On my board I get a similar value except the different few last digits as expected.

          1 Reply Last reply Reply Quote 0
          • D Offline
            DarkHawk @LoneTech
            last edited by

            @LoneTech nice, should be easy to use this directly in the auth setup so one doesn't have to hardcode the DevEUI

            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