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 and Lopy "Not joined yet"

    Scheduled Pinned Locked Moved LoPy
    lopymultitechconduitfailureconnect
    22 Posts 5 Posters 6.6k 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.
    • J Offline
      jcaron @robert-hh
      last edited by

      @robert-hh Never had an issue with RX2 on the receiving side. What kind of issue are you seeing?

      robert-hhR M 2 Replies Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @jcaron
        last edited by

        @jcaron There were complaint about the in another thread.

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

          @monsteroz
          Ok some problems...

          In the AU915 region need to restrict the LoPy to what your gateway is set to:
          Frequency Sub-Band 4

          Because as configured the LoPy expects to use all valid 72 channels. However most real world gateways are limited to only 8 channels, hence the full channel map is partitioned into subbands.

          So add a function like this

          def select_subband_au915(lora, subband):
              if (type(subband) is int):
                  if ((subband<1) or (subband>8)):
                      raise ValueError("subband out of range (1-8)")
              else:
                  raise TypeError("subband must be 1-8")
              
              for channel in range(0, 64):
                  lora.remove_channel(channel)
              
              for channel in range((subband-1)*8, ((subband-1)*8)+8):
                  lora.add_channel(channel, frequency=915200000+channel*200000, dr_min=0, dr_max=5)
          

          the call select_subband_au915(lora, 4) to remove all channels which don't belong to sub-band 4 after initialising your LoRa object (and before joining)

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MOnsteroz @jcaron
            last edited by

            @jcaron
            The Lopy and Lopy4 just does not exit the loop and says "not joined yet."

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

              @jmarcelino Hi,

              If I lock it to sub band 4 it seems to just hang

              # Europe = LoRa.EU868
              # United States = LoRa.US915
              lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.AU915)
              select_subband_au915(lora, 4)
              # create an ABP authentication params
              
              

              If I add the below I get the same 'Not joined yet" message

              lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.AU915)
              def select_subband_au915(lora, subband):
                  if (type(subband) is int):
                      if ((subband<1) or (subband>8)):
                          raise ValueError("subband out of range (1-8)")
                  else:
                      raise TypeError("subband must be 1-8")
                  
                  for channel in range(0, 64):
                      lora.remove_channel(channel)
                  
                  for channel in range((subband-1)*8, ((subband-1)*8)+8):
                      lora.add_channel(channel, frequency=915200000+channel*200000, dr_min=0, dr_max=5)
              select_subband_au915(lora, 4)
              # create an ABP authentication params
              app_eui = binascii.unhexlify('1122334455667788')
              app_key = binascii.unhexlify('11112222333344445555666677778888')
              # Join the network
              #lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key), timeout=600)
              lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key), timeout=0)
              
              1 Reply Last reply Reply Quote 0
              • J Offline
                jmarcelino @MOnsteroz
                last edited by jmarcelino

                Thanks @monsteroz

                I'm not an expert on Multitech but I think your "Join Delay" isn't according to the specification.

                That should be 5 (seconds) as Robert already pointed out. Did you change it already?

                Do keep the sub channel selection code. That's also necessary, but not sufficient.

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MOnsteroz @jmarcelino
                  last edited by

                  @jmarcelino

                  I did not change the Join Delay but I have now changed it to 5 seconds with no change

                  thanks

                  Sean

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MOnsteroz
                    last edited by

                    Hi guys,

                    I reset to factory setting on the conduit and just added ID nd Key .. still no luck with the lopy..

                    Sean

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

                      @monsteroz
                      Can you post what are you current gateway settings please?

                      M 2 Replies Last reply Reply Quote 0
                      • M Offline
                        MOnsteroz @jmarcelino
                        last edited by

                        @jmarcelino

                        Hi I have been changing settings to try and make it work but here is what it is at the moment. I have changed to FSB 2 in case I want to use the TTN in the future.

                        Cheers

                        Sean0_1522878494362_LORA.jpg

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          MOnsteroz @jmarcelino
                          last edited by

                          @jmarcelino

                          Hi I was trying the code on Leo Gaggl's blog page .

                          Cheers

                          Sean

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bnjroos
                            last edited by

                            This post is deleted!
                            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
                            • 2
                            • 1 / 2
                            • First post
                              Last post

                            Pycom on Twitter

                            Pycom