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 RX2 parameters

    Scheduled Pinned Locked Moved LoPy
    lopy rx2
    11 Posts 5 Posters 2.3k Views 5 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.
    • B Offline
      Brick @kersing
      last edited by

      @kersing I'm also interested in this. Have you found a solution?

      1 Reply Last reply Reply Quote 0
      • K Offline
        kersing
        last edited by

        No. For the time being I've put my pycom devices to the side. I'm using other LoRaWAN devices where questions about basic usage are answered...

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jmarcelino @kersing
          last edited by jmarcelino

          Does this mistery network send the correct RX2 data rate in the DLsettings section of the OTAA join accept response?

          If so I believe the LoPy will pick it up automatically.

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kersing @jmarcelino
            last edited by

            @jmarcelino Yes it does. However the response is send in RX2 at SF9 so the LoPy is not able to receive it and adapt the parameters of the stack.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jmarcelino @kersing
              last edited by jmarcelino

              @kersing
              That sounds like a bug on the network server side and deviation from the LoRaWAN standard... and I remember someone with your name posting a fix for it ;-)

              https://github.com/kersing/ttn/commit/915bb5e22dd1e78859b35f00b16edcf528cfec58

              If you can't fix the network server the only workaround I know is to force it on the C code, as it's also done for Semtech's own broken server

              https://github.com/pycom/pycom-micropython-sigfox/blob/dd8a99215d768ce6ba1a0cdbf53ae576dac44338/lib/lora/mac/LoRaMac.c#L1005

              B K 2 Replies Last reply Reply Quote 0
              • B Offline
                Brick @jmarcelino
                last edited by

                @jmarcelino Actually as LoPy is a development board we would like to have under control all parameters and RX window is the one which is mostly customized by guys who want to play with LoRa. I'm currently trying to get downlink data in Lopy and as no examples worked for me wanted to try different options with RX windows.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kersing @jmarcelino
                  last edited by

                  @jmarcelino said in Set RX2 parameters:

                  That sounds like a bug on the network server side and deviation from the LoRaWAN standard

                  In this case it is an choice of the network operator for their development network. Checking the LoRaWAN specification (regional parameters document) it states: "The default parameters are 869.525 MHz / DR0 (SF12, 125 kHz)".
                  I'm not sure whether "default" implies mandatory. If not the operator is free to choose other settings...

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jmarcelino @kersing
                    last edited by

                    @kersing
                    My interpretation of "default" means until/unless a different parameter has been selected via the DLsettings mechanism.

                    One major goal of LoRaWAN and the LoRa Alliance is to guarantee interoperability so (public) networks and certified devices shouldn't really be using different core settings that break that interoperability.

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      prashanth
                      last edited by

                      Hey, have you found a solution for this?

                      robert-hhR 1 Reply Last reply Reply Quote 0
                      • robert-hhR Offline
                        robert-hh @prashanth
                        last edited by

                        @prashanth I have seen that TTN uses SF9 @ 869.525 MHz for the RX2 response. There is a rational that a gateways can send with higher power at that frequency, and therefore cover the same distance, while having shorter transmission times. That works, if the node has been connected with OTAA. In that case the RX2 parameters are sent to the node.
                        I was a little bit surprised when I stumbled over that.

                        1 Reply Last reply Reply Quote 1

                        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