<?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[ATOMDTU UIFlow Error]]></title><description><![CDATA[<p dir="auto">I got this error un UIFlow with your ATOMDTU sample program:</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 41, in &lt;module&gt;<br />
File "libs/simcom/common.py", line 156, in get_network_registration<br />
ValueError: need more than 1 values to unpack</p>
]]></description><link>https://community.m5stack.com/topic/3623/atomdtu-uiflow-error</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 03:15:46 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3623.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Oct 2021 17:16:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ATOMDTU UIFlow Error on Thu, 07 Oct 2021 13:48:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/mtal" aria-label="Profile: MTal">@<bdi>MTal</bdi></a></p>
<p dir="auto">upon closer look I don't see how waiting while <code>Check network registration &lt; 6</code> would make any sense. The command, I guess that it issues, is: <code>AT+CREG</code> which would yield something like: <code>+CREG: 0, 1</code> if connected to the home network or <code>+CREG: 0, 5</code> in case of roaming.</p>
<p dir="auto">You could add a <code>print</code> of the result code of <code>check network registration</code> to see the value you get. If it's 1 or 5 then the modem is registered to the network and you could change the code accordingly.</p>
<p dir="auto">BTW: Interestingly on the product page there is a Chinese version of the UIFlow code which omits the registration check. (I wonder why.)</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15074</link><guid isPermaLink="true">https://community.m5stack.com/post/15074</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 07 Oct 2021 13:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to ATOMDTU UIFlow Error on Thu, 07 Oct 2021 10:48:07 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> Hello, thank you for your help! If I move the block as you say, it does nothing. Serial monitor doesn't even show the OK after that block. (see attached)</p>
<p dir="auto"><img src="/assets/uploads/files/1633603658063-sshot-resized.png" alt="0_1633603655470_sshot.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/15072</link><guid isPermaLink="true">https://community.m5stack.com/post/15072</guid><dc:creator><![CDATA[MTal]]></dc:creator><pubDate>Thu, 07 Oct 2021 10:48:07 GMT</pubDate></item><item><title><![CDATA[Reply to ATOMDTU UIFlow Error on Thu, 07 Oct 2021 06:31:42 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/mtal" aria-label="Profile: MTal">@<bdi>MTal</bdi></a></p>
<p dir="auto">I assume you're trying the MQTT Test <a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/m5f/DTU/ATOM-DTU-NB-MQTT.m5f" target="_blank" rel="noopener noreferrer nofollow ugc">example</a>? Yes?</p>
<p dir="auto">I think the command <code>Check network registration</code> is confused about the echo sent from the modem.</p>
<p dir="auto">Try moving the command <code>Set command echo mode off</code> before the command <code>Check network registration</code>. E.g. move it right after the command <code>Check module status</code>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15071</link><guid isPermaLink="true">https://community.m5stack.com/post/15071</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 07 Oct 2021 06:31:42 GMT</pubDate></item></channel></rss>