<?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 packet loss</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85072/nb-iot-packet-loss</link><description>I&amp;#39;m testing a simple application based on the UDP/CoAP example. It samples some peripherals and ADC channels, these values are then packed into a CoAP message. This CoAP message is sent trough the socket api (UDP), and the application waits for a response</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Mar 2022 08:29:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85072/nb-iot-packet-loss" /><item><title>RE: NB-IoT packet loss</title><link>https://devzone.nordicsemi.com/thread/358346?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 08:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c79f1401-e467-4474-b6a8-5113e92d71f4</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;That sounds now great. It matches also my experience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT packet loss</title><link>https://devzone.nordicsemi.com/thread/358337?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 07:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38465272-8221-4a78-b839-236c2a556253</guid><dc:creator>allard.p</dc:creator><description>&lt;p&gt;Yes, I think it was some temporarily network conditions. The same device is now seeing loss of around 1-1.5%, with over 10000 messages sent, I think this is acceptable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT packet loss</title><link>https://devzone.nordicsemi.com/thread/358329?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 07:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdd4e607-8b36-4b91-a444-6874790325d6</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; I will also setup a test in another area, maybe this cell is just busy, I think the number of NB-IoT devices here in the Netherlands is already quite high.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any update? Does it work better in the other area? Did you try to start your communication timers with RRC connected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT packet loss</title><link>https://devzone.nordicsemi.com/thread/354861?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 15:20:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c99c128-3295-4936-a1f6-9a0a8bec2974</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Though my modems are usually wake up from PSM, the time to get connected is sometimes large. In fast cases 2-3s, but 10-15s do also occur (not too often), even larger (luckily rare, I usually give up at 60s).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How long do you wait for your response?&lt;/p&gt;
&lt;p&gt;Not that long &amp;quot;waiting time&amp;quot; consumes more power then a retransmission in time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT packet loss</title><link>https://devzone.nordicsemi.com/thread/354847?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 14:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd4375a5-fac2-4a6a-91a4-71fd1d9ba07a</guid><dc:creator>allard.p</dc:creator><description>&lt;p&gt;The 3% seems to be consistent between requests and responses. The devices are indoors, in an industrial/office area. The number of&amp;nbsp; (our) devices connected to the cell are 3 max. at this moment. I did some test with a high rate, a upload every minute, and also tests with a rate of 10 minutes or &amp;gt;30 minutes, all test result in a loss of around 3%.&lt;/p&gt;
&lt;p&gt;I know CoAP has retransmissions, but I want to prevent them, the packet loss needs to be lower before I enable the retransmissions, to optimize the power usage. I will take a look at the timing, linking the timeouts to the RCC_MODE&amp;#39;s is a good idea, although my timeout is currently longer than the RCC connected time.&lt;/p&gt;
&lt;p&gt;I will also setup a test in another area, maybe this cell is just busy, I think the number of NB-IoT devices here in the Netherlands is already quite high.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT packet loss</title><link>https://devzone.nordicsemi.com/thread/354752?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 09:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ab3adc-cfaa-4922-b0b3-e624d549507a</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;If you write &amp;quot;timeouts/packet loss.&amp;quot;, do you use CON requests? Or NON? (And of course, which client implementation?)&lt;/p&gt;
&lt;p&gt;In my experience with NB-IoT 3% seems to be quite large. So may be there are some other reasons for that.&lt;/p&gt;
&lt;p&gt;One common cause would be some &amp;quot;timing details&amp;quot; using RAI and/or PSM. If the CoAP layer send a message, the modem just start the sending. it takes sometimes a couple of seconds until that message is really send. I use therefore LTE_LC_EVT_RRC_UPDATE - LTE_LC_RRC_MODE_CONNECTED to start the timer for retransmission or response timeout. Also, if the timeout get larger and your device gets in LTE_LC_RRC_MODE_IDLE, you may need some extra time (I use 3s), in order to really receive the response.&lt;/p&gt;
&lt;p&gt;With that, using CON, my retransmission rate is less than 1% and the failure rate is close to 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IoT packet loss</title><link>https://devzone.nordicsemi.com/thread/354693?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 21:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28ff1082-adb4-46d7-b91b-4f33bf1ae603</guid><dc:creator>mcallistertad</dc:creator><description>&lt;p&gt;3% packet loss sounds on the high side&amp;nbsp;with good signal quality - is this consistent across requests and responses? What is the connection density - are they operating in an urban environment, how many devices are connected to the same cell, and how often do they transmit? When they transmit, do they all transmit simultaneously? Latency may be a factor It would be interesting to log the round trip time and see if this coincides with packet loss/ time of day.&lt;br /&gt;&lt;br /&gt;From what I&amp;#39;ve seen, NB-IoT uplinks had a higher rate of success. CoAP&amp;nbsp;is flexible with retransmission schemes, so this may not be a problem.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;sdk-nrf v1.9 and the nRF connect desktop app support PCAP trace capture.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>