<?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 Udp with psm sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51307/nrf9160-udp-with-psm-sample</link><description>Hy, 
 I have a question to the udp_with_psm sample. To my situation: first it looks like as it works correct (find LTE-NB connection, open socket and send data), but the sent data never arrives at our UDP-Server and the Nordic board is in idle speed to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Sep 2019 05:55:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51307/nrf9160-udp-with-psm-sample" /><item><title>RE: NRF9160 Udp with psm sample</title><link>https://devzone.nordicsemi.com/thread/208574?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2019 05:55:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb0eb9a9-1686-492c-a3b6-bb20d6c8f0b8</guid><dc:creator>SebastianF</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;An extend repository can be found at this Link:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples"&gt;https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;KR, Sebastian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Udp with psm sample</title><link>https://devzone.nordicsemi.com/thread/208529?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2019 18:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfdfae1c-6af0-4be1-b93d-18dfbe387923</guid><dc:creator>guyd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Where can I find this&amp;nbsp;&lt;span&gt;udp_with_psm sample?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Guy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Udp with psm sample</title><link>https://devzone.nordicsemi.com/thread/206118?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 12:35:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db6bf33e-0aac-4a95-97de-b1106e47f21b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Sebastian,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Glad to hear that it started working!&lt;/p&gt;
[quote user="Sebastian Fragner"]&amp;gt;&amp;nbsp;Which possibilities do I have to set the apn, except manually?[/quote]
&lt;p&gt;You can either hard-code it in the application (runtime set at every boot), or store it once using at_client (before modem is active) by issuing&amp;nbsp;new APN, then &amp;quot;AT+CFUN=0&amp;quot; to store it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Udp with psm sample</title><link>https://devzone.nordicsemi.com/thread/206006?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 05:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba816c7c-f786-48a4-ab31-3069479a355a</guid><dc:creator>SebastianF</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, other samples get a connection on my kit (for example at_client). I checked the systemmode too and it returned the same value as you suggested it (%XSYSTEMMODE: 0,1,0,0).&lt;/p&gt;
&lt;p&gt;Is there something else I can try?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT:&lt;/p&gt;
&lt;p&gt;&amp;gt; I may found the reason why I can send a package but the server does not receive it. The kit chooses a private apn of my provider.&lt;/p&gt;
&lt;p&gt;&amp;gt; I do have a public apn but how and when should I set it in the udp_with_psm sample?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT:&lt;/p&gt;
&lt;p&gt;&amp;gt; Now I am sure that the wrong apn caused the issue. Why I know that: If my public apn is set manually (+CGDCONT=...) via the LTE Link Monitor right after the start of&amp;nbsp;zephyr booting, the kit registers with the correct apn and I can receive the sent data in our server. *happy* ;)&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp;Which possibilities do I have to set the apn, except manually?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;KR, Sebastian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Udp with psm sample</title><link>https://devzone.nordicsemi.com/thread/205797?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2019 08:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96a9a4d5-6734-4d14-8897-7f2dff1e8dc5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does any other sample get a connection on your kit?&lt;/p&gt;
&lt;p&gt;Have you tried using the at_client to see if that works (post a log if you have issues)? Note that you have to change the systemmode (AT%XSYSTEMMODE=0,1,0,0) before enabling the modem to enable NB1.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Udp with psm sample</title><link>https://devzone.nordicsemi.com/thread/205619?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 12:55:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd25c767-5f73-4d46-bbb1-18a7622b36ed</guid><dc:creator>SebastianF</dc:creator><description>&lt;p&gt;The unmodified sample does not seem to work (I assume the network type NB is not selected).&lt;/p&gt;
&lt;p&gt;The only difference between the unmodified and mine is the added line in the prj.conf:&amp;nbsp;CONFIG_LTE_NETWORK_MODE_NBIOT=y and a different host and port in the main.c.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The file below shows the output where I only changed the prj.conf:&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4101.test1.txt"&gt;devzone.nordicsemi.com/.../4101.test1.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This file is with the modified prj.conf, host and port:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/test2.txt"&gt;devzone.nordicsemi.com/.../test2.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;KR, Sebastian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Udp with psm sample</title><link>https://devzone.nordicsemi.com/thread/205598?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 12:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07e35481-bb53-4eab-a88b-11c0766e00fe</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does the unmodified sample work?&lt;/p&gt;
&lt;p&gt;What is the output from your current modified version?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>