<?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>LTE connection timeout after 30x modem on/off</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70478/lte-connection-timeout-after-30x-modem-on-off</link><description>We are using nrf9160 and Modem firmware 1.2.3. This might be a regression of this bug . 
 Our concept is to switch the modem on via lte_lc_connect_async(), exchange some MQTT messages and then go back to low power idle by switching the modem off via.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jan 2021 15:27:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70478/lte-connection-timeout-after-30x-modem-on-off" /><item><title>RE: LTE connection timeout after 30x modem on/off</title><link>https://devzone.nordicsemi.com/thread/290324?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 15:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3a01bfc-a832-46eb-9134-3bc55ab08eba</guid><dc:creator>MBeonas</dc:creator><description>&lt;p&gt;Looks like the modem is able to get a LTE connection again after a while.&lt;/p&gt;
&lt;p&gt;Thank you for your helpful answer and your pointers.&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE connection timeout after 30x modem on/off</title><link>https://devzone.nordicsemi.com/thread/290253?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 12:58:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c70aef2-5ec4-4cf3-9b31-730c26c77e39</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;It&amp;#39;s the&lt;span&gt;&amp;nbsp;GSMA specified Radio Policy Manager (RPM) feature which is blocking the ATTACH command. RPM is used for protecting the network from excessive signaling loads in various scenarios. In this case, the default value 30 is used for PDP Context Activation Requests (&lt;/span&gt;&lt;a href="https://www.gsma.com/iot/wp-content/uploads/2016/11/TS.34_v4.0-1.pdf"&gt;TS.34 - IoT Device Connection Efficiency Guidelines&lt;/a&gt;&amp;nbsp;page 43&amp;nbsp;&lt;span&gt;TS.34_8.2.4_REQ_010).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is implemented in the modem firmware. I don&amp;#39;t believe there&amp;#39;s any way for the user to change this default value, but I will double-check with the developers.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="MBeonas"]I was about to start preparing a Modem Trace. Is this still needed?[/quote]
&lt;p&gt;If you have confirmed that the device is able to connect to the network again if you wait an hour, a modem trace is not needed as this isn&amp;#39;t a bug.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;If you&amp;#39;re enabling/disabling the LTE modem to get a GPS fix, you could try setting a higher priority on the GPS process (&lt;a title="https://github.com/nrfconnect/sdk-nrf/pull/2711" href="https://github.com/nrfconnect/sdk-nrf/pull/2711"&gt;https://github.com/nrfconnect/sdk-nrf/pull/2711&lt;/a&gt;).
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;And putting a lower accuracy threshold on the GPS fix will give you a lower TTFF as well (&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/3427"&gt;https://github.com/nrfconnect/sdk-nrf/pull/3427&lt;/a&gt;).&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE connection timeout after 30x modem on/off</title><link>https://devzone.nordicsemi.com/thread/290224?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 11:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a09a0f-0eb6-4975-9015-941e70ff9756</guid><dc:creator>MBeonas</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;I was about to start preparing a Modem Trace. Is this still needed?&lt;/p&gt;
&lt;p&gt;Where is this threshold of 30 attaches per hour defined/documented? Is this defnied by the modem or by the LTE standard? Is there any way to change this limit?&lt;/p&gt;
&lt;p&gt;We are planning on a low-latency tracking mode with our software in which we are recording GPS for one minute, then enable the LTE modem to upload the data and then switch back to GPS tracking as fast as possible.&lt;/p&gt;
&lt;p&gt;We need to put the modem in offline state for that. If we would rely on the modem for re-enabling the GPS while we are still connected to a LTE network, the modem needs to wait in LTE mode for the RRC timeout until it can switch back to GPS. That timeout is &amp;gt;20s with our carrier which is hardly acceptable regarding lost GPS data points.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE connection timeout after 30x modem on/off</title><link>https://devzone.nordicsemi.com/thread/289986?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 11:57:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0514d6-996d-4cf9-8e49-8e7992b9455b</guid><dc:creator>Heidi</dc:creator><description>&lt;div&gt;Hi again,&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
[quote user=""]On the 30th cycle (31st time switching the modem on after power-on reset), we suddenly fail to get a LTE connection and run into our timeout handling. All subsequent tries also fail.[/quote]
&lt;p&gt;&amp;nbsp;Could you check if it is able to connect again after&amp;nbsp;&lt;em&gt;one hour&lt;/em&gt;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;You&amp;#39;re only allowed to do 30 attaches per hour, so if you exceed this limit you have to wait another hour before you can connect again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE connection timeout after 30x modem on/off</title><link>https://devzone.nordicsemi.com/thread/289864?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 18:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48519619-46fa-4383-a735-a7fd11c23bef</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the report. Are you able to take a &lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect"&gt;modem trace&lt;/a&gt; when this issue occurs?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>