<?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>DTLS on LWM2M Client</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96406/dtls-on-lwm2m-client</link><description>Hello to all 
 
 I am yet to find a way to turn off DTLS when using the lwm2m client sample. When &amp;#39;CONFIG_LWM2M_DTLS_SUPPORT=n&amp;#39; is set, the lwm2m engine is unable to run. Is there a way to do this? I have found a post where someone asked a similar question</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Feb 2023 11:55:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96406/dtls-on-lwm2m-client" /><item><title>RE: DTLS on LWM2M Client</title><link>https://devzone.nordicsemi.com/thread/409334?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 11:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92ad75fe-84c2-41ef-bfb5-46d646116e5f</guid><dc:creator>Hkhan7861</dc:creator><description>&lt;p&gt;Hi Charlie&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you ! I will make changes accordingly.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Hassan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTLS on LWM2M Client</title><link>https://devzone.nordicsemi.com/thread/408756?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2023 08:34:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d61084d-8674-4383-95c9-679a2f14a7ac</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Hkhan7861,&lt;/p&gt;
&lt;p&gt;I agree that the application logic is not proper here, can you try to modify the following part of the codes&amp;nbsp;&lt;span&gt;in nrf\samples\nrf9160\lwm2m_client\src\main.c&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;  
&lt;div&gt;
&lt;pre&gt;&lt;code&gt;&lt;span style="color:rgba(51, 153, 102, 1);"&gt;#if defined(CONFIG_LWM2M_DTLS_SUPPORT)
&lt;/span&gt;&lt;span&gt;        if (lwm2m_security_needs_bootstrap()) {
&lt;/span&gt;&lt;span&gt;            bootstrap_flags = LWM2M_RD_CLIENT_FLAG_BOOTSTRAP;
&lt;/span&gt;&lt;span&gt;        } else {
&lt;/span&gt;&lt;span&gt;            bootstrap_flags = 0;
&lt;/span&gt;&lt;span&gt;        }
&lt;/span&gt;&lt;span&gt;&lt;span style="color:rgba(51, 153, 102, 1);"&gt;#endif /* CONFIG_LWM2M_DTLS_SUPPORT */&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>