<?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[wlan.isconnected() in AP mode - still not working]]></title><description><![CDATA[<p dir="auto">I am experiencing the same problem as was posted before:<br />
<a href="/topic/618/wlan-isconnected-in-ap-mode">wlan.isconnected() in AP mode</a>     (2 years ago)<br />
<a href="/post/20727">wlan.isconnected() always False in AP mode.</a> (7 months ago)<br />
<a href="/post/24198">wlan.isconnected() not working in AP mode</a> (21 days ago)</p>
<p dir="auto">Here is what I am doing with my W01 module (connected to REPL via serial) after power on:</p>
<pre><code>&gt;&gt;&gt; # WLAN was disabled by wlan.deinit() before
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; from network import WLAN
&gt;&gt;&gt; wlan=WLAN(mode=WLAN.AP, ssid='mywlan')
&gt;&gt;&gt; # 'mywlan' appears on the list of available networks of the PC
&gt;&gt;&gt; wlan.isconnected()
False
&gt;&gt;&gt; # this is correct since not connected yet
&gt;&gt;&gt; # now I connect with PC to 'mywlan'
&gt;&gt;&gt; wlan.isconnected()
False
&gt;&gt;&gt; # this is INCORRECT since PC is connected to 'mywlan'
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; import uos
&gt;&gt;&gt; uos.uname()
(sysname='WiPy', nodename='WiPy', release='1.18.0.r1', version='v1.8.6-849-9569a73 on 2018-07-20', machine='WiPy with ESP32', pybytes='0.9.0')
&gt;&gt;&gt;
</code></pre>
<p dir="auto">What could be wrong with this?<br />
Any other way to detect connected devices?<br />
<a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2032">@dan</a>: there is no further code in my case<br />
<a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/57">@Paul</a> Thorton: the PC is indeed connected, it is possible to operate via FileZilla or PuTTY</p>
<p dir="auto">Thank you in advance for help!<br />
Happy New Year!</p>
]]></description><link>https://forum.pycom.io/topic/4174/wlan-isconnected-in-ap-mode-still-not-working</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 20:11:54 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/4174.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Jan 2019 19:17:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to wlan.isconnected() in AP mode - still not working on Tue, 01 Jan 2019 19:17:38 GMT]]></title><description><![CDATA[<p dir="auto">I am experiencing the same problem as was posted before:<br />
<a href="/topic/618/wlan-isconnected-in-ap-mode">wlan.isconnected() in AP mode</a>     (2 years ago)<br />
<a href="/post/20727">wlan.isconnected() always False in AP mode.</a> (7 months ago)<br />
<a href="/post/24198">wlan.isconnected() not working in AP mode</a> (21 days ago)</p>
<p dir="auto">Here is what I am doing with my W01 module (connected to REPL via serial) after power on:</p>
<pre><code>&gt;&gt;&gt; # WLAN was disabled by wlan.deinit() before
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; from network import WLAN
&gt;&gt;&gt; wlan=WLAN(mode=WLAN.AP, ssid='mywlan')
&gt;&gt;&gt; # 'mywlan' appears on the list of available networks of the PC
&gt;&gt;&gt; wlan.isconnected()
False
&gt;&gt;&gt; # this is correct since not connected yet
&gt;&gt;&gt; # now I connect with PC to 'mywlan'
&gt;&gt;&gt; wlan.isconnected()
False
&gt;&gt;&gt; # this is INCORRECT since PC is connected to 'mywlan'
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; import uos
&gt;&gt;&gt; uos.uname()
(sysname='WiPy', nodename='WiPy', release='1.18.0.r1', version='v1.8.6-849-9569a73 on 2018-07-20', machine='WiPy with ESP32', pybytes='0.9.0')
&gt;&gt;&gt;
</code></pre>
<p dir="auto">What could be wrong with this?<br />
Any other way to detect connected devices?<br />
<a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2032">@dan</a>: there is no further code in my case<br />
<a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/57">@Paul</a> Thorton: the PC is indeed connected, it is possible to operate via FileZilla or PuTTY</p>
<p dir="auto">Thank you in advance for help!<br />
Happy New Year!</p>
]]></description><link>https://forum.pycom.io/post/24572</link><guid isPermaLink="true">https://forum.pycom.io/post/24572</guid><dc:creator><![CDATA[Rustydusty]]></dc:creator><pubDate>Tue, 01 Jan 2019 19:17:38 GMT</pubDate></item><item><title><![CDATA[Reply to wlan.isconnected() in AP mode - still not working on Tue, 01 Jan 2019 21:04:49 GMT]]></title><description><![CDATA[<p dir="auto">Not sure if I'm looking at the right code, but it looks like the <a href="https://github.com/pycom/pycom-micropython-sigfox/blob/d1c5ea900b94fb62890742b54fa0b249b93c9f96/esp32/mods/modwlan.c#L914" target="_blank" rel="noopener noreferrer nofollow">implementation for esp32</a> lacks code for AP mode. Compare with <a href="https://github.com/pycom/pycom-micropython-sigfox/blob/4481a1c283be97640592ea2a0440830e336064de/esp8266/modnetwork.c#L204" target="_blank" rel="noopener noreferrer nofollow">esp8266 implementation</a>.</p>
]]></description><link>https://forum.pycom.io/post/24574</link><guid isPermaLink="true">https://forum.pycom.io/post/24574</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Tue, 01 Jan 2019 21:04:49 GMT</pubDate></item><item><title><![CDATA[Reply to wlan.isconnected() in AP mode - still not working on Fri, 04 Jan 2019 14:39:41 GMT]]></title><description><![CDATA[<p dir="auto">Looks like <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2909">@mfalkvidd</a> may be correct. Ill raise issue this in the next standup</p>
]]></description><link>https://forum.pycom.io/post/24634</link><guid isPermaLink="true">https://forum.pycom.io/post/24634</guid><dc:creator><![CDATA[Paul Thornton]]></dc:creator><pubDate>Fri, 04 Jan 2019 14:39:41 GMT</pubDate></item><item><title><![CDATA[Reply to wlan.isconnected() in AP mode - still not working on Fri, 04 Jan 2019 15:53:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2909">@mfalkvidd</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3525">@Paul-Thornton</a><br />
thank you for taking care of this!<br />
I am looking forward to a solution as soon as possible. Not only my project strongly depends on this function as it is a rather basic functionality. At least, I could not find any alternative way of detecting connected devices in AP mode.</p>
]]></description><link>https://forum.pycom.io/post/24637</link><guid isPermaLink="true">https://forum.pycom.io/post/24637</guid><dc:creator><![CDATA[Rustydusty]]></dc:creator><pubDate>Fri, 04 Jan 2019 15:53:43 GMT</pubDate></item></channel></rss>