<?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>Wake up from eDRX nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70983/wake-up-from-edrx-nrf9160</link><description>Dear Community, 
 
 I have been testing eDRX on nRF9160. For that, I have modified nRF Connect SDK &amp;quot;udp&amp;quot; sample. I have set eDRX cycle to 20.48s. My program does the following: 
 
 The nRF9160 enters eDRX mode and sends to a Raspberry Pi with static IP</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jan 2021 08:43:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70983/wake-up-from-edrx-nrf9160" /><item><title>RE: Wake up from eDRX nRF9160</title><link>https://devzone.nordicsemi.com/thread/291701?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 08:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d80350e0-d77f-48e7-8b02-28712a55fd5b</guid><dc:creator>isurki</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/didrik-rokhaug"&gt;Didrik Rokhaug&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have measured UDP working time, and as you told me seems to be 1 minute.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;TCP seems to work much better. It worked&amp;nbsp;10 minutes after the first attempt, but I don&amp;#39;t know if it can be enough and I need to do more tests.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have found another way which is to use &lt;a href="https://www.hologram.io/guides/secure-tunneling-with-spacebridge"&gt;Hologram Tunneling&lt;/a&gt;. This option seems to be the most reliable one and it is easy to set up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;All in all, I think I have a solution with Hologram Tunneling and I will test more TCP.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ander.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up from eDRX nRF9160</title><link>https://devzone.nordicsemi.com/thread/291495?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 12:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9668b495-d3e1-4d04-97b4-7031f93e8263</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I don&amp;#39;t know even how this can work, but it seems to work.[/quote]
&lt;p&gt;&amp;nbsp;The operators typically has a small buffer for messages to devices in eDRX and/or PSM. During the next paging window, the network will inform the device that it has some data to download, and an RRC connection will be established so the data can be downloaded.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]However, after some time of inactivity, the nRF9160 seems not to detect new UDP packages are incoming.[/quote]
&lt;p&gt;&amp;nbsp;Based on how you are testing this, it looks like a NAT timeout to me.&lt;/p&gt;
&lt;p&gt;Cellular devices are often behind a carrier operated NAT layer. In other networks, we have seen this NAT layer time out after ~1min for UDP connections. After that, the device would get a new IP address/port, and therefore be unreachable by the old IP address.&lt;/p&gt;
&lt;p&gt;Is it enough that the device regularly sends messages to the cloud, and then the cloud can reply if necessary? or do you need to be able to initiate communication to the device from the cloud?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the first scenario is enough, then that should work without any issues. But if you need the second scenario, you can either try to change to TCP, which typically has much longer NAT timeouts, or you must find an operator which supports SMSes or static IP addresses.&lt;/p&gt;
&lt;p&gt;You local Regional Sales Manager might be able to provide you more information about your local operators.&lt;/p&gt;
&lt;p&gt;If you do not know how to contact your RSM, you can send me a private address with your location, and I will provide you the contact information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>