<?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>Implement simple block transfer CoAP in thread</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76117/implement-simple-block-transfer-coap-in-thread</link><description>Hi, 
 
 Can you please guide me if I want to receive a larger message of around 15KB from server, how can I do it using CoAP block transfer in thread. 
 I am using nRF5 SDK for Thread and Zigbee v4.0.0 for my development. 
 I need to send a conformable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Dec 2025 18:55:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76117/implement-simple-block-transfer-coap-in-thread" /><item><title>RE: Implement simple block transfer CoAP in thread</title><link>https://devzone.nordicsemi.com/thread/557018?ContentTypeID=1</link><pubDate>Mon, 15 Dec 2025 18:55:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97b19663-987e-430c-86af-387ac5b4997b</guid><dc:creator>gc0rreiab</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;The Zephyr CoAP library also implements&amp;nbsp;block-wise transfers.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Could you point me to the part of the Zephyr CoAP library that implements block-wise transfer, or provide a reference on how to get started? I would like to transmit payloads of up to 2500 bytes to a CoAP server over OpenThread.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implement simple block transfer CoAP in thread</title><link>https://devzone.nordicsemi.com/thread/314230?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 13:13:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25c431a2-5439-4360-9b8d-88e3fa3b886f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Unfortunately, we do not have any other examples that show how to transfer larger files over CoAP in Thread network.&lt;/p&gt;
&lt;p&gt;There was also recently &lt;a href="https://github.com/openthread/openthread/pull/4247"&gt;added support for CoAP block-wise transfers in the OpenThread CoAP API&lt;/a&gt;, but this would require you to rebuild the libraries for the latest OpenThread version, and migrate all function changes in the SDK to work with this new version. There is also no examples that shows how to use this API in nRF5 SDK.&lt;/p&gt;
&lt;p&gt;Another option would be to switch to using nRF Connect SDK. The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/zephyr/reference/networking/coap.html?highlight=block%20wise"&gt;Zephyr COAP library&lt;/a&gt; also implements block-wise transfers.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implement simple block transfer CoAP in thread</title><link>https://devzone.nordicsemi.com/thread/314224?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 12:58:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a295c256-5ed3-4f42-9cce-1054544c0cc3</guid><dc:creator>mj_zen</dc:creator><description>&lt;p&gt;I have question with request to Thread Secure DFU protocol. Is there any simpler example to implement that solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implement simple block transfer CoAP in thread</title><link>https://devzone.nordicsemi.com/thread/314194?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 11:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475f15a4-f0ff-4c8f-bcea-714ed7161c91</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will recommend you to have a look at our&amp;nbsp;&lt;a title="Thread Secure DFU protocol" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/thread_ot_secure_dfu.html?cp=8_3_2_8"&gt;Thread Secure DFU protocol&lt;/a&gt;&amp;nbsp;solution. This uses CoAP blocks to transfer the new firmware from the server to the client. In &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/thread_ot_secure_dfu.html#thread_ot_secure_dfu_modes_unicast"&gt;unicast mode&lt;/a&gt;, the client will send GET request messages to the server to request each block.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>