<?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>nRF9160 PSM request accept/reject issues while using AGPS.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90480/nrf9160-psm-request-accept-reject-issues-while-using-agps</link><description>Hello Team, 
 This ticket is in continuation with Case ID: 292116. Based on last discussion I have taken more modem traces which are present in the attachment. Please ignore segmentation fault present in the traces as those are expected because of Firmware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2022 06:23:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90480/nrf9160-psm-request-accept-reject-issues-while-using-agps" /><item><title>RE: nRF9160 PSM request accept/reject issues while using AGPS.</title><link>https://devzone.nordicsemi.com/thread/380260?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 06:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af29853f-bf45-4588-9d02-8601f3fcc2ce</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello again Chetan,&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;span&gt;2. What exactly is the meaning of&amp;nbsp;retransmission attempts from the server side might indicate weak signal quality and how to fix that risk ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Is there any problem with MQTT/TCP ?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;Regarding the above-mentioned questions, I now have gotten some feedback from the modem team. I will just copy it as it is, since it should provide you with all the information and details needed:&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;quot;I checked the modem log (the part that was pointed by Markus above). It is true that there seem to be RRC connection release in the middle of some upper layer protocol data transfer. At least it seems that way because after RRC connection release and cell selection, Service Request is triggered immediately for UL data.&lt;/em&gt;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;&lt;em&gt;I suspect there is some problem in network side, probably in eNodeB. There should not be RRC connection release if there is constant data transfer ongoing. The release should happen only after certain time of inactivity. It is possible that network gets confused by missing SAF bit (signalling active flag) sent by UE in TAU request. SAF is not sent because at that point there was no UL data to be sent (modem cannot know will there be more data or not unless Release Assistance Indicator feature is used by application). TAU was triggered by application by configuring PSM parameters and application seems to repeat it constantly. This is not useful because if network does not approve the requested parameters once, it does not help to wait a couple of seconds before trying again.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;In summary, this seems to be network side problem, although I suspect it does not occur if application stops configuring PSM parameters constantly.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers,&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Markus&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM request accept/reject issues while using AGPS.</title><link>https://devzone.nordicsemi.com/thread/379796?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 05:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28824710-caa1-48fd-a641-b2838bfd4bf8</guid><dc:creator>Chetan Kale</dc:creator><description>&lt;p&gt;Hello Markus,&lt;/p&gt;
&lt;p&gt;Thanks for the response. Once you get the insights from your internal team please share the same with me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;Chetan&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM request accept/reject issues while using AGPS.</title><link>https://devzone.nordicsemi.com/thread/379673?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 10:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7e3ec5d-f6a9-4811-b3d4-b07913f886c1</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello Chetan,&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;A quick update from my side (and my apologies again for the delay):&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user=""]1. Can you please explain me the root cause of the issues that even&amp;nbsp;if bit 6 to 8th are&amp;nbsp;&lt;span&gt;&amp;quot;111&amp;quot; in AT+CEREG response, why the nRF9160 DK is getting GPS fix ?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;&lt;span&gt;As already mentioned in the previous case, there are several occasions in the log where network releases RRC connection and +&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/packet_domain/cscon.html"&gt;CSCON&lt;/a&gt; becomes 0. &lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;689    136.813634            AT    119    Rcvd AT Command: %XMONITOR: 5,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;310260&amp;quot;,&amp;quot;A21B&amp;quot;,7,12,&amp;quot;005CD918&amp;quot;,139,5035,32,21,&amp;quot;&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;01001001&amp;quot;  OK  
690    136.819219    10.165.188.145    142.250.138.192    ILP    87    [Malformed Packet]
691    136.895421    142.250.138.192    10.165.188.145    TCP    52    7276 → 61083 [ACK] Seq=1 Ack=36 Win=65535 Len=0
692    136.915349    142.250.138.192    10.165.188.145    ILP    82    [UNKNOWN PER: too long integer(per_normally_small_nonnegative_whole_number)][Malformed Packet]
693    136.929204    10.165.188.145    142.250.138.192    ILP    106    [UNKNOWN PER: too long integer(per_normally_small_nonnegative_whole_number)][Malformed Packet]
694    137.039891    142.250.138.192    10.165.188.145    TCP    52    7276 → 61083 [ACK] Seq=31 Ack=90 Win=65535 Len=0
695    137.258031    142.250.138.192    10.165.188.145    TCP    760    7276 → 61083 [ACK] Seq=31 Ack=90 Win=65535 Len=708 [TCP segment of a reassembled PDU]
696    137.446111    10.165.188.145    142.250.138.192    TCP    52    61083 → 7276 [ACK] Seq=90 Ack=739 Win=6372 Len=0
697    137.513127    142.250.138.192    10.165.188.145    TCP    760    7276 → 61083 [PSH, ACK] Seq=739 Ack=90 Win=65535 Len=708 [TCP segment of a reassembled PDU]
698    137.692479    142.250.138.192    10.165.188.145    TCP    760    7276 → 61083 [ACK] Seq=1447 Ack=90 Win=65535 Len=708 [TCP segment of a reassembled PDU]
699    137.692906    10.165.188.145    142.250.138.192    TCP    52    61083 → 7276 [ACK] Seq=90 Ack=2155 Win=5664 Len=0
700    137.998998    142.250.138.192    10.165.188.145    TCP    760    7276 → 61083 [PSH, ACK] Seq=2155 Ack=90 Win=65535 Len=708 [TCP segment of a reassembled PDU]
701    138.073003    142.250.138.192    10.165.188.145    ILP    294    [UNKNOWN PER: too long integer(per_normally_small_nonnegative_whole_number)][Malformed Packet]
702    138.073369    10.165.188.145    142.250.138.192    TCP    52    61083 → 7276 [ACK] Seq=90 Ack=3105 Win=6130 Len=0
703    138.263036    142.250.138.192    10.165.188.145    TCP    760    [TCP Spurious Retransmission] 7276 → 61083 [ACK] Seq=31 Ack=90 Win=65535 Len=708
704    138.270116    10.165.188.145    142.250.138.192    TCP    52    [TCP Dup ACK 702#1] 61083 → 7276 [ACK] Seq=90 Ack=3105 Win=6130 Len=0
705    138.460057    142.250.138.192    10.165.188.145    TCP    760    [TCP Spurious Retransmission] 7276 → 61083 [ACK] Seq=739 Ack=90 Win=65535 Len=708
706    138.460240    10.165.188.145    142.250.138.192    TCP    52    [TCP Dup ACK 702#2] 61083 → 7276 [ACK] Seq=90 Ack=3105 Win=6130 Len=0
707    138.680394    142.250.138.192    10.165.188.145    TCP    760    [TCP Spurious Retransmission] 7276 → 61083 [ACK] Seq=1447 Ack=90 Win=65535 Len=708
708    138.680577    10.165.188.145    142.250.138.192    TCP    52    [TCP Dup ACK 702#3] 61083 → 7276 [ACK] Seq=90 Ack=3105 Win=6130 Len=0
709    138.899571    142.250.138.192    10.165.188.145    TCP    760    [TCP Spurious Retransmission] 7276 → 61083 [PSH, ACK] Seq=2155 Ack=90 Win=65535 Len=708
710    138.899999    10.165.188.145    142.250.138.192    TCP    52    [TCP Dup ACK 702#4] 61083 → 7276 [ACK] Seq=90 Ack=3105 Win=6130 Len=0
711    138.956029    142.250.138.192    10.165.188.145    TCP    294    [TCP Spurious Retransmission] 7276 → 61083 [PSH, ACK] Seq=2863 Ack=90 Win=65535 Len=242
712    138.956426    10.165.188.145    142.250.138.192    TCP    52    [TCP Dup ACK 702#5] 61083 → 7276 [ACK] Seq=90 Ack=3105 Win=6130 Len=0
713    139.052495    142.250.138.192    10.165.188.145    ILP    82    [UNKNOWN PER: too long integer(per_normally_small_nonnegative_whole_number)][Malformed Packet]
714    139.066808    10.165.188.145    142.250.138.192    TCP    52    61083 → 7276 [FIN, ACK] Seq=90 Ack=3135 Win=6100 Len=0
715    139.132420    142.250.138.192    10.165.188.145    TCP    52    7276 → 61083 [ACK] Seq=3135 Ack=91 Win=65535 Len=0
716    139.162511    142.250.138.192    10.165.188.145    TCP    52    7276 → 61083 [FIN, ACK] Seq=3135 Ack=91 Win=65535 Len=0
717    139.162938    10.165.188.145    142.250.138.192    TCP    52    61083 → 7276 [ACK] Seq=91 Ack=3136 Win=6099 Len=0
718    141.267644            LTE RRC DL_DCCH    26    RRCConnectionRelease [cause=other]
719    142.651769            AT    23    Rcvd AT Command: +CSCON: 0  
720    146.679112            LTE RRC DL_SCH    69    SystemInformationBlockType1
721    146.679601            LTE RRC DL_SCH    79    SystemInformation [ SIB2 ]
722    146.679662            LTE RRC DL_SCH    47    SystemInformation [ SIB3 ]
723    146.761479            NAS-EPS    20    Service request
724    146.762364            LTE RRC UL_CCCH    30    RRCConnectionRequest
725    146.929418            LTE RRC DL_CCCH    65    RRCConnectionSetup
726    146.929997            LTE RRC UL_DCCH/NAS-EPS    33    RRCConnectionSetupComplete, Service request
727    146.931004            AT    23    Rcvd AT Command: +CSCON: 1 &lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When this happens the GNSS socket becomes active and actually manages to calculate a fix during that time. This is possible even without having the LTE socket into PSM.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;span&gt;2. What exactly is the meaning of&amp;nbsp;retransmission attempts from the server side might indicate weak signal quality and how to fix that risk ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Is there any problem with MQTT/TCP ?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;Why network releases RRC during on-going data exchange is something that I need some advice on from our modem team. I will come back to you as soon as I have an update to share.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers,&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Markus&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM request accept/reject issues while using AGPS.</title><link>https://devzone.nordicsemi.com/thread/379143?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 13:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f9f22b0-9a31-414d-928a-d4cbba3338c2</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello Chetan,&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the traces! I will have a look at them and come back to you. Since we still are in the middle of the vacation period, delays are to be expected.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Markus&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>