<?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>Turn off DTLS in LwM2M Client sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92323/turn-off-dtls-in-lwm2m-client-sample</link><description>Hello there, 
 I am looking for a way to connect to the Eclipse Leshan Server without DTLS using the LwM2M Client sample. However, this does not seem to be so easy. 
 The config contains the option: CONFIG_LWM2M_DTLS_SUPPORT=y . It is not possible to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Sep 2022 15:52:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92323/turn-off-dtls-in-lwm2m-client-sample" /><item><title>RE: Turn off DTLS in LwM2M Client sample</title><link>https://devzone.nordicsemi.com/thread/387983?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 15:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5b4ba3a-a4b4-4bc9-888a-1e43efe183d2</guid><dc:creator>Kurt Simon</dc:creator><description>&lt;p&gt;I changed&amp;nbsp;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;have_permanently_stored_keys = false;&lt;/pre&gt;&amp;nbsp;to&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;#if defined(CONFIG_LWM2M_DTLS_SUPPORT)
	have_permanently_stored_keys = false;
#endif /* CONFIG_LWM2M_DTLS_SUPPORT */&lt;/pre&gt;&amp;nbsp;in lwm2m_init_security()&lt;/p&gt;
&lt;p&gt;dir: sdk-nrf/subsys/net/lib/lwm2m_client_utils/lwm2m/lwm2m_security.c&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It now works =)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>