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

    Firmware release 1.0.1.b1

    Scheduled Pinned Locked Moved Announcements & News
    28 Posts 9 Posters 8.7k 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.
    • J Offline
      jmarcelino
      last edited by

      Looking good! Finally my SiPy + LoPy order seems to be shipping so will get to play with that new Bluetooth goodness soon :-)

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

        It looks very promising
        all my code work stable in this version - i know not long test but work ok

        connected WiPy to computer and send sensor data
        [2016-12-22 23:50:12] Recived: [Button1 is Off]
        [2016-12-22 23:50:00] Recived: [Button1 is On]
        [2016-12-22 23:45:22] Connect: 192.168.1.110[6933]
        [2016-12-22 23:44:43] Server started

        really simple to accomplish

        think about people first, then computers

        1 Reply Last reply Reply Quote 0
        • rcolisteteR Offline
          rcolistete
          last edited by

          The download link (https://www.pycom.io/support/supportdownloads/, Firmware update) for Linux points to v1.0.0.b2, for Windows points to v1.0.0.b1.

          My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

          L D 2 Replies Last reply Reply Quote 0
          • L Offline
            livius @rcolistete
            last edited by livius

            @rcolistete
            but updater tool download data online

            @daniel
            When AP+STA - i need it to create "Sensor Gateway"
            Now i simulate it and change mode after recived some portion of data
            and connect as STA.
            After data sended back to AP mode.

            what is this?
            OSError: [Errno 9] EBADF

            think about people first, then computers

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

              The bluetooth.start_scan(x > 0) interface may prove to be an issue for eventual deep sleep support... Not sure if there's a "better" way or not. The example under resolve_adv_data somewhat shows an issue. There's no way to break out of the loop once the scan finishes.

              How many advertisements are cached? That should at least be documented.

              I'll try to think of a more deterministic API, but I'm overloaded.

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

                @rcolistete it doesn't matter. What's important is that just before flashing the board the updeter tool reports the correct version of the firmware that it's going to program.

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

                  @jasonriedy it caches 8 adv messages. I'll add that to the docs. In the future the API will also support registering callbacks.

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jasonriedy @daniel
                    last edited by

                    @daniel Thank you! Unfortunately, some environments see MANY BLE advertisements, so a call-back (possibly filtering by an array of addresses) would be great.

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

                      @livius AP+STA is planned for early january after getting the BLE API complete.

                      That OSError means that you are trying to perform a socket operation on an invalid socket (one that is already closed). Probably you are trying to re-use a socket that was active before you switched between AP and STA mode or viceversa. Close your sockets before switching modes and open them again afterwards.

                      Cheers,
                      Daniel

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

                        It also seems the Mac version points to 1.0.0.b1

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sakis @TravisT
                          last edited by

                          @TravisT

                          Most likely the download link was not updated. The only way to be sure is by checking the output of os.uname()

                          T 1 Reply Last reply Reply Quote 0
                          • T Offline
                            TravisT @sakis
                            last edited by

                            @sakis

                            Thanks but I unfortunately I am currently in the land of poor internet (Philippines) and that could be a 45min experiment.

                            It would be nice to know for sure and resolve any confusion for others as well.

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sakis @TravisT
                              last edited by

                              @TravisT

                              I see. I'll try the macOS update myself and let you know for sure here

                              T 1 Reply Last reply Reply Quote 0
                              • T Offline
                                TravisT @sakis
                                last edited by

                                @sakis
                                Sorry, I was hoping this was a quick link check, not a download and actual test. I appreciate the time.

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sakis
                                  last edited by sakis

                                  @TravisT

                                  No problem. I just tested it and it is the right version:

                                  (sysname='LoPy', nodename='LoPy', release='1.0.1.b1', version='v1.8.6-264-gadacebe on 2016-12-22', machine='LoPy with ESP32')
                                  
                                  T 1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TravisT @sakis
                                    last edited by

                                    @sakis
                                    Thank you sir!

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

                                      @daniel
                                      can you add to updater tool option to use files from dir not from internet?
                                      e.g.

                                      1. i can transfer all files to pendrive and go to computer without internet connection and update my board
                                      2. i can change something in source code and do custom make
                                        and need to flash it to the board
                                        previously i do this simple by replace files in "updater" folder and run updater tool

                                      think about people first, then computers

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

                                        @daniel
                                        I set my Lopy to WLAN.STA mode and connect it with the router, then i ping it's IP address on my computer successfully.
                                        But if there is a way i can ping the IP address of my computer on the Lopy.
                                        If and how i can save any data to the flash?

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

                                          @DongYin said in Firmware release 1.0.1.b1:

                                          If and how i can save any data to the flash?

                                          you can write files to the `\flash' folder without any problem

                                          think about people first, then computers

                                          D 1 Reply Last reply Reply Quote 1
                                          • R Offline
                                            Ralph
                                            last edited by Ralph

                                            @livius, before Daniel replies, let me add that (if you didn't know this already,) you can still update your board manually by placing the bin file in the /sys directory on the board itself using FTP, then rebooting the board. Your idea of making it an option in the updater would probably be better, but until that happens, you can do it this way.

                                            Edit: This works even nicer:
                                            make BOARD=LOPY ESPPORT=/dev/ttyUSB0 flash

                                            L 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
                                            • 2 / 2
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom