<?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>Send file to server over CoAP ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96746/send-file-to-server-over-coap</link><description>Hi, 
 
 I am currently doing a project where I need to send files (from 50 to 300kB) to a server using nRF9160. I&amp;#39;d like to know which protocol would be more suitable to do this. 
 I was thinking of CoAP, because I don&amp;#39;t need to have a constant connexion</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Feb 2023 17:04:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96746/send-file-to-server-over-coap" /><item><title>RE: Send file to server over CoAP ?</title><link>https://devzone.nordicsemi.com/thread/410456?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 17:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:741400de-86d4-42e7-8ac3-f63786805d5b</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;You may check some limits of such a http request. Not that you can&amp;#39;t use it for more than say 10k.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send file to server over CoAP ?</title><link>https://devzone.nordicsemi.com/thread/410450?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 16:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee50a796-99b9-4bd9-a700-a10f854f9e24</guid><dc:creator>A. Mullot</dc:creator><description>&lt;p&gt;Actually, I realized that I could also send files through http, once that the device has a LTE or NB-IoT connection. I&amp;#39;m currently investigating this way of doing it, I&amp;#39;ll let you know how it goes.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the https_client sample, and trying to modify the request.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send file to server over CoAP ?</title><link>https://devzone.nordicsemi.com/thread/410297?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 10:27:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98eaac60-6827-4b62-a807-f23ea7ceb9c2</guid><dc:creator>A. Mullot</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the answer. I&amp;#39;ll start by taking a look at this blockwise extension.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Armand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send file to server over CoAP ?</title><link>https://devzone.nordicsemi.com/thread/410284?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 09:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd882f8e-a00c-4dbe-85b7-1eddc21449bf</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;General, CoAP (RFC 7252) has an extension called &amp;quot;blockwise&amp;quot; (RFC 7959), which sends larger payload in single blocks.&lt;/p&gt;
&lt;p&gt;In your case, if you use it for a PUT or POST, you need to test, if that works &amp;quot;reliable&amp;quot; enough. Mainly because many server-side blockwise implementations are only considered for smaller transfers with a couple of blocks, and not for larger ones, which may come with some breaks and resumptions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>