🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ESP NOW send not working in 1.6.1

    Bug Report
    3
    10
    11.8k
    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.
    • A
      ardo
      last edited by ardo

      Not sure if this belongs here (only bug related area i can find)

      ESP NOWis not working properly in firmware 1.6.1
      I tested this on m5stickC and core basic, it only works on firmware 1.4.5, not on later versions
      in fact its the sending that gives an "interface error", receiving seems to work fine

      (I'm using UIFlow btw)

      1 Reply Last reply Reply Quote 0
      • IAMLIUBOI
        IAMLIUBO
        last edited by

        Hi @ardo ,

        I just test it with StickC and Core basic,It work well in firmware V1.6.1.Can you show your "blocks" with us?

        0_1596072050293_ESPnow-test.jpg

        A 1 Reply Last reply Reply Quote 0
        • A
          ardo @IAMLIUBO
          last edited by

          @iamliubo

          Hi, this program works perfectly in 1.4.5, here's what gives in 1.6.1:
          If I take out the "send" block, it works, it receives msgs

          0_1596087682717_Annotation 2020-07-30 01.png
          0_1596087715495_ESPNOW IMG_01.JPG
          0_1596087725042_ESPNOW IMG_02.JPG

          1 Reply Last reply Reply Quote 0
          • IAMLIUBOI
            IAMLIUBO
            last edited by

            Hi @ardo ,

            Can you share your m5f file with us?
            0_1596091291450_9be11031-2f0f-4042-b672-efb18919355f-image.png

            A 1 Reply Last reply Reply Quote 0
            • A
              ardo @IAMLIUBO
              last edited by

              @iamliubo

              Sure, but how would I upload an m5f ?

              IAMLIUBOI 1 Reply Last reply Reply Quote 0
              • IAMLIUBOI
                IAMLIUBO @ardo
                last edited by

                Hi @ardo ,
                You can send it to us the official support email.

                Official support email addr: support@m5stack.com

                A 1 Reply Last reply Reply Quote 0
                • A
                  ardo @IAMLIUBO
                  last edited by

                  @iamliubo
                  Ah, ok; file sent.

                  thanks for investigating this.

                  m5stackM 1 Reply Last reply Reply Quote 0
                  • m5stackM
                    m5stack @ardo
                    last edited by

                    @ardo thank you feedback this bug. we will fix this bug as soon as possible ,

                    you could follow this operation let the code runing.

                    use online UIflow to open the program file , and runing

                    or

                    offline version need add wifiCfg.wlan_sta.active(True) in the python code. (next to wifiCfg.wlan_ap.active(True))

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      ardo @m5stack
                      last edited by ardo

                      @m5stack
                      And thank you for looking into this and the quick workaround
                      (It also seems to work when I put that line in an "Execute" block)

                      However...
                      While you are fixing this, you might also have to take a look at the "After send message" block, now that I've got the send working again, it looks to me this block does not return a value.(it did in 1.4.5) I can again provide an m5f file if you'd need it.

                      m5stackM 1 Reply Last reply Reply Quote 0
                      • m5stackM
                        m5stack @ardo
                        last edited by

                        @ardo ok thank you again.. we will fix these bug in next version. have nice day.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post