<?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[Atom DTU NB-IoT2 issues.]]></title><description><![CDATA[<p dir="auto">I list a number of issues I'm experiencing with the new NB-IOT2 module.</p>
<p dir="auto">Tests were done on two Atom DTU modules, both showing the same issues.</p>
<ol>
<li>
<p dir="auto">The serial port of the Simcom 7028 NB-IoT module becomes unresponsive, that is, it accepts commands but does not respond.</p>
</li>
<li>
<p dir="auto">The examples provided for Arduino do not work (http, mqtt etc)</p>
</li>
<li>
<p dir="auto">GPIO Hardware Errors</p>
</li>
<li>
<p dir="auto">A reset pin that does not exist is defined</p>
</li>
</ol>
<pre><code>
#define ATOM_DTU_SIM7028_EN 12 // ?? Atom S3 has not G12 !!

</code></pre>
<p dir="auto">and</p>
<pre><code>#define ATOM_DTU_SIM7028_RESET -1   // ?? what reset it performs ?
</code></pre>
<p dir="auto">So it is not clear how to reset the Simcom SIM7028 modem.</p>
<ol start="5">
<li>
<p dir="auto">When trying to run the http example, the modem goes into search mode and no longer returns. From now on, it is no longer possible to access the modem.</p>
</li>
<li>
<p dir="auto">There is no schematic of the Atom S3 Lite module, only the pinout.</p>
</li>
<li>
<p dir="auto">M5burner does not register the Atom S3 module and UIFlow2 does not work on macOS.</p>
</li>
</ol>
<p dir="auto">It would be really great if M5Stack engineers tried testing on macOS (Apple Silicon) and published an how-to.</p>
<p dir="auto">Thx All</p>
]]></description><link>https://community.m5stack.com/topic/6706/atom-dtu-nb-iot2-issues</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 21:59:54 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6706.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Aug 2024 14:10:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Thu, 29 Aug 2024 05:33:14 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> It works in a totally random way, sometimes it gets the answer to the 'GET' and then it enters an infinite loop:</p>
<pre><code> AT+CIPRXGET=4,0
07:25:49.725 &gt; 
07:25:49.727 &gt; +CIPRXGET: 4,0,0
07:25:49.727 &gt; 
07:25:49.727 &gt; OK
07:25:49.727 &gt; AT+CIPCLOSE?
07:25:49.734 &gt; 
07:25:49.735 &gt; +CIPCLOSE: 0,0
07:25:49.735 &gt; 
07:25:49.735 &gt; OK
07:25:50.219 &gt; AT+CIPRXGET=4,0
07:25:50.226 &gt; 
07:25:50.226 &gt; +CIPRXGET: 4,0,0
07:25:50.227 &gt; 
07:25:50.227 &gt; OK
07:25:50.228 &gt; AT+CIPCLOSE?
07:25:50.234 &gt; 
07:25:50.234 &gt; +CIPCLOSE: 0,0
07:25:50.236 &gt; 
07:25:50.236 &gt; OK
07:25:50.720 &gt; AT+CIPRXGET=4,0
07:25:50.727 &gt; 
07:25:50.728 &gt; +CIPRXGET: 4,0,0
07:25:50.728 &gt; 
07:25:50.728 &gt; OK
07:25:50.728 &gt; AT+CIPCLOSE?
07:25:50.736 &gt; 
07:25:50.736 &gt; +CIPCLOSE: 0,0
07:25:50.736 &gt; 
07:25:50.737 &gt; OK
07:25:51.221 &gt; AT+CIPRXGET=4,0
07:25:51.229 &gt; 
07:25:51.230 &gt; +CIPRXGET: 4,0,0
07:25:51.230 &gt; 
07:25:51.230 &gt; OK
07:25:51.230 &gt; AT+CIPCLOSE?
07:25:51.237 &gt; 
07:25:51.237 &gt; +CIPCLOSE: 0,0
07:25:51.238 &gt; 
07:25:51.238 &gt; OK
07:25:51.722 &gt; AT+CIPRXGET=4,0
07:25:51.730 &gt; 
07:25:51.731 &gt; +CIPRXGET: 4,0,0
</code></pre>
<p dir="auto">However, the library must be  modified to be able to obtain a communication as it does not connect with the original commands.<br />
I think the nb-iot command set in LTE is  wrong.</p>
<p dir="auto">It is also my opinion that an nb-iot device without a hardware reset cannot be used seriously.</p>
<p dir="auto">Thanks for the helping.</p>
]]></description><link>https://community.m5stack.com/post/26266</link><guid isPermaLink="true">https://community.m5stack.com/post/26266</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Thu, 29 Aug 2024 05:33:14 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Fri, 23 Aug 2024 12:43:41 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cocoa" aria-label="Profile: cocoa">@<bdi>cocoa</bdi></a></p>
<p dir="auto">if you want to use NB-IoT mode I found you'll need to un-comment the define in <code>TinyGsmClientSIM7028.h</code> line 32 as well.</p>
<pre><code>#define MODE_NB_IOT      //Comment this macro definition when using CAT mode
</code></pre>
<p dir="auto">BTW: CAT mode (e.g. not NB-IoT mode) works for me too.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26210</link><guid isPermaLink="true">https://community.m5stack.com/post/26210</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 23 Aug 2024 12:43:41 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Fri, 23 Aug 2024 10:57:28 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> ,</p>
<p dir="auto">I changed the header by inserting your change, but behavior uk the same of the previous on.</p>
<p dir="auto">I edited the file using CEREG instead of CREG.</p>
<p dir="auto">Something has changed but it is not yet possible to run the http example.</p>
<pre><code>11:51:23.983 &gt; AT+CICCID
11:51:23.983 &gt; 
11:51:23.983 &gt; ERROR
11:51:23.983 &gt; CCID: ERROR
11:51:23.983 &gt; AT+CSQ
11:51:23.988 &gt; 
11:51:23.989 &gt; +CSQ: 24,0
11:51:23.989 &gt; 
11:51:23.989 &gt; OK
11:51:23.989 &gt; Signal quality: 24
11:51:23.990 &gt; Initializing modem...
11:51:23.990 &gt; [  1689][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
11:51:23.996 &gt; E (1581) gpio: gpio_set_level(227): GPIO output gpio_num error
11:51:24.297 &gt; E (1882) gpio: gpio_set_level(227): GPIO output gpio_num error
11:51:29.297 &gt; AT
11:51:29.300 &gt; 
11:51:29.300 &gt; OK
11:51:29.300 &gt; ATE0
11:51:29.304 &gt; 
11:51:29.304 &gt; OK
11:51:29.304 &gt; AT+CFUN=1
11:51:29.311 &gt; 
11:51:29.312 &gt; OK
11:51:29.312 &gt; AT+QCLEDMODE=1
11:51:29.316 &gt; 
11:51:29.316 &gt; OK
11:51:29.317 &gt; AT+CMEE=0
11:51:29.320 &gt; 
11:51:29.321 &gt; OK
11:51:29.321 &gt; AT+CTZR=0
11:51:29.325 &gt; 
11:51:29.325 &gt; OK
11:51:29.325 &gt; AT+CTZU=1
11:51:29.329 &gt; 
11:51:29.329 &gt; OK
11:51:29.329 &gt; AT+CPIN?
11:51:29.335 &gt; 
11:51:29.335 &gt; +CPIN: READY
11:51:29.336 &gt; 
11:51:29.337 &gt; OK
11:51:29.337 &gt; Waiting for network...
11:51:29.337 &gt; AT+CEREG?
11:51:29.343 &gt; 
11:51:29.343 &gt; +CEREG: 0,5
11:51:29.344 &gt; 
11:51:29.344 &gt; OK
11:51:29.344 &gt; success
11:51:29.344 &gt; AT+IPADDR
11:51:29.352 &gt; 
11:51:29.352 &gt; +IP ERROR: Network not opened
11:51:29.355 &gt; 
11:51:29.355 &gt; ERROR
11:51:29.355 &gt; Device IP address: 
11:51:29.355 &gt; success
11:51:29.356 &gt; Performing HTTP GET request... AT+CIPCLOSE=0
11:51:29.363 &gt; 
11:51:29.364 &gt; +CIPCLOSE: 0,4
11:51:29.365 &gt; 
11:51:29.365 &gt; ERROR
11:51:29.365 &gt; AT+CIPRXGET=1
11:51:29.371 &gt; 
11:51:29.371 &gt; OK
11:51:29.371 &gt; AT+CIPOPEN=0,"TCP","api.m5stack.com",80
11:51:29.382 &gt; 
11:51:29.382 &gt; +CIPOPEN: 0,2
11:51:29.383 &gt; failed to connect
11:51:39.383 &gt; Performing HTTP GET request... 
11:51:39.383 &gt; ERROR
11:51:39.433 &gt; AT+CIPCLOSE=0
11:51:39.440 &gt; 
11:51:39.440 &gt; +CIPCLOSE: 0,4
11:51:39.441 &gt; 
11:51:39.441 &gt; ERROR
11:51:39.442 &gt; AT+CIPRXGET=1
11:51:39.447 &gt; 
11:51:39.448 &gt; OK
11:51:39.448 &gt; AT+CIPOPEN=0,"TCP","api.m5stack.com",80
11:51:39.458 &gt; 
11:51:39.458 &gt; +CIPOPEN: 0,2
11:51:39.459 &gt; failed to connect
11:51:49.460 &gt; Performing HTTP GET request... 
11:51:49.461 &gt; ERROR
11:51:49.510 &gt; AT+CIPCLOSE=0
11:51:49.517 &gt; 
11:51:49.518 &gt; +CIPCLOSE: 0,4
11:51:49.518 &gt; 
11:51:49.519 &gt; ERROR
11:51:49.519 &gt; AT+CIPRXGET=1
11:51:49.524 &gt; 
11:51:49.524 &gt; OK
11:51:49.525 &gt; AT+CIPOPEN=0,"TCP","api.m5stack.com",80
11:51:49.535 &gt; 
11:51:49.535 &gt; +CIPOPEN: 0,2
11:51:49.536 &gt; failed to connect
11:51:59.537 &gt; Performing HTTP GET request... 
</code></pre>
]]></description><link>https://community.m5stack.com/post/26206</link><guid isPermaLink="true">https://community.m5stack.com/post/26206</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Fri, 23 Aug 2024 10:57:28 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Wed, 21 Aug 2024 13:12:51 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cocoa" aria-label="Profile: cocoa">@<bdi>cocoa</bdi></a></p>
<p dir="auto">actually I changed my fix to include <code>sms only roaming</code> state e.g. <code>7</code> like this:</p>
<pre><code>//        return (s == REG_OK_HOME || s == REG_OK_ROAMING || s == REG_OK_SMS);
        return (s == REG_OK_HOME || s == REG_OK_ROAMING || s == REG_OK_SMS || s == REG_OK_SMS_ROAMING);
</code></pre>
<p dir="auto">The reason for that is that it seems to be a valid state for NB-IoT.</p>
<p dir="auto"><em>"7 Registered for "SMS only", roaming (applicable only when &lt;Act&gt;<br />
indicates NB-IOT"</em></p>
<p dir="auto">BTW: I've created a <a href="https://github.com/m5stack/TinyGSM/pull/2" target="_blank" rel="noopener noreferrer nofollow ugc">PR</a> to that effect.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26183</link><guid isPermaLink="true">https://community.m5stack.com/post/26183</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 21 Aug 2024 13:12:51 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Wed, 21 Aug 2024 06:54:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>,</p>
<p dir="auto">I think use <code>AT+CREG? </code> maybe it's not correct for NB-IoT connection on  LTE technology.</p>
<p dir="auto">Should the modem probably use <code>AT+CEREG? </code>.</p>
<p dir="auto">What do you think? Should something be changed in TinyGSM?</p>
<p dir="auto">Thx.</p>
]]></description><link>https://community.m5stack.com/post/26172</link><guid isPermaLink="true">https://community.m5stack.com/post/26172</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Wed, 21 Aug 2024 06:54:46 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Tue, 20 Aug 2024 16:24:06 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>,</p>
<p dir="auto">An interesting fact:</p>
<ul>
<li>
<p dir="auto">If I load the sample code you indicated the led of the modem continues to flash quickly without ever stopping , so it is correct to say that the modem is not connected .</p>
</li>
<li>
<p dir="auto">If I erase the flash with  the executable and restart the Atom DTU the modem after a few seconds connects autonomously with the cellular network.</p>
</li>
</ul>
<p dir="auto">Therefore there is something in the source code of the http example that prevents the modem from connecting.</p>
]]></description><link>https://community.m5stack.com/post/26169</link><guid isPermaLink="true">https://community.m5stack.com/post/26169</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Tue, 20 Aug 2024 16:24:06 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Tue, 20 Aug 2024 15:23:00 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cocoa" aria-label="Profile: cocoa">@<bdi>cocoa</bdi></a></p>
<p dir="auto">from the output <code>+CREG: 0,0</code> it looks like your modem is <strong>not</strong> registered to the network. According to the AT commands documentation, the second <code>0</code> in that answer means:</p>
<p dir="auto"><em>0 not registered, MT is not currently searching for an operator to register to</em></p>
<p dir="auto">You could try to manually issue a 'AT+CEREG?' command to see if that yields any better result. Like I mentioned above, 'AT+CREG' didn't work for me either.</p>
<p dir="auto">The other AT command to see if the modem is actually connected or not is <code>AT+COPS?</code>.</p>
<p dir="auto">If you get something like this: <code>+COPS: 1,2,"22801",9</code> it means your modem is connected. If you get: <code>+COPS: 0</code> it is <strong>not</strong> connected.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26165</link><guid isPermaLink="true">https://community.m5stack.com/post/26165</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 20 Aug 2024 15:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Tue, 20 Aug 2024 12:25:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>, sorry for delay.</p>
<p dir="auto">Here is the log with <code>#define DUMP_AT_COMMANDS </code> enabled .</p>
<pre><code class="language-text">

         Connected!
14:23:54.308 &gt; &gt;&gt;ATOM DTU NB MQTT TEST
14:23:54.308 &gt; AT+CICCID
14:23:54.308 &gt; 
14:23:54.308 &gt; ERROR
14:23:54.308 &gt; CCID: ERROR
14:23:54.308 &gt; AT+CSQ
14:23:54.314 &gt; 
14:23:54.314 &gt; +CSQ: 21,0
14:23:54.314 &gt; 
14:23:54.315 &gt; OK
14:23:54.315 &gt; Signal quality: 21
14:23:54.315 &gt; Initializing modem...
14:23:54.315 &gt; [  1689][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
14:23:54.321 &gt; E (1581) gpio: gpio_set_level(227): GPIO output gpio_num error
14:23:54.621 &gt; E (1881) gpio: gpio_set_level(227): GPIO output gpio_num error
14:23:59.621 &gt; AT
14:23:59.624 &gt; 
14:23:59.624 &gt; OK
14:23:59.624 &gt; ATE0
14:23:59.628 &gt; 
14:23:59.629 &gt; OK
14:23:59.629 &gt; AT+CFUN=1
14:23:59.636 &gt; 
14:23:59.636 &gt; OK
14:23:59.636 &gt; AT+QCLEDMODE=1
14:23:59.641 &gt; 
14:23:59.641 &gt; OK
14:23:59.641 &gt; AT+CMEE=0
14:23:59.645 &gt; 
14:23:59.645 &gt; OK
14:23:59.645 &gt; AT+CTZR=0
14:23:59.649 &gt; 
14:23:59.649 &gt; OK
14:23:59.649 &gt; AT+CTZU=1
14:23:59.653 &gt; 
14:23:59.653 &gt; OK
14:23:59.653 &gt; AT+CPIN?
14:23:59.660 &gt; 
14:23:59.660 &gt; +CPIN: READY
14:23:59.661 &gt; 
14:23:59.661 &gt; OK
14:23:59.661 &gt; Waiting for network...
14:23:59.661 &gt; AT+CREG?
14:23:59.667 &gt; 
14:23:59.667 &gt; +CREG: 0,0
14:23:59.668 &gt; 
14:23:59.668 &gt; OK
14:23:59.918 &gt; AT+CREG?
14:23:59.924 &gt; 
14:23:59.925 &gt; +CREG: 0,0
14:23:59.925 &gt; 
14:23:59.925 &gt; OK
14:24:00.175 &gt; AT+CREG?
14:24:00.181 &gt; 
14:24:00.181 &gt; +CREG: 0,0
14:24:00.182 &gt; 
14:24:00.182 &gt; OK
14:24:00.432 &gt; AT+CREG?
14:24:00.438 &gt; 
14:24:00.439 &gt; +CREG: 0,0
14:24:00.439 &gt; 
14:24:00.439 &gt; OK
14:24:00.689 &gt; AT+CREG?
14:24:00.694 &gt; 
14:24:00.695 &gt; +CREG: 0,0
14:24:00.695 &gt; 
14:24:00.695 &gt; OK
14:24:00.946 &gt; AT+CREG?
14:24:00.952 &gt; 
14:24:00.952 &gt; +CREG: 0,0
14:24:00.952 &gt; 
14:24:00.952 &gt; OK
14:24:01.203 &gt; AT+CREG?
14:24:01.209 &gt; 
14:24:01.209 &gt; +CREG: 0,0
14:24:01.209 &gt; 
14:24:01.210 &gt; OK
14:24:01.460 &gt; AT+CREG?
14:24:01.466 &gt; 
14:24:01.466 &gt; +CREG: 0,0
14:24:01.467 &gt; 
14:24:01.467 &gt; OK
14:24:01.717 &gt; AT+CREG?
14:24:01.723 &gt; 
14:24:01.724 &gt; +CREG: 0,0
14:24:01.724 &gt; 
14:24:01.724 &gt; OK
14:24:01.974 &gt; AT+CREG?
14:24:01.980 &gt; 
14:24:01.980 &gt; +CREG: 0,0
14:24:01.981 &gt; 
14:24:01.981 &gt; OK
14:24:02.231 &gt; AT+CREG?
14:24:02.237 &gt; 
14:24:02.238 &gt; +CREG: 0,0
14:24:02.238 &gt; 
14:24:02.238 &gt; OK
14:24:02.488 &gt; AT+CREG?
14:24:02.494 &gt; 
14:24:02.494 &gt; +CREG: 0,0
14:24:02.494 &gt; 
14:24:02.495 &gt; OK
14:24:02.745 &gt; AT+CREG?
14:24:02.751 &gt; 
14:24:02.751 &gt; +CREG: 0,0
14:24:02.751 &gt; 
14:24:02.751 &gt; OK
14:24:03.002 &gt; AT+CREG?
14:24:03.008 &gt; 
14:24:03.008 &gt; +CREG: 0,0
14:24:03.009 &gt; 
14:24:03.009 &gt; OK
14:24:03.259 &gt; AT+CREG?
14:24:03.264 &gt; 
14:24:03.265 &gt; +CREG: 0,0
14:24:03.265 &gt; 
14:24:03.265 &gt; OK
14:24:03.516 &gt; AT+CREG?
14:24:03.521 &gt; 
14:24:03.521 &gt; +CREG: 0,0
14:24:03.522 &gt; 
14:24:03.522 &gt; OK
14:24:03.773 &gt; AT+CREG?
14:24:03.779 &gt; 
14:24:03.779 &gt; +CREG: 0,0
14:24:03.779 &gt; 
14:24:03.779 &gt; OK
14:24:04.030 &gt; AT+CREG?
14:24:04.036 &gt; 
14:24:04.036 &gt; +CREG: 0,0
14:24:04.036 &gt; 
14:24:04.036 &gt; OK
14:24:04.287 &gt; AT+CREG?
14:24:04.293 &gt; 
14:24:04.293 &gt; +CREG: 0,0
14:24:04.293 &gt; 
14:24:04.293 &gt; OK
14:24:04.544 &gt; AT+CREG?
14:24:04.549 &gt; 
14:24:04.549 &gt; +CREG: 0,0
14:24:04.550 &gt; 
14:24:04.550 &gt; OK
14:24:04.801 &gt; AT+CREG?
14:24:04.806 &gt; 
14:24:04.806 &gt; +CREG: 0,0
14:24:04.807 &gt; 
14:24:04.807 &gt; OK
14:24:05.058 &gt; AT+CREG?
14:24:05.064 &gt; 
14:24:05.064 &gt; +CREG: 0,0
14:24:05.064 &gt; 
14:24:05.065 &gt; OK
14:24:05.315 &gt; AT+CREG?
14:24:05.321 &gt; 
14:24:05.322 &gt; +CREG: 0,0
14:24:05.322 &gt; 
14:24:05.322 &gt; OK
14:24:05.572 &gt; AT+CREG?
14:24:05.578 &gt; 
14:24:05.578 &gt; +CREG: 0,0
14:24:05.580 &gt; 
14:24:05.580 &gt; OK
14:24:05.829 &gt; AT+CREG?
14:24:05.835 &gt; 
14:24:05.835 &gt; +CREG: 0,0
14:24:05.835 &gt; 
14:24:05.836 &gt; OK
14:24:06.086 &gt; AT+CREG?
14:24:06.091 &gt; 
14:24:06.092 &gt; +CREG: 0,0
14:24:06.092 &gt; 
14:24:06.092 &gt; OK
14:24:06.343 &gt; AT+CREG?
14:24:06.349 &gt; 
14:24:06.349 &gt; +CREG: 0,0
14:24:06.349 &gt; 
14:24:06.350 &gt; OK
14:24:06.600 &gt; AT+CREG?
14:24:06.606 &gt; 
14:24:06.606 &gt; +CREG: 0,0
14:24:06.607 &gt; 
14:24:06.607 &gt; OK
14:24:06.857 &gt; AT+CREG?
14:24:06.863 &gt; 
14:24:06.863 &gt; +CREG: 0,0
14:24:06.864 &gt; 
14:24:06.864 &gt; OK
14:24:07.114 &gt; AT+CREG?
14:24:07.120 &gt; 
14:24:07.121 &gt; +CREG: 0,0
14:24:07.121 &gt; 
14:24:07.121 &gt; OK
14:24:07.371 &gt; AT+CREG?
14:24:07.377 &gt; 
14:24:07.377 &gt; +CREG: 0,0
14:24:07.378 &gt; 
14:24:07.378 &gt; OK
14:24:07.628 &gt; AT+CREG?
14:24:07.634 &gt; 
14:24:07.634 &gt; +CREG: 0,0
14:24:07.635 &gt; 
14:24:07.635 &gt; OK
14:24:07.885 &gt; AT+CREG?
14:24:07.890 &gt; 
14:24:07.891 &gt; +CREG: 0,0
14:24:07.891 &gt; 
14:24:07.892 &gt; OK
14:24:08.142 &gt; AT+CREG?
14:24:08.147 &gt; 
14:24:08.147 &gt; +CREG: 0,0
14:24:08.148 &gt; 
14:24:08.148 &gt; OK
14:24:08.399 &gt; AT+CREG?
14:24:08.404 &gt; 
14:24:08.404 &gt; +CREG: 0,0
</code></pre>
]]></description><link>https://community.m5stack.com/post/26164</link><guid isPermaLink="true">https://community.m5stack.com/post/26164</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Tue, 20 Aug 2024 12:25:07 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Mon, 19 Aug 2024 12:26:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cocoa" aria-label="Profile: cocoa">@<bdi>cocoa</bdi></a></p>
<p dir="auto">the <code>http</code> example from <a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/products/atom/Atom%20DTU-NB-IoT2/ATOM_DTU_NB2_PIO-V0.1.zip" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> is working for me with the one modification in TinyGSM I mentioned.</p>
<p dir="auto">You haven't shared the log with <code>#define DUMP_AT_COMMANDS</code> enabled - this might shed some light onto what going on at your end.</p>
<p dir="auto">I guess you haven't noticed my edited note above about the AT reset command <code>AT+NRB</code> which did <strong>not</strong> work for me. All I got was an <code>ERROR</code>.</p>
<p dir="auto"><a href="https://www.gwendesign.ch/kb/m5stack/dtunbiot2/#reset-via-gpio" target="_blank" rel="noopener noreferrer nofollow ugc">Here</a> you can find my modification to reset SIM7028 via GPIO.</p>
<p dir="auto">BTW: have you ever tried to check the firmware version currently installed on your SIM7028? E.g. <code>AT+CGMR</code>? Maybe it needs an upgrade?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26156</link><guid isPermaLink="true">https://community.m5stack.com/post/26156</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 19 Aug 2024 12:26:26 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Mon, 19 Aug 2024 10:46:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> ,</p>
<p dir="auto">Thank you for informations and suggestions.</p>
<p dir="auto">For me it is clear that the module must be used as a product and sold, so I hope that the AT reset command will solve any stuck of the modem.</p>
<p dir="auto">M5stack has not yet released the examples in UIFLOW2 for this module, so the module is useless for those who want to use UIFlow2. The ones for Atom DTU UIFlow1 obviously don't work.</p>
<p dir="auto">I just can't use it with Arduino / Platformio too.</p>
<p dir="auto">Could you share your source code to make a http connection? It would be of great help to me to get out of this impasse.</p>
<p dir="auto">Thx.</p>
]]></description><link>https://community.m5stack.com/post/26155</link><guid isPermaLink="true">https://community.m5stack.com/post/26155</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Mon, 19 Aug 2024 10:46:33 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Sat, 17 Aug 2024 15:29:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cocoa" aria-label="Profile: cocoa">@<bdi>cocoa</bdi></a></p>
<p dir="auto">no, it is not possible to reset/reboot SIM7028 from M5AtomS3 due to the fact that RESET pin is not connected.</p>
<p dir="auto">There is an AT command to reset SIM7028, but if it is stuck that probably doesn't work. The other way is pulling RESET pin low, but that doesn't help as long as RESET pin isn't connected.</p>
<p dir="auto">If you don't need the built-in RS485 or the built-in Groove port you could rewire one of those GPIOs via transistor to the RESET pin. (But make sure you use the appropriate circuit / level shifter.)</p>
<p dir="auto">From <em>SIM7028 Hardware Design</em> document:</p>
<p dir="auto"><em>"3.2.1 Power on<br />
The module is automatically turned on after power on, without a power button. Under the condition that the RESET pin is not pulled low by the outside, the module will automatically power on after supplying a voltage of 2.2V to 4.3V to the VBAT pin."</em></p>
<p dir="auto"><em>"3.2.2 Power off<br />
The module can be shut down by disconnecting the VBAT power supply."</em></p>
<p dir="auto"><em>"3.2.3 Reset Function<br />
SIM7028 can reset the module by keeping the RESET pin low for at least 50ms. The module can also be reset by the AT command "AT+NRB".<br />
The RESET signal has been pulled up inside the chip, and the RESET signal will immediately change to a high level after the module is powered on."</em></p>
<p dir="auto">Edit: I just tried the AT command to reset the module, but all I get back is <code>ERROR</code> and nothing happens.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26131</link><guid isPermaLink="true">https://community.m5stack.com/post/26131</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 17 Aug 2024 15:29:13 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Fri, 16 Aug 2024 21:35:43 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> Hi, thanks for the indications, I'll check and let you know.</p>
<p dir="auto">Do you know how it is possible to reset or reboot the SIM7028 from the S3 Lite atom?</p>
<p dir="auto">If the Atom DTU modem is stuck and isn't possible to switch power off and on (typical scenario of every IoT device that is placed in remote zones or that cannot be accessed) in which way Atom DTU  can be back to an operating condition?</p>
<p dir="auto">I ask these questions because I don't understand why the modem control pin was not connected to an Atom I/O.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://community.m5stack.com/post/26127</link><guid isPermaLink="true">https://community.m5stack.com/post/26127</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Fri, 16 Aug 2024 21:35:43 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Fri, 16 Aug 2024 08:31:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cocoa" aria-label="Profile: cocoa">@<bdi>cocoa</bdi></a></p>
<p dir="auto">I was confused about the blue LED too. It seems that the blue LED blinks fast while searching for a provider, is off when connected to a provider and then occasionally blinks slow when transferring data.</p>
<p dir="auto">I forgot that I modified TinyGSM library in the past, when I first tried the SIM7028 examples. Sorry about that.</p>
<p dir="auto">In my case <code>AT+CREG?</code> returns <code>+CREG: 0,7</code> which means registered for <code>SMS only roaming</code>. Unfortunately TinyGSM library doesn't check for that. It only accepts <code>1</code>, <code>5</code> and <code>6</code> (<code>registered home</code>, <code>registered roaming</code>, <code>sms only home</code>). See <a href="https://github.com/m5stack/TinyGSM/blob/v0.12.0-patch-1/src/TinyGsmClientSIM7028.h#L275" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>. I think that might be an error in SIM7028 firmware.</p>
<p dir="auto">Anyways, you can fix that by allowing <code>7</code> as an OK result as well or as I did it: I modified a line above to check for <code>AT+CEREG?</code> instead, which properly returns <code>+CEREG: 0,5</code>, e.g. <code>registered roaming</code>. See <a href="https://github.com/m5stack/TinyGSM/blob/v0.12.0-patch-1/src/TinyGsmClientSIM7028.h#L268" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>. Just change <code>CREG</code> to <code>CEREG</code> like below:</p>
<pre><code>//        return (RegStatus)getRegistrationStatusXREG("CREG"); 
        return (RegStatus)getRegistrationStatusXREG("CEREG"); 
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26116</link><guid isPermaLink="true">https://community.m5stack.com/post/26116</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 16 Aug 2024 08:31:09 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Thu, 15 Aug 2024 20:06:55 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> Hi,</p>
<p dir="auto">The strange thing is that the blue led no longer flashes after three or four blinks.</p>
<p dir="auto">If I use MicroPython I can send AT commands to the modem, read the CSQ (actual value is 29), request the resolution of an FQDN etc...</p>
<p dir="auto">So the sim is OK, it's connected and modem  communicate with BTS.</p>
<p dir="auto">When I use Arduino libraries the module stop to works.</p>
<p dir="auto">Do you have a program in Platformio/Arduino that you know  definitely works and it's able to connect to an http server?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://community.m5stack.com/post/26104</link><guid isPermaLink="true">https://community.m5stack.com/post/26104</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Thu, 15 Aug 2024 20:06:55 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Thu, 15 Aug 2024 18:18:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/cocoa" aria-label="Profile: cocoa">@<bdi>cocoa</bdi></a></p>
<p dir="auto">1NCE SIM is what I am using too.</p>
<p dir="auto">Signal quality: 99 is not so good. Should be lower than 99.</p>
<p dir="auto">Try un-commenting <code>#define DUMP_AT_COMMANDS</code> at the top of the sketch. This should give you more information about what's happening/going wrong.</p>
<p dir="auto">BTW: I get log output similar to yours if <strong>no</strong> SIM card is installed. Maybe double-check the SIM card is inserted correctly?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26099</link><guid isPermaLink="true">https://community.m5stack.com/post/26099</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 15 Aug 2024 18:18:23 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Thu, 15 Aug 2024 16:25:35 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,</p>
<p dir="auto">Sim is 1NCE NB-IoT Sim.<br />
It is connected to the Vodafone  BTS, it is 'online'.</p>
<p dir="auto">The error I'm receiving from http example <a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/products/atom/Atom%20DTU-NB-IoT2/ATOM_DTU_NB2_PIO-V0.1.zip" target="_blank" rel="noopener noreferrer nofollow ugc">ATOM_DTU_NB2_PIO </a></p>
<pre><code>Reconnecting to /dev/cu.usbmodem1101 .
Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html


         Connected!
18:07:02.791 &gt; &gt;&gt;ATOM DTU NB HTTP TEST
18:07:02.791 &gt; CCID: 
18:07:03.791 &gt; Signal quality: 99
18:07:03.791 &gt; Initializing modem...
18:07:03.791 &gt; [  2679][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:07:03.797 &gt; E (2571) gpio: gpio_set_level(227): GPIO output gpio_num error
18:07:04.098 &gt; E (2872) gpio: gpio_set_level(227): GPIO output gpio_num error
18:07:19.298 &gt; waiting....15s
18:07:19.298 &gt; [ 18186][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:07:19.304 &gt; E (18078) gpio: gpio_set_level(227): GPIO output gpio_num error
18:07:19.604 &gt; E (18378) gpio: gpio_set_level(227): GPIO output gpio_num error
18:07:34.804 &gt; waiting....31s
18:07:34.804 &gt; [ 33692][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:07:34.810 &gt; E (33584) gpio: gpio_set_level(227): GPIO output gpio_num error
18:07:35.110 &gt; E (33884) gpio: gpio_set_level(227): GPIO output gpio_num error
18:07:50.310 &gt; waiting....46s
18:07:50.310 &gt; [ 49198][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:07:50.316 &gt; E (49090) gpio: gpio_set_level(227): GPIO output gpio_num error
18:07:50.616 &gt; E (49390) gpio: gpio_set_level(227): GPIO output gpio_num error
18:08:05.816 &gt; waiting....62s
18:08:05.816 &gt; [ 64704][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:08:05.822 &gt; E (64596) gpio: gpio_set_level(227): GPIO output gpio_num error
18:08:06.122 &gt; E (64896) gpio: gpio_set_level(227): GPIO output gpio_num error
18:08:21.322 &gt; waiting....77s
18:08:21.322 &gt; [ 80210][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:08:21.328 &gt; E (80102) gpio: gpio_set_level(227): GPIO output gpio_num error
18:08:21.629 &gt; E (80403) gpio: gpio_set_level(227): GPIO output gpio_num error
18:08:36.828 &gt; waiting....93s
18:08:36.829 &gt; [ 95717][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:08:36.835 &gt; E (95609) gpio: gpio_set_level(227): GPIO output gpio_num error
18:08:37.135 &gt; E (95909) gpio: gpio_set_level(227): GPIO output gpio_num error
18:08:52.334 &gt; waiting....108s
18:08:52.335 &gt; [111223][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:08:52.341 &gt; E (111115) gpio: gpio_set_level(227): GPIO output gpio_num error
18:08:52.641 &gt; E (111415) gpio: gpio_set_level(227): GPIO output gpio_num error
18:09:07.840 &gt; waiting....124s
18:09:07.841 &gt; [126729][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:09:07.847 &gt; E (126621) gpio: gpio_set_level(227): GPIO output gpio_num error
18:09:08.146 &gt; E (126921) gpio: gpio_set_level(227): GPIO output gpio_num error
18:09:23.346 &gt; waiting....139s
18:09:23.347 &gt; [142235][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:09:23.353 &gt; E (142127) gpio: gpio_set_level(227): GPIO output gpio_num error
18:09:23.652 &gt; E (142427) gpio: gpio_set_level(227): GPIO output gpio_num error
18:09:38.852 &gt; waiting....155s
18:09:38.853 &gt; [157741][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:09:38.858 &gt; E (157633) gpio: gpio_set_level(227): GPIO output gpio_num error
18:09:39.158 &gt; E (157933) gpio: gpio_set_level(227): GPIO output gpio_num error
18:09:54.358 &gt; waiting....170s
18:09:54.358 &gt; [173247][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:09:54.365 &gt; E (173139) gpio: gpio_set_level(227): GPIO output gpio_num error
18:09:54.664 &gt; E (173439) gpio: gpio_set_level(227): GPIO output gpio_num error
18:10:09.864 &gt; waiting....186s
18:10:09.864 &gt; [188753][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
18:10:09.870 &gt; E (188645) gpio: gpio_set_level(227): GPIO output gpio_num error
18:10:10.170 &gt; E (188945) gpio: gpio_set_level(227): GPIO output gpio_num error
</code></pre>
]]></description><link>https://community.m5stack.com/post/26097</link><guid isPermaLink="true">https://community.m5stack.com/post/26097</guid><dc:creator><![CDATA[cocoa]]></dc:creator><pubDate>Thu, 15 Aug 2024 16:25:35 GMT</pubDate></item><item><title><![CDATA[Reply to Atom DTU NB-IoT2 issues. on Thu, 15 Aug 2024 15:29:11 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cocoa" aria-label="Profile: cocoa">@<bdi>cocoa</bdi></a></p>
<ul>
<li>
<p dir="auto">What kind of SIM card are you using? In my experience the SIM card needs to be a NB-IoT specific one. For me SIM cards used in mobile phone didn't work.</p>
</li>
<li>
<p dir="auto">If your SIM card uses a PIN then you either need to remove it or modify the code to use the correct PIN.</p>
</li>
<li>
<p dir="auto">Care to share you log when you run the http example?</p>
</li>
</ul>
<p dir="auto">Some answers to your questions:</p>
<p dir="auto">Re 1: Hmm, I don't see that.</p>
<p dir="auto">Re 2: I've just tested the <code>http</code> example and it works for me.</p>
<p dir="auto">Re 3: I see that too, but they don't seem to hurt.</p>
<p dir="auto">Re 4: the Reset pin of the SIM7028 is not connected (see <a href="https://docs.m5stack.com/en/atom/Atom%20DTU_NB_IoT2?id=schematic" target="_blank" rel="noopener noreferrer nofollow ugc">schematic</a>), that is way it's set to <code>-1</code> I guess.</p>
<p dir="auto">Re 5: what do you mean by search mode?</p>
<p dir="auto">Re 6: yes, that is correct.</p>
<p dir="auto">Re 7: I cannot comment on M5Burner and macOS. I don't have a Apple Silicon one.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26096</link><guid isPermaLink="true">https://community.m5stack.com/post/26096</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 15 Aug 2024 15:29:11 GMT</pubDate></item></channel></rss>