transfering data from lopy to lopy over wifi
-
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? -
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. -
@seb thank you
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