<?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[[fixed]atomlite 1.9.7 name &#x27;wlan&#x27; isn&#x27;t defined]]></title><description><![CDATA[<p dir="auto">if i use the original network functions  i get:</p>
<p dir="auto">Traceback (most recent call last):<br />
File "flow/m5cloud.py", line 82, in _exec_fun<br />
File "&lt;string&gt;", line 39, in &lt;module&gt;<br />
NameError: name 'wlan' isn't defined<br />
i want to check what ip adress etc is set.</p>
<p dir="auto">all original network functions dont work. Smart config the same</p>
]]></description><link>https://community.m5stack.com/topic/4338/fixed-atomlite-1-9-7-name-wlan-isn-t-defined</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 12:21:41 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4338.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Jun 2022 11:00:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [fixed]atomlite 1.9.7 name &#x27;wlan&#x27; isn&#x27;t defined on Sun, 05 Jun 2022 08:48:07 GMT]]></title><description><![CDATA[<p dir="auto">wlan = network.WLAN(network.STA_IF) is <img src="/assets/uploads/files/1654418854823-a0cdea9b-ae52-4361-82e6-68b7f114500a-image.png" alt="0_1654418854491_a0cdea9b-ae52-4361-82e6-68b7f114500a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">i didnt used create station interface because of that wlan wasnt defined!</p>
]]></description><link>https://community.m5stack.com/post/17647</link><guid isPermaLink="true">https://community.m5stack.com/post/17647</guid><dc:creator><![CDATA[mm-uiflow]]></dc:creator><pubDate>Sun, 05 Jun 2022 08:48:07 GMT</pubDate></item><item><title><![CDATA[Reply to [fixed]atomlite 1.9.7 name &#x27;wlan&#x27; isn&#x27;t defined on Sun, 05 Jun 2022 08:44:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> said in <a href="/post/17644">atomlite 1.9.7 name 'wlan' isn't defined</a>:</p>
<blockquote>
<p dir="auto">wlan = network.WLAN(network.STA_IF)<br />
print(wlan.ifconfig())</p>
</blockquote>
<p dir="auto">if i just use the python code like you it works.  Maybe i should create a custom block for that</p>
]]></description><link>https://community.m5stack.com/post/17646</link><guid isPermaLink="true">https://community.m5stack.com/post/17646</guid><dc:creator><![CDATA[mm-uiflow]]></dc:creator><pubDate>Sun, 05 Jun 2022 08:44:22 GMT</pubDate></item><item><title><![CDATA[Reply to [fixed]atomlite 1.9.7 name &#x27;wlan&#x27; isn&#x27;t defined on Sat, 04 Jun 2022 13:08:00 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/mm-uiflow" aria-label="Profile: mm-uiflow">@<bdi>mm-uiflow</bdi></a></p>
<p dir="auto">I've tried UiFlow firmware 1.9.7 and 1.9.8 and with below commands (copied from the Python tab in <a href="http://flow.m5stack.com" target="_blank" rel="noopener noreferrer nofollow ugc">flow.m5stack.com</a>) I can print IP address etc.</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
import network

wlan = network.WLAN(network.STA_IF)
print(wlan.ifconfig())
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17644</link><guid isPermaLink="true">https://community.m5stack.com/post/17644</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 04 Jun 2022 13:08:00 GMT</pubDate></item></channel></rss>