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

    New firmware release 1.6.7.b1 (LoRaWAN Nano Gateway with TTN example!!)

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    113 Posts 34 Posters 88.5k Views 32 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.
    • R Offline
      rskoniec @gas
      last edited by rskoniec

      @gas Here is my TTN config:

      0_1488837842948_ttn.jpg

      Gateway should be packet forwarder type.

      The machine is working as good as it's code.

      1 Reply Last reply Reply Quote 0
      • G Offline
        gas @jmarcelino
        last edited by

        @jmarcelino
        your right i was using the Gateway not the packet forwarder

        now it is connected cool
        but the exampe of otaa is wrong
        lora.join don't se deveui
        my node is connected over my Lopy LoRaWAN nanaGW OTAA

        github should be updated

        lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key), timeout=0)
        
        1 Reply Last reply Reply Quote 0
        • D Offline
          daniel
          last edited by

          @gas, yes, the example force the deveui to some value, I'll update the code on githb to clarify that. Thanks!

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            gas @daniel
            last edited by

            @daniel

            Thanks
            Great Job any and impressive both micropython and Pycom
            now let me try the range with my sample code of GPS ...

            1 Reply Last reply Reply Quote 0
            • D Offline
              daniel
              last edited by

              @thanks! keep us posted about your results :-)

              1 Reply Last reply Reply Quote 0
              • C Offline
                Colateral @robert-hh
                last edited by

                @robert-hh I tried Windows10 ftp in browser as ftp://micro:python@192.168.4.1

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

                  After upgrading to the latest firmware i'm no longer able to send using raw Lora mode. I'm running the same code as i did before the weekend and it worked then. The code is basically the LoPy to LoPy code for sending and receiving. I did the firmware update. I tried to play around with the public parameter as told earlier but with no result.
                  Anyone else experiencing the same problem?

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    Clemens @ThatStudentGuy
                    last edited by

                    @ThatStudentGuy The public parameter is for talking from LoPy to RFMs necessary. Your problem is related to theat but not the public variable. Unfortunately there was a major change in the LoRa specification section, you have to set parameter expicitly now, see
                    https://forum.pycom.io/topic/770/lora-receiving-only-b

                    It's a bit annoying that now all defailt examples here in the forum and also on git no more working, from y perspectiv a no go and very frustrating for new users. You are tolde that you have to update your board but the "simplest code you can get" is not working, see my comments about that under:
                    https://forum.pycom.io/topic/770/lora-receiving-only-b/4

                    In case there is a need for this heavily change it must be documented on a prominent location or the next release must have a kind of change or fix. Just my 2 cents! ;-)

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      ThatStudentGuy @Clemens
                      last edited by

                      @Clemens
                      Thanks for your answer. That was indeed the problem.

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

                        Hello,
                        I have successfully connect the LoPy to TTN. But when I try the ABP and OTAA code on other LoPy I don't see data in TTN device. and device status is never connect. I use "binascii.hexlify(lora.mac()).upper().decode('utf-8')" to get my device EUI to register my device in TTN. and use the key they generate to put in the example code.
                        I have already update the to device to 1.6.7.b1. What should I try to find the problem?

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          daniel
                          last edited by

                          @Movsun if you look at the OTAA example, you'll see that we are hardcoding the DEV_EUI:

                          # join a network using OTAA
                          lora.join(activation=LoRa.OTAA, auth=(dev_eui, app_eui, app_key), timeout=0)
                          

                          Do the join like this in order to use the MAC address of the LoPy as EUI:

                          lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key), timeout=0)
                          
                          M 1 Reply Last reply Reply Quote 0
                          • L Offline
                            livius @daniel
                            last edited by livius

                            @daniel
                            It looks like STA_AP mode work ok
                            and there is some issue with Windows10 system not Wipy itself
                            fixed by tip from @Colateral
                            https://forum.pycom.io/topic/679/ap-sta-mode/5

                            And another +
                            on 1.6.7 i do not see corruption of files compared to 1.6.3 version :)

                            think about people first, then computers

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rskoniec
                              last edited by rskoniec

                              Sometimes I see series of W (xxxxxxxxx) wifi: post pm rx bcn failed messages on my LoRaWAN Nano Gateway:

                              Push ack
                              Push ack
                              Push ack
                              W (147750288) wifi: post pm rx bcn failed
                              W (147750288) wifi: post pm rx bcn failed
                              Pull ack
                              Pull ack
                              Pull ack
                              

                              and Downlink timestamp error!, t_us: xxxxxxxxxx messages:

                              Push ack
                              Downlink timestamp error!, t_us: 4295216794
                              Pull rsp
                              Push ack
                              Downlink timestamp error!, t_us: 4295288926
                              Pull rsp
                              Pull ack
                              Push ack
                              Downlink timestamp error!, t_us: 4295280463
                              Pull rsp
                              Push ack
                              Pull ack
                              

                              I would like to know a little bit more about these.
                              Thank you in advance.

                              The machine is working as good as it's code.

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                daniel
                                last edited by

                                @rskoniec I'm also seeing those and I'm investigating the cause together with Espressif.

                                R 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Movsun @daniel
                                  last edited by

                                  @daniel Thank you, And if I want to use 250 khz bandwidth. which code should I modify in both the gateway and node?

                                  D 1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    rskoniec @daniel
                                    last edited by

                                    @daniel said in New firmware release 1.6.7.b1 (LoRaWAN Nano Gateway with TTN example!!):

                                    @rskoniec I'm also seeing those and I'm investigating the cause together with Espressif.

                                    OK, thank you @daniel I hope you'll find the cause of those.

                                    The machine is working as good as it's code.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      daniel @Movsun
                                      last edited by

                                      @Movsun just change the bandwidth (to make it 250 KHz) argument in the LoRa constructor for both LoPy's.

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jomifo Pybytes Beta @daniel
                                        last edited by

                                        @daniel +1 to see code adapted for US frequencies.

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          Colateral
                                          last edited by

                                          Hello Daniel,

                                          You promised weeks ago (around build 1.3.0) that you will enable frozen bytecode. When this will happen?

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            johncaipa
                                            last edited by

                                            Is there anyone who has tested how many nodes could be received in practice with the nano-gateway?

                                            C 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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom