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

    Set up channels for LoRaWAN EU 863-870MHz ABP

    Scheduled Pinned Locked Moved Guides
    lorawan abp
    6 Posts 3 Posters 2.5k 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

      Using LoPy configured for EU 863-870MHz by default only the three mandatory channels 868.1, 868.3 and 868.5 MHz configured. Most networks are using the Semtech 8-channel frequency plan. For proper operation and network compatibility of the device it is necessary to add channels when you are using ABP join:

      0_1502606907277_upload-892f453c-4c7c-4bd5-b2c4-9db68d308d9d

      Multi SF channels required for ADR (Adaptive Data Rate). DR6 is useful for high speed data transmission close to the gateway when no reflections.

      Semtech channel plan has an 50kbps FSK channel also, but it is not supported in the LoPy firmware.

      1 Reply Last reply Reply Quote 2
      • A Offline
        arneme
        last edited by

        Will this have implications for OTAA as well? We are experiencing that the LoPy uses a long time to join using OTAA. Could it be that the gateway tries to use a channel for the join ack that is not supported by the LoPy (by default)?

        bmarkusB 1 Reply Last reply Reply Quote 0
        • bmarkusB Offline
          bmarkus @arneme
          last edited by

          @arneme OTAA takes longer time, it is normal. Network Servers usually send list of available channels to the devices, so it is expected to work.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            arneme @bmarkus
            last edited by arneme

            @bmarkus Hm, not sure if what I see is normal. I am observing that the OTAA takes several minutes (which certainly will drain power, especially if the modus operandi is to go into deepsleep and therefore have to do a new join every time the device wants to send something). The network server (TTN) receives the join request several times and sends ack to the gateway but for some reason it looks like that the gateway is unable to match the rx1 and rx2 receive windows up to 10-100 times (or even more) before it finally manages to get the ack through to the device. We have observed similar behaviour using the Semtech reference implementation of the network server and I am starting to wonder why it seems to be so hard to hit the receive windows on the LoPy. Is it the Multitech gateway or the LoPy´s fault? We have used the basic_packet_forwarder that comes with the Multitech when sending to the Semtech network server and the Kersing multiprotocol packet forwarder when sending to TTN and both configurations seems to have the same problem. By the way, ABP seems to work fine even without adding channels as you suggested.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jcaron @arneme
              last edited by

              @arneme You definitely don't need to join again after each deep sleep. Make sure you use the nvram_save and nvram_restore methods, and you'll be able to keep your join status across deep sleep.

              How far are you from the gateway? Are you (and the gateway) indoors or outdoors?

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                arneme @jcaron
                last edited by

                @jcaron Thanks, forgot about that (since it is relatively new). The gateway is just a meter away from me (indoor).

                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