<?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>nRF91 modem connection blackout after SIM disable loops</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127949/nrf91-modem-connection-blackout-after-sim-disable-loops</link><description>Hello! Based on some tests, I&amp;#39;ve seen that modem disables attach logic for at least half an hour in case it has tried to connect to network at least twice with disabled SIM. My assumption is that the same Modem Reset Loop restriction kicks in, because</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 May 2026 08:14:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127949/nrf91-modem-connection-blackout-after-sim-disable-loops" /><item><title>RE: nRF91 modem connection blackout after SIM disable loops</title><link>https://devzone.nordicsemi.com/thread/565867?ContentTypeID=1</link><pubDate>Tue, 05 May 2026 08:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dad327ac-dd05-4571-bd87-d4b42613928e</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello again Andris, apologies for the late reply.&lt;/p&gt;
&lt;p&gt;Our team have looked through the modem traces and point out the following:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;From the logs it appears the application is repeatedly power cycling / software resetting the modem after the SIM is disabled. That can trigger Radio Policy Manager (RPM). Per &lt;/span&gt;&lt;span&gt;GSMA&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;TS&lt;/span&gt;&lt;span&gt;.34_8.2.2_REQ_003, in permanent reject scenarios the modem allows only a limited number of application-initiated software resets, typically 1 per hour by default.&amp;nbsp; The number of re-attempts depends on the SIM configuration.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please try the following setup&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol start="1"&gt;
&lt;li&gt;
&lt;p&gt;Subscribe to +&lt;span&gt;CNEC&lt;/span&gt; and +&lt;span&gt;CGEV&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the modem notifies (+CNEC) that the reject cause “&lt;code&gt;EPS services and non-EPS services not allowed&lt;/code&gt;&amp;quot; was received, deactivate the modem (+&lt;span&gt;CFUN&lt;/span&gt;=4) and reactivate it after 20-30 minutes. Rebooting immediately is pointless because the SIM subscription likely won&amp;#39;t be fixed so soon. Since Attach attempts are typically limited, use them wisely and avoid triggering them all at once.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the modem reports the RPM restriction became active (+CGEV), wait for RPM to trigger the Attach re-attempt. The application should not trigger a reboot until the next reject (+CNEC) because the modem reboots internally once the RPM restriction ends. Do not shut down the modem completely (cut power), as it won&amp;#39;t know how long it was off and can&amp;#39;t determine if the RPM restriction ended.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;+CGEV: RESTR 1,2&lt;/code&gt; (with &lt;code&gt;+CGEREP=1)&lt;/code&gt; can be used to detect when RPM restriction has been activated.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;Let me know how this works for you.&lt;/p&gt;
&lt;p&gt;Kind regards,&amp;nbsp;&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 modem connection blackout after SIM disable loops</title><link>https://devzone.nordicsemi.com/thread/565661?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2026 08:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77bc4537-3ed8-4361-a546-5e8793fdf5e1</guid><dc:creator>kuchx</dc:creator><description>&lt;p&gt;Yeah, that&amp;#39;s the tricky part. We could inform device that it should shutdown, no problem but still device would need to wake up at some point and try to connect to network since it won&amp;#39;t know that its enabled again. We could make a workaround to send some specific event at this case, but I was wondering if its detectable on device so we don&amp;#39;t need to add some extra functionality to server responses&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/127949/nrf91-modem-connection-blackout-after-sim-disable-loops/565660"]How long is the SIM disabled, and how often do you need the device connect again?[/quote]
&lt;p&gt;It depends, how fast it will be assigned to another customer. Might be days to weeks.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Could it be T3346 from 3GPP standard? Meaning the network temporary blocks device connection by sending a cooldown timer in simple terms?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Andris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 modem connection blackout after SIM disable loops</title><link>https://devzone.nordicsemi.com/thread/565660?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2026 08:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e61c7fc4-e0fd-4717-953a-be75a7c2824c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for sharing this information. I will need to forward to our experts on this part. Not sure if the disabling of SIM from vendor dashboard is the correct method.&lt;/p&gt;
&lt;p&gt;How long is the SIM disabled, and how often do you need the device connect again? Is PSM not sufficient in this use case? If disabling SIM you should set functional mode to CFUN=0.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 modem connection blackout after SIM disable loops</title><link>https://devzone.nordicsemi.com/thread/565618?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2026 10:04:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fbfd83e-e8db-447c-b951-a0b3605a611a</guid><dc:creator>kuchx</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is modem trace and wireshark recording of the long connection&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/long_5F00_connect.pcapng"&gt;devzone.nordicsemi.com/.../long_5F00_connect.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2026_2D00_04_2D00_28T06_2D00_11_2D00_44.474Z.mtrace"&gt;devzone.nordicsemi.com/.../trace_2D00_2026_2D00_04_2D00_28T06_2D00_11_2D00_44.474Z.mtrace&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is is a trace of getting modem in that state. I disabled SIM, reset device and let it run with trace on &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2026_2D00_04_2D00_28T10_2D00_29_2D00_40.377Z.mtrace"&gt;devzone.nordicsemi.com/.../trace_2D00_2026_2D00_04_2D00_28T10_2D00_29_2D00_40.377Z.mtrace&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/127949/nrf91-modem-connection-blackout-after-sim-disable-loops/565597"]Can you elaborate more on how you are disabling the SIM?[/quote]
&lt;p&gt;It happens on Onomondo dashboard. I select my device SIM and with the toggle switch deactivate it. This event shows up in network log&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1777370412905v1.png" /&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;As I mentioned, its not quite modem reset loop restriction but modem acts pretty much the same as it would be.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If i disable the SIM and device tries multiple times to create a network connection, the mentioned attach timeout appears. I am not sure what is really happening within modem, I don&amp;#39;t receive any specific event when this happens.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 modem connection blackout after SIM disable loops</title><link>https://devzone.nordicsemi.com/thread/565597?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2026 07:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9e84240-d831-4369-ba35-0d00b2309f26</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please provide application logs and/or modem trace from when you are seeing the issue?&lt;/p&gt;
[quote user=""]The SIM disabling is a necessary feature for devices that are not used in field, so that we don&amp;#39;t have to pay for data, that actually are not necessary. Turning off the device in that case is not an option.&amp;nbsp;[/quote]
&lt;p&gt;Can you elaborate more on how you are disabling the SIM?&lt;/p&gt;
[quote user=""]We have a battery powered device and keeping the modem on for 30 minutes non stop is not really an option here[/quote]
&lt;p&gt;If you are hitting the reset loop restriction, then there is something not done right in your application. You should &lt;a href="https://docs.nordicsemi.com/bundle/nwp_042/page/WP/nwp_042/intro.html"&gt;avoid getting into this Modem Reset Loop Restriction&lt;/a&gt;. From here:&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;The modem counts all resets where the modem is not gracefully deinitialized with&amp;nbsp;&lt;/span&gt;&lt;code&gt;+CFUN=0&lt;/code&gt;&lt;span&gt;. If modem deinitialization with&amp;nbsp;&lt;/span&gt;&lt;code&gt;+CFUN=0&lt;/code&gt;&lt;span&gt;&amp;nbsp;is triggered before the predefined limit is reached, the reset counter is set to zero and the counting starts from the beginning. In modem firmware version 1.3.0, the limit is 5. In modem firmware version 1.3.1 and later, the limit is 7.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Modem domain event notifications, including notifications of the modem reset loop restriction&amp;#39;s activation, can be subscribed with the following&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;%MDMEV&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="A command used to control the modem." href="https://docs.nordicsemi.com/bundle/nwp_042/page/dita_common/glossary/glossary.html#at"&gt;&lt;dfn&gt;AT command&lt;/dfn&gt;&lt;/a&gt;:&amp;nbsp;&lt;code&gt;AT%MDMEV=1&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>