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

    transfering data from lopy to lopy over wifi

    Scheduled Pinned Locked Moved LoPy
    lopy wifi
    3 Posts 2 Posters 1.1k Views 2 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.
    • D Offline
      dhk111
      last edited by

      hello, I am new to this.
      can anyone plz tell me how to connect one lopy to another lopy by wifi and transferring data? or tell me some reading material?

      1 Reply Last reply Reply Quote 0
      • sebS Offline
        seb
        last edited by

        You will need to put one LoPy into access point mode (if you haven't changed anything on your device, it should boot up in access point mode) and then connect the second one as you would connect it to any other WiFi network. Once they are connected you can use sockets to send data between them. The micropython documentation have some example of this: http://docs.micropython.org/en/v1.9.2/esp8266/esp8266/tutorial/network_tcp.html
        Standard python code should also work as long as you don't try to do anything too fancy.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dhk111 @seb
          last edited by

          @seb thank you

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

          Pycom on Twitter

          Pycom