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

    ESPNOW master/slave chage slave/master

    PROJECTS
    4
    6
    5.3k
    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.
    • F
      frangimeno2000
      last edited by

      Hello friends, I have a query, I want to make a network with multiple esp32. Basically it would be like this:

      MASTER1---send data to slave1--> SLAVE1 (receive data from master1)

      (SLAVE1 becomes master and sends the information to slave2)
      SLAVE1---send data to slave2--> SLAVE2 (receive data from slave2)

      And so on...

      Is it possible to convert a slave into a master so that it sends the information to the next one?

      Greetings and thank you
      Fran

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT
        teastain @frangimeno2000
        last edited by

        @frangimeno2000 Yes.
        ESPNOW easily runs in Peer-to-Peer mode, so there is no need for master/slave or server/client configuration.
        I put up an example on GitHub:
        https://github.com/teastainGit/ESP_NOWpeer2peer

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        1 Reply Last reply Reply Quote 0
        • M
          macsbug
          last edited by macsbug

          Hello @frangimeno2000

          You can see the case of ESO-NOW below.

          RANDOM NEAD TUTORIALS: ESO-NOW
          https://randomnerdtutorials.com/?s=ESP-NOW

          1 Reply Last reply Reply Quote 0
          • F
            frangimeno2000
            last edited by frangimeno2000

            Ok friends I already have it, I had not seen these manuals. Thank you

            1 Reply Last reply Reply Quote 0
            • L
              louishaiyen
              last edited by

              @frangimeno2000 Can you share the solution with me? I'm also looking to solve this problem

              1 Reply Last reply Reply Quote 0
              • L
                louishaiyen
                last edited by

                ...

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