<?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>How to use PSM with UDP on DK 0.8.5?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50071/how-to-use-psm-with-udp-on-dk-0-8-5</link><description>I&amp;#39;ve been attempting to use PSM but got an error. 
 I&amp;#39;ve already checked the post below. I download the project file and fixed a bit. 
 https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/hardware-design/posts/measuring-psm-idle-current-on-the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jul 2019 12:22:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50071/how-to-use-psm-with-udp-on-dk-0-8-5" /><item><title>RE: How to use PSM with UDP on DK 0.8.5?</title><link>https://devzone.nordicsemi.com/thread/199781?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 12:22:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43c95e2b-a36d-4ce8-9512-088e7c3e690d</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thank you so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use PSM with UDP on DK 0.8.5?</title><link>https://devzone.nordicsemi.com/thread/199702?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 09:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b04f4b3-ff27-4d50-a981-3904c0adb41a</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, Yusuke!&lt;br /&gt;&lt;br /&gt;Comparing with the original sample it seems like you have removed the line freeing the memory for&amp;nbsp;&lt;strong&gt;res&lt;/strong&gt; inside&amp;nbsp;&lt;strong&gt;app_udp_start()&lt;/strong&gt;. This will lead to undefined behavior and potential errors.&lt;br /&gt;The end of the function is supposed to look like this:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;error:
    freeaddrinfo(res); // ---- You have removed this line ----
	printk(&amp;quot;Finished\n&amp;quot;);
	(void)close(client_fd);&lt;/pre&gt;&lt;br /&gt;I did not get the error when I added this to your code.&lt;br /&gt;&lt;br /&gt;Note that the iBasis card don&amp;#39;t have support for PSM as far as I know. I recommend you to get another provider.&lt;br /&gt;&lt;br /&gt;All the best&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>