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 version v1.7.9.b3 (LoRaWAN ABP bug fixed)

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    22 Posts 9 Posters 9.8k Views 9 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.
    • C Offline
      chumelnicu @chumelnicu
      last edited by

      @chumelnicu I talking about what is posted here "New firmware release version v1.7.9.b2" . I did not try yet to upgrade , that is the reason for i have asking 3 hours ago id APB bug is fixed.

      Thank you for info and ill try to update the new firmware !!!

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

        recvfrom() returns a strange port number when no data received:

        0_1502439433467_upload-800d9d4e-4fd2-4930-bdd5-e9a9704d8faa

        Otherwise it is OK, correct port number returned when data received. 0 or -1 would be better, but it is cosmetic, doesn't influence usability of the method.

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

          @bmarkus thanks. This should fix it:

          https://github.com/pycom/pycom-micropython-sigfox/commit/87df833936741675caa96e7ffcb8ba846e2ab4b9

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

            Nice update!

            @daniel said in New firmware release version v1.7.9.b3 (LoRaWAN ABP bug fixed):

            esp32: Add recvfrom method to LoRa sockets returning: (data, port).

            Is it still possible to receive downlinks on any socket, no matter which port it's bound to? If yes, is it planned to change that in the future?

            esp32: Add WiFi on boot API.

            That sounds interesting. Where can I find more information about that?

            esp32: Improve LoRaWAN NVS handling.

            Does that entail any user-facing change?

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

              @dbrgn said in New firmware release version v1.7.9.b3 (LoRaWAN ABP bug fixed):

              Is it still possible to receive downlinks on any socket, no matter which port it's bound to?

              socket.bind() - perhaps confusingly - sets the uplink port (i.e. port set in packets you send)

              There is no method to bind the socket to a downlink port, I guess you should filter out based on the port returned from recvfrom

              esp32: Add WiFi on boot API.

              See pycom.wifi_on_boot([enable])

              I would like to know if when wifi_on_boot is disabled does the module still run the power hungry RF calibration step (causing those current spikes at boot). I will test this over the weekend.

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

                Tested following LoRaWAN fixes:

                • snr in lora.stats()
                • downlink to port 2-223
                • reporting MAC Battery Level
                • recvfrom()

                These work fine, thank you Daniel and team.

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

                  @bmarkus excellent, thanks for the feedback :-)

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

                    How does one get that List returned? And whats the format on it?

                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      livius @redimo
                      last edited by

                      @redimo
                      about what list are you talking about?

                      think about people first, then computers

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

                        @redimo do you mean bluetooth.get_advertisements() (https://docs.pycom.io/chapter/firmwareapi/pycom/network/bluetooth/)?

                        The elements in the list has the same format as the named tuple returned by bluetooth.get_adv()

                        1 Reply Last reply Reply Quote 0
                        • O Offline
                          ozeta
                          last edited by

                          @daniel said in New firmware release version v1.7.9.b3 (LoRaWAN ABP bug fixed):

                          esp32: Add WiFi on boot API.

                          can you explain this?

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

                            @ozeta have a look here: https://docs.pycom.io/chapter/firmwareapi/pycom/pycom.html it allows to disable/enable the behaviour that configures the WLAN in Access Point mode right after boot. This reduces the boot time and current consumption when WiFi is not needed.

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

                              @daniel What happens if you call wlan = WLAN(); wlan.deinit() when wifi on boot is disabled? Nothing, right? Or does the constructor call allocate / initialize some resources again?

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

                                @dbrgn WiFi can always be enabled afterwards. The wifi on boot API only affects the behaviour during start up. If you call that specific sequence nothing will happen (calling WLAN() without params just returns the object).

                                Cheers,
                                Daniel

                                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