<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78624/how-to</link><description>Hi Nordic team 
 At sdk connect sample/mqtt_simple, it called lte_lc_init_and_connect() to connect NBIOT or LTE-M. 
 If this call was not successful, could we read error code to analyze the root cause? 
 For example, 
 1. SIM card interface issue. 
 2</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Aug 2021 14:59:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78624/how-to" /><item><title>RE: How to</title><link>https://devzone.nordicsemi.com/thread/325358?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 14:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:577f9e81-8cd1-4af5-b55e-061bac32ab9d</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;How shielded is your shielded room?&lt;/p&gt;
&lt;p&gt;The log shows that it finds a network, and tries to attach to it, but is not allowed for the reasons you described.&lt;/p&gt;
&lt;p&gt;If it didn&amp;#39;t find any networks the tac and ci fields should be &amp;quot;FFFE&amp;quot; and &amp;quot;FFFFFFFF&amp;quot;, and more importantly the %CESQ notification fields should be 99 for the first two, and 255 for the rest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to</title><link>https://devzone.nordicsemi.com/thread/325217?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 05:48:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c774542-0276-4098-be80-63a98082ce77</guid><dc:creator>Jeffery</dc:creator><description>&lt;p&gt;Hi Didirk&lt;/p&gt;
&lt;p&gt;Then, I tried DK at a shielding room not ot connect the cell site.&lt;/p&gt;
&lt;p&gt;After connecting timeout, it got CEREG notifications with reject cause 11 and 15.&lt;/p&gt;
&lt;p&gt;11 =&amp;gt; PLMN not allowed&lt;/p&gt;
&lt;p&gt;15 =&amp;gt; No suitable cells in tracking area&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/28130.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to</title><link>https://devzone.nordicsemi.com/thread/325210?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 03:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2acc8bbb-e957-41f8-8988-ff158bba0700</guid><dc:creator>Jeffery</dc:creator><description>&lt;p&gt;Hi Didrik&lt;/p&gt;
&lt;p&gt;For CEREG, at mqtt_simple sample, it set &amp;quot;AT+CEREG=5&amp;quot; to modem. So, subscribes CEREG notifications as below format according to at commands spec. Notification shall have cause type and reject cause defined at 3GPP 24.301 Annex A.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/62143.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/33460.png" /&gt;&lt;/p&gt;
&lt;p&gt;I checked 3GPP 24.301. I did analyze the failure reason in much detail.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1307.png" /&gt;&lt;/p&gt;
&lt;p&gt;So, my question is. Did Nordic really implement the &amp;quot;cause type&amp;quot; and &amp;quot;&amp;quot;reject cause&amp;quot; at CEREG notifications as LTE&lt;/p&gt;
&lt;p&gt;failed to connect? If yes, I think we can use these information to get why LTE cannot be connected.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to</title><link>https://devzone.nordicsemi.com/thread/325183?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 16:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c26d5114-9e93-47fa-bcbc-167750ae2a15</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When using lte_lc_init_and_connect, there unfortunately aren&amp;#39;t much other feedback than ETIMEDOUT.&lt;/p&gt;
&lt;p&gt;However, if you register an event handler, you can get more information.&lt;/p&gt;
&lt;p&gt;SIM card issues usually causes a +CEREG: 90 notification. If the device was not allowed to connect to the networks, you can find the reject cause in the +CEREG notifications, and the registration status will usually be 3 or 4.&lt;/p&gt;
&lt;p&gt;Using the at_notif library, you can also subscribe to &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/mdmev_set.html"&gt;%MDMEV&lt;/a&gt; notifications, which also can contain useful information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>