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

    Checking regional LoRaWAN settings

    Scheduled Pinned Locked Moved LoPy
    6 Posts 4 Posters 2.1k Views 6 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.
    • I Offline
      iotoz
      last edited by

      (1) Is there a way to query the existing LoRaWAN configuration? e.g. lora.init()

      We would like to know;

      • The channel setup - channel number, frequency, data rate.
      • Basically every setting in that would be part of the lora.init(, , , )

      I have tried to change the channel configuration with no success. Such as: lora.remove_channel(channel) for all, then lora.add_channel(..) => which generates TypeError: extra positional arguments given.

      Also, strangely lora.has_joined() will return "false" for OTAA, but always returns "true" for ABP. Possible bug.

      I have flashed the newer firmware 1.0.0.b3 and setup as Australian configuration, but I cannot seem to get the LoPy to join my network.
      I have switched the network to Sub-Band 2 [ch8-16], same as the TTN settings.
      I have switched back to Sub-Band 1 [ch0-7].

      I have tried OTAA and ABP without success.

      Has anyone successfully tried and used the LoPy in Australia?

      *We are currently using the Kerlink with Loriot platform, until our other GW's arrive, or TTN gateway get delivered.

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

        This is what I wanted to ask also. I'm in Europe but to get all actual LoRaWAN settings (ok, not the encryption keys) are is important.

        1 Reply Last reply Reply Quote 0
        • T Offline
          Turson
          last edited by

          I've been waiting for someone to reply to this inquiry? Is it resolved?

          I 1 Reply Last reply Reply Quote 0
          • I Offline
            iotoz @Turson
            last edited by

            @Turson
            Unfortunately I have had no reply to this issue, and it still remains a problem. I am aware of several members of Makerspace run in one of our main cities who have also had the same issue. They have reportedly crushed the LoPy and thrown it in the bin.

            I believe the problem is solvable, but haven't had the time to follow it up.

            Would be interested in anyone else's experience, and the specific steps taken.

            J T 2 Replies Last reply Reply Quote 0
            • J Offline
              jmarcelino @iotoz
              last edited by jmarcelino

              @iotoz

              Don't add_channel and remove_channel work? I think they didn't in 1.0.0.b3 but should do on the latest updates.

              From https://github.com/pycom/pycom-micropython-sigfox/blob/master/lib/lora/mac/LoRaMac-definitions.h (this is an open source project after all you're free to have a look ;-) the LoPy uses the 3 default channels if USE_BAND_868 is set.

              • LoRaMac default channels
                // Channel = { Frequency [Hz], { ( ( DrMax << 4 ) | DrMin ) }, Band }
                #define LC1 { 868100000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
                #define LC2 { 868300000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
                #define LC3 { 868500000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
              1 Reply Last reply Reply Quote 0
              • T Offline
                Turson @iotoz
                last edited by

                @iotoz I've ordered 3 pairs and waiting to be delivered to some time this week. I don't have a Gateway yet. I want to use the LoPy as Nano Gateway. I hope I can get it working.

                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