<?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>Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115578/issue-with-at-cnmi-on-nrf9160</link><description>We are having an issue with 
 
 
 This happens to us because we are using the NRF carrier library, and in the carrier library, when you are trying to power off the modem, the carrier library uses the NRF sms library to unregister the device from SMS notifications</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Nov 2024 09:18:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115578/issue-with-at-cnmi-on-nrf9160" /><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/508907?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2024 09:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbabfde8-56fd-4959-85b2-12f87c66e150</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Please provide an update when you do so and let me know if you have any further questions.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/508846?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 16:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e296436f-8c95-4df3-b8ba-25ab34247ccd</guid><dc:creator>Cammie</dc:creator><description>&lt;p&gt;Thanks - I&amp;#39;ll make that change in my local dev tree.&amp;nbsp; I appreciate the help.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;CC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/508840?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 15:37:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91c262f8-618c-4e23-998a-c047aacfef8e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There is&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/18403"&gt;pull request&lt;/a&gt;&amp;nbsp;which addresses this issue.&lt;br /&gt;&lt;br /&gt;Thank you for pointing this out.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/508402?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 15:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c7829c8-537b-4d91-9e01-d4a016411e22</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;LwM2M carrier library always calls SMS deregister procedure sms_uninit when shutting down. This releases LwM2M carrier library of being a client of the SMS library. Next, SMS library attempts to deregister itself (in case there are no other clients left) as a global SMS client. LwM2M carrier library does not know if it is the last subscriber of the SMS library at the time it deregisters (there might be other subscribers) and hence does not know if the SMS library call to the modem will fail. &lt;br /&gt;The warning is harmless and can safely be ignored. The warning can be avoided by calling CFUN=4 before CFUN=0 or by letting the LwM2M carrier library control the disconnection by calling &lt;span&gt;lwm2m_carrier_request(LWM2M_CARRIER_REQUEST_LINK_DOWN).&lt;br /&gt;The issue will be addressed possibly in NCS v2.9.0.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/508317?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 10:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdec8148-760c-4481-9476-470b7104ea03</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Please note that the error does not cause any harm. It is a consequence of the interplay between carrier library and SMS library. We are looking into the ways to handle this.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/507965?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 13:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4809aa86-8629-44e0-b4a0-c527f1aafe59</guid><dc:creator>Cammie</dc:creator><description>&lt;p&gt;OK - I understand.&lt;/p&gt;
&lt;p&gt;Then - the next question is - why does the carrier library call that function (and cause that error) when you turn off the lte connection?&amp;nbsp; I would think that the Nordic-supplied carrier library would not do something that would cause an error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/507628?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2024 16:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:355faf74-162c-4407-a214-f6acf3e1ea40</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrfxlib-apis-latest/page/group_nrf_modem_at_gaa5303f024205291ce5cfdb8f061583d0.html#gaa5303f024205291ce5cfdb8f061583d0"&gt;nrf_modem_at_cmd()&lt;/a&gt;&amp;nbsp;specifies these return values&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Return values
0	On &amp;quot;OK&amp;quot; responses.
Returns
A positive value On &amp;quot;ERROR&amp;quot;, &amp;quot;+CME ERROR&amp;quot;, and &amp;quot;+CMS ERROR&amp;quot; responses. 
The type of error can be distinguished using nrf_modem_at_err_type. 
The error value can be retrieved using nrf_modem_at_err.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Looking at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfxlib-apis-latest/page/group_nrf_modem_at_gaa5303f024205291ce5cfdb8f061583d0.html#gaa5303f024205291ce5cfdb8f061583d0"&gt;nrf_modem_at_cmd()&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfxlib-apis-latest/page/nrf_modem_at_8h_source.html"&gt;nrf_modem_at.h&lt;/a&gt;&amp;nbsp;source code, knowing the error code 196910 (decimal) which is 0x3012E, and passing this error code to nrf_modem_at_err_type() gives the error type&amp;nbsp;&lt;span&gt;#define NRF_MODEM_AT_CMS_ERROR 3. Error number is obtained from nrf_modem_at_err() and the value is 0x12E = 302 (decimal). Decimal value 302 has the meaning of &amp;quot;Not Allowed&amp;quot; as it is specified in the +CNMI Cellular AT Command documentation.&lt;br /&gt;EDIT: The CNMI error &amp;quot;Not Allowed&amp;quot; is given for unregistering SMS when there is no active registration.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/506726?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 12:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:544db39b-02dd-4e3b-8257-bb66b29f3cf5</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have replicated your issue. We will look into it. I will get back to you probably during next week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with AT+CNMI on nRF9160</title><link>https://devzone.nordicsemi.com/thread/506580?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 18:44:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f565572-c460-4843-a56f-57a047d75067</guid><dc:creator>Devon W</dc:creator><description>&lt;p&gt;In addition to your &lt;strong&gt;proprietary board&lt;/strong&gt; and your &lt;strong&gt;nrf9160DK board&lt;/strong&gt;, I was able to replicate this issue on my&amp;nbsp;&lt;strong&gt;Thingy91&lt;/strong&gt; using the provided attachment &amp;quot;TestApp.zip&amp;quot;.&lt;/p&gt;
&lt;p&gt;Here are the&amp;nbsp;outputs for &lt;strong&gt;TWO&amp;nbsp;&lt;/strong&gt;tests with&amp;nbsp;the Thingy91 running &amp;quot;TestApp&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BOOT 1:&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;*** Booting nRF Connect SDK 4040aa0bf581 ***&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.255,523] &amp;lt;inf&amp;gt; MAIN: ----------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.255,523] &amp;lt;inf&amp;gt; MAIN: Test program to demonstrate CNMI Issue!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.255,523] &amp;lt;inf&amp;gt; MAIN: ----------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.495,147] &amp;lt;inf&amp;gt; MAIN: LTE Initialization complete&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.534,240] &amp;lt;inf&amp;gt; MAIN: Waiting for network...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:03.445,404] &amp;lt;inf&amp;gt; MAIN: LTE cell changed: Cell ID: 227695366, Tracking area: 21999&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:03.930,725] &amp;lt;inf&amp;gt; MAIN: RRC mode: Connected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:05.314,971] &amp;lt;inf&amp;gt; MAIN: Network registration status: Connected - roaming&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:05.315,155] &amp;lt;inf&amp;gt; MAIN: LTE Connected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:05.315,795] &amp;lt;inf&amp;gt; MAIN: PSM parameter update: TAU: 3240, Active time: -1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:05.316,680] &amp;lt;err&amp;gt; &lt;span style="color:#ff0000;"&gt;MAIN: Error 196910 on modem command AT+CNMI=0,0,0,0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:12.005,798] &amp;lt;inf&amp;gt; MAIN: RRC mode: Idle&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BOOT 2:&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;*** Booting nRF Connect SDK 4040aa0bf581 ***&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.255,554] &amp;lt;inf&amp;gt; MAIN: ----------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.255,554] &amp;lt;inf&amp;gt; MAIN: Test program to demonstrate CNMI Issue!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.255,584] &amp;lt;inf&amp;gt; MAIN: ----------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.497,467] &amp;lt;inf&amp;gt; MAIN: LTE Initialization complete&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:00.536,560] &amp;lt;inf&amp;gt; MAIN: Waiting for network...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:03.197,814] &amp;lt;inf&amp;gt; MAIN: LTE cell changed: Cell ID: 89285397, Tracking area: 21233&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:03.267,425] &amp;lt;inf&amp;gt; MAIN: RRC mode: Connected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:04.732,971] &amp;lt;inf&amp;gt; MAIN: Network registration status: Connected - roaming&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:04.733,123] &amp;lt;inf&amp;gt; MAIN: LTE Connected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:04.733,734] &amp;lt;inf&amp;gt; MAIN: PSM parameter update: TAU: 3240, Active time: -1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:04.734,436] &amp;lt;err&amp;gt; &lt;span style="color:#ff0000;"&gt;MAIN: Error 196910 on modem command AT+CNMI=0,0,0,0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:11.183,898] &amp;lt;inf&amp;gt; MAIN: RRC mode: Idle&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:11.270,507] &amp;lt;inf&amp;gt; MAIN: LTE cell changed: Cell ID: 227695366, Tracking area: 21999&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:23.996,734] &amp;lt;inf&amp;gt; MAIN: RRC mode: Connected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[00:00:25.527,832] &amp;lt;inf&amp;gt; MAIN: RRC mode: Idle&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;*EDIT: 10/16/2024 14:48* - Formatted output logs in monospace font&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>