<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LoPy use WIFI to communicate with Computer]]></title><description><![CDATA[<p dir="auto">Hello<br />
i am a beginner of LoPy, i am now trying do to a project that use LoPy connect to the same WiFi as my computer.<br />
i want to achieve  that both device using TCP/IP or any other<br />
methon to communicate, when my LoPy receive any message from my computer, i can send it using LoRa to another LoPy.<br />
Any source code i can using  to try out<br />
Thanks for help and reply!!</p>
]]></description><link>https://forum.pycom.io/topic/1862/lopy-use-wifi-to-communicate-with-computer</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 18:44:11 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/1862.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Sep 2017 09:24:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LoPy use WIFI to communicate with Computer on Wed, 27 Sep 2017 09:24:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello<br />
i am a beginner of LoPy, i am now trying do to a project that use LoPy connect to the same WiFi as my computer.<br />
i want to achieve  that both device using TCP/IP or any other<br />
methon to communicate, when my LoPy receive any message from my computer, i can send it using LoRa to another LoPy.<br />
Any source code i can using  to try out<br />
Thanks for help and reply!!</p>
]]></description><link>https://forum.pycom.io/post/11420</link><guid isPermaLink="true">https://forum.pycom.io/post/11420</guid><dc:creator><![CDATA[150716T]]></dc:creator><pubDate>Wed, 27 Sep 2017 09:24:20 GMT</pubDate></item><item><title><![CDATA[Reply to LoPy use WIFI to communicate with Computer on Wed, 27 Sep 2017 15:09:40 GMT]]></title><description><![CDATA[<p dir="auto">I cannot supply a complete solution to you, but I just started tinkering around with with wifi on the LoPy the other night. I'm learning one step at a time and this is what I learned so far.</p>
<p dir="auto">SSID = 'yourwifiSSID'<br />
AUTH = 'yourWPA2password'<br />
wlan = WLAN(mode=WLAN.STA)                  #Set wlan mode to station<br />
wlan.mode()                                                     #Check what mode is running on wlan.<br />
nets = wlan.scan()                                        # Scan for networks and list them in<br />
print(nets)                                                     #Print available networks</p>
<p dir="auto">wlan.connect(SSID, auth=(WLAN.WPA2, AUTH), timeout=5000)          #Connect<br />
if (wlan.isconnected()):                                                                               #Returns true<br />
print(&quot;Connected to wifi&quot;)</p>
]]></description><link>https://forum.pycom.io/post/11426</link><guid isPermaLink="true">https://forum.pycom.io/post/11426</guid><dc:creator><![CDATA[Stroggo]]></dc:creator><pubDate>Wed, 27 Sep 2017 15:09:40 GMT</pubDate></item><item><title><![CDATA[Reply to LoPy use WIFI to communicate with Computer on Thu, 28 Sep 2017 00:51:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/787">@stroggo</a> thanks, i am able to connect my LoPy with the WiFi, i am thinking how to make it communicate  with my computer in the same WiFi environment.</p>
]]></description><link>https://forum.pycom.io/post/11432</link><guid isPermaLink="true">https://forum.pycom.io/post/11432</guid><dc:creator><![CDATA[150716T]]></dc:creator><pubDate>Thu, 28 Sep 2017 00:51:21 GMT</pubDate></item></channel></rss>