<?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>NB-IoT TCP Packet loss and retransmittions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87194/nb-iot-tcp-packet-loss-and-retransmittions</link><description>Hardware: nrf9160DK Modem FW: v1.3.1 We have been evaluating and configuring our proprietary application for NB-IoT, which is initially designed for LTE-M (CAT-M1). The Application is designed to exchange data with the cloud using MQTT over TLS and works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 May 2022 12:10:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87194/nb-iot-tcp-packet-loss-and-retransmittions" /><item><title>RE: NB-IoT TCP Packet loss and retransmittions</title><link>https://devzone.nordicsemi.com/thread/365970?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 12:10:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feaa049e-030f-4088-9b29-0f4f890e71d2</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Please see answer from our nRF91 team:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;There are two things that are causing delays and re-transmissions&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The network has not enabled&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;enableStatusReportSN-Gap&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;configuration in eNB. This means that UE can&amp;#39;t report about missing RLC PDU once it has been noticed. Instead, the report of missing RLC PDU is sent after there is nothing to transmit and network polls the device. This brings the delay in attached picture the customer is asking for. RLC PDU from the first TCP segment is lost and UE must wait for re-transmission from network.&lt;/li&gt;
&lt;li&gt;TCP re-transmissions. Due to missing TCP ACKs the server starts to re-transmit TCP packets. This makes things even worse in lower layers as re-transmission of RLC PDUs happen when there is nothing to be send. TCP re-transmission makes the send queue even longer and missing RLC PDUs are sent with increasing delay.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When it might be difficult to add support for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;enableStatusReportSN-Gap&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in network the only way would be trying to increase TCP re-transmission timeout in server side. This may&amp;nbsp; shorten the RLC PDU re-transmission delay and make the overall transmission faster.&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><item><title>RE: NB-IoT TCP Packet loss and retransmittions</title><link>https://devzone.nordicsemi.com/thread/365433?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 13:02:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5db46806-f6f9-49c7-8218-3bd76dc26a4e</guid><dc:creator>Vipul Panchal</dc:creator><description>&lt;p&gt;We have our test network which is configured for NB-IoT (NB1)&lt;br /&gt;I agree, you may be seeing the&amp;nbsp;logs showing problems registering to the network as these are complete logs and we may be in the middle of changing some&amp;nbsp;configuration or setting up the test network.&lt;br /&gt;That&amp;#39;s why I am not concerned about the device not registering. What I am more concerned about is when it successfully registers to the network, it faces issues transferring data over TCP packets (The modem seems to not receive any packets for around 20 seconds, highlighted in the screenshot).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT TCP Packet loss and retransmittions</title><link>https://devzone.nordicsemi.com/thread/365338?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 08:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15d3fb00-8667-456f-bcf0-eb8ab29dd0bf</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Can you provide more information on what network you are trying to connect to? What version of nRF Connect SDK are you working on?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From your PCAP I see that you are receiving the following:&amp;nbsp;+CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;test123&amp;quot;,&amp;quot;192.168.3.2&amp;quot;,0,0&amp;nbsp; OK&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The provided log output from LTE Link Monitor has the following output several times:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;2022-04-13T05:18:31.917Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.274,871] [0m&amp;lt;inf&amp;gt; event_manager: APP_EVT_DATA_GET_ALL[0m
2022-04-13T05:18:31.970Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.281,524] [0m&amp;lt;inf&amp;gt; event_manager: APP_EVT_DATA_GET - Requested data types (MOD_DYN, BAT, ENV, NEIGHBOR_CELLS, GNSS)[0m
2022-04-13T05:18:31.971Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.299,285] [1;33m&amp;lt;wrn&amp;gt; gnss_module: Failed to set GNSS fix interval, error: -22[0m
2022-04-13T05:18:31.973Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.310,974] [0m&amp;lt;inf&amp;gt; event_manager: SENSOR_EVT_ENVIRONMENTAL_NOT_SUPPORTED[0m
2022-04-13T05:18:32.002Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.357,696] [1;31m&amp;lt;err&amp;gt; modem_info_params: Link data not obtained: 5 -22[0m
2022-04-13T05:18:32.016Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.370,574] [1;31m&amp;lt;err&amp;gt; modem_info_params: Link data not obtained: 8 -22[0m
2022-04-13T05:18:32.038Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.388,671] [1;31m&amp;lt;err&amp;gt; modem_info_params: Link data not obtained: 3 -22[0m
2022-04-13T05:18:32.074Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.429,748] [1;31m&amp;lt;err&amp;gt; modem_info_params: Network data not obtained: -66[0m
2022-04-13T05:18:32.087Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.437,774] [1;31m&amp;lt;err&amp;gt; modem_module: modem_info_params_get, error: -11[0m
2022-04-13T05:18:32.098Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.445,678] [0m&amp;lt;inf&amp;gt; event_manager: MODEM_EVT_MODEM_DYNAMIC_DATA_NOT_READY[0m
2022-04-13T05:18:32.145Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.501,251] [1;31m&amp;lt;err&amp;gt; modem_info_params: Link data not obtained: 5 -22[0m
2022-04-13T05:18:32.161Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.513,610] [1;31m&amp;lt;err&amp;gt; modem_info_params: Link data not obtained: 8 -22[0m
2022-04-13T05:18:32.177Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.531,677] [1;31m&amp;lt;err&amp;gt; modem_info_params: Link data not obtained: 3 -22[0m
2022-04-13T05:18:32.217Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.572,326] [1;31m&amp;lt;err&amp;gt; modem_info_params: Network data not obtained: -66[0m
2022-04-13T05:18:32.237Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.580,352] [1;31m&amp;lt;err&amp;gt; modem_module: modem_info_params_get, error: -11[0m
2022-04-13T05:18:32.242Z DEBUG modem &amp;lt;&amp;lt; [25:52:00.588,226] [0m&amp;lt;inf&amp;gt; event_manager: MODEM_EVT_BATTERY_DATA_NOT_READY[0m&lt;/pre&gt;&lt;/p&gt;
[quote user="Vipul Panchal"]The problem is not with registering to a network.[/quote]
&lt;p&gt;Yes, this is the problem from what I can see.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT TCP Packet loss and retransmittions</title><link>https://devzone.nordicsemi.com/thread/364512?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 14:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d75ff20-5c98-4064-aa82-49cf62ad0392</guid><dc:creator>Vipul Panchal</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;The device being tested is in UK and we are using a test NB-IoT network (using Nutaq).&lt;br /&gt;The problem is not with registering to a network. The problem is with modem not accepting the TCP segments (which are transmitted by the server, seen in the network&amp;nbsp; capture. however not getting received on the client-side, seen in the modem trace)&lt;br /&gt;Have a look at the image in the attachments.zip, where it shows a duration of approximately 20 seconds when the modem doesn&amp;#39;t log any TCP packets whereas the server is sending them at the same time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT TCP Packet loss and retransmittions</title><link>https://devzone.nordicsemi.com/thread/364475?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 12:25:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbb67a29-55fd-4c6f-906c-e204cf6d8149</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;A quick look at the log output you provided I find the following reject causes when connecting to NB-IoT&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2022-04-13T08:35:41.826Z DEBUG modem &amp;lt;&amp;lt; +CEREG: 2,&amp;quot;640F&amp;quot;,&amp;quot;0028C515&amp;quot;,9,0,9&lt;br /&gt;2022-04-13T08:35:42.732Z DEBUG modem &amp;lt;&amp;lt; +CEREG: 2,&amp;quot;640F&amp;quot;,&amp;quot;0028C515&amp;quot;,9,0,13&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cause #9 – UE identity cannot be derived by the network.&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;This EMM cause is sent to the UE when the network cannot derive the UE’s identity from the GUTI/S-TMSI/P-TMSI and RAI e.g. no matching identity/context in the network or failure to validate the UE’s identity due to integrity check failure of the received message.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Cause #13 – Roaming not allowed in this tracking area&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;This EMM cause is sent to an UE which requests service, or if the network initiates a detach request, in a tracking area of a PLMN which by subscription offers roaming to that UE but not in that tracking area.&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please verify SIM/status with your network provider.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT TCP Packet loss and retransmittions</title><link>https://devzone.nordicsemi.com/thread/364473?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 12:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42112d68-404a-4c65-b3e1-8324bef2fd55</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;my initial thought is the &lt;a href="https://infocenter.nordicsemi.com/topic/nwp_044/WP/nwp_044/lte_technology.html"&gt;LTE-M vs NB-Iot bandwidth&lt;/a&gt;&amp;nbsp;e.g.&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th colspan="1" rowspan="1"&gt;Features&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;LTE-M&lt;/th&gt;
&lt;th colspan="2" rowspan="1"&gt;NB-IoT&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Also known as&lt;/td&gt;
&lt;td colspan="1" headers="d2546e63" rowspan="1"&gt;LTE CAT-M1,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="A low-power wide area network radio technology standard developed by 3GPP to enable a wide range of cellular devices and services." href="https://infocenter.nordicsemi.com/topic/nwp_044/dita_common/glossary/glossary.html#emtc"&gt;&lt;dfn&gt;Enhanced Machine Type Communication (eMTC)&lt;/dfn&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;LTE Cat-NB1 (3GPP rel 13)&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;LTE Cat-NB2 (3GPP rel 14)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Bandwidth&lt;/td&gt;
&lt;td colspan="1" headers="d2546e63" rowspan="1"&gt;1.4 MHz&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;200 kHz&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;200 kHz&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Max throughput (DL/UL)&lt;/td&gt;
&lt;td colspan="1" headers="d2546e63" rowspan="1"&gt;300/375 kbps&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;30/60 kbps&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;127/169 kbps&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Latency&lt;/td&gt;
&lt;td colspan="1" headers="d2546e63" rowspan="1"&gt;50-100ms&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;1.5-10s&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Typical range&lt;/td&gt;
&lt;td colspan="1" headers="d2546e63" rowspan="1"&gt;&amp;lt;11 km&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;&amp;lt;15 km&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;&amp;lt;15 km&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Mobility/cell reselection&lt;/td&gt;
&lt;td colspan="1" headers="d2546e63" rowspan="1"&gt;Yes&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;No&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;Limited&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Roaming&lt;/td&gt;
&lt;td colspan="1" headers="d2546e63" rowspan="1"&gt;Yes&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;Limited&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;Limited&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Deployment density&lt;/td&gt;
&lt;td colspan="1" headers="d2546e63" rowspan="1"&gt;Up to 50 000 per cell&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;Up to 50 000 per cell&lt;/td&gt;
&lt;td colspan="1" headers="d2546e66" rowspan="1"&gt;Up to 50 000 per cell&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2546e60" rowspan="1"&gt;Battery lifetime&lt;/td&gt;
&lt;td colspan="3" headers="d2546e63 d2546e66" rowspan="1"&gt;Up to 12 years&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_044/WP/nwp_044/lte_technology.html#fntarg_1" name="fnsrc_1"&gt;&lt;sup&gt;1&lt;/sup&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;What is your location? Do you have equal access to both LTE-M and NB-IoT?&lt;/p&gt;
&lt;p&gt;Will have a look at your attachments, in the meantime please read through our white paper &lt;a href="https://infocenter.nordicsemi.com/topic/nwp_044/WP/nwp_044/intro.html"&gt;nWP044 - Best practices for cellular IoT development&lt;/a&gt;.&amp;nbsp;&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></channel></rss>