<?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>Sending securely UDP data using nRF9160 and authenticating received data on server end</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67798/sending-securely-udp-data-using-nrf9160-and-authenticating-received-data-on-server-end</link><description>Hi 
 After successfully testing nRF9160 SLM app. we plan to use nRF9160 with UDP and LwM2M protocol in our smart devices. We also have our private cloud server where all the data will be sent. Are there any guidelines / documents that we can follow? </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Nov 2020 14:15:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67798/sending-securely-udp-data-using-nrf9160-and-authenticating-received-data-on-server-end" /><item><title>RE: Sending securely UDP data using nRF9160 and authenticating received data on server end</title><link>https://devzone.nordicsemi.com/thread/278299?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2020 14:15:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48bfd032-6462-4c37-9c1b-3e9be45b7098</guid><dc:creator>SilasV</dc:creator><description>&lt;p&gt;Hi Didrik&lt;/p&gt;
&lt;p&gt;Thank you for all the information! I will work on this example and see how it goes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending securely UDP data using nRF9160 and authenticating received data on server end</title><link>https://devzone.nordicsemi.com/thread/278120?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 14:42:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5383fe7b-0c64-44b3-bdf1-5fd23b6d04cb</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Documentation for samples:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples.html#nrf9160-samples"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples.html#nrf9160-samples&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The LwM2M client sample has some information on how to test the sample against the Leshan demo server. Other than that, I don&amp;#39;t think there are much information relevant for this case, but you might find something I did not think of.&lt;/p&gt;
&lt;p&gt;You can find the samples themselves in the nrf/samples/nrf9160 folder in your NCS installation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending securely UDP data using nRF9160 and authenticating received data on server end</title><link>https://devzone.nordicsemi.com/thread/277937?ContentTypeID=1</link><pubDate>Sun, 01 Nov 2020 23:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:477bebd2-0309-4e3f-9ddd-427f771f8578</guid><dc:creator>SilasV</dc:creator><description>&lt;p&gt;Hi Didrik&lt;/p&gt;
&lt;p&gt;thank you for your reply! sure DTLS would be the right way.&lt;/p&gt;
&lt;p&gt;At present we have&amp;nbsp;a&amp;nbsp;cloud server which implements HTTP integration - with device data coming from LoRa server. Now we are looking into providing NB IoT connectivity option for our smart devices using nRF9160 SLM, and UDP&amp;nbsp;with LwM2M seems to be good option.&amp;nbsp;&lt;/p&gt;
[quote userid="81181" url="~/f/nordic-q-a/67798/sending-securely-udp-data-using-nrf9160-and-authenticating-received-data-on-server-end/277865#277865"]what you might find in some samples.[/quote]
&lt;p&gt;Can you provide link to such examples?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If anyone has already implemented such a setup (UDP + LwM2M client-server), would you please comment and share your experience?&lt;/p&gt;
&lt;p&gt;Thanks &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending securely UDP data using nRF9160 and authenticating received data on server end</title><link>https://devzone.nordicsemi.com/thread/277865?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 15:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe366487-1c73-455e-a887-31bac332a3cf</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, we do not have any documentation on how to set up the cloud side of things other than what you might find in some samples.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]1. How can we secure this setup?&amp;nbsp;Of course the UDP messages will be in binary and&amp;nbsp;encrypted.&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;The LwM2M client supports DTLS. Other than that, I am not quite sure what you mean. What do you want to secure? Against what?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]2. What is the way to avoid any third party messages / spoofing attacks hitting our server?&amp;nbsp;&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;You can use DTLS, and the built in LwM2M mechanisms for verifying the client. &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>