<?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 CoAP Block-wise requests (NCS 2.0.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92333/sending-coap-block-wise-requests-ncs-2-0-0</link><description>I am having difficulty getting Thread Block-wise Transfers working correctly using the API from NCS v2.0.0. It was my understanding that the otCoapSendRequestBlockWise function abstracts the process of managing block-wise transfers. 
 How is the otCoapSendRequestBlockWise</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jan 2026 18:34:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92333/sending-coap-block-wise-requests-ncs-2-0-0" /><item><title>RE: Sending CoAP Block-wise requests (NCS 2.0.0)</title><link>https://devzone.nordicsemi.com/thread/558425?ContentTypeID=1</link><pubDate>Fri, 09 Jan 2026 18:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27d6b334-a8f9-47ed-b6c7-ac9108edde71</guid><dc:creator>gc0rreiab</dc:creator><description>&lt;p data-start="83" data-end="310"&gt;Did you get the block-wise functionality working as expected? Could you share a small example?&lt;/p&gt;
&lt;p data-start="83" data-end="310"&gt;Before jumping into custom firmware development, I used the ot-cli sample to evaluate the feasibility of transmitting large payloads&amp;nbsp;but my server isn&amp;rsquo;t receiving any data.&lt;/p&gt;
&lt;p&gt;To test, I used the following command:&lt;/p&gt;
&lt;div class="content-scrollable-wrapper"&gt;
&lt;pre&gt;&lt;code&gt;$ ot coap put &amp;lt;synthesized IPv6 address of the CoAP server&amp;gt; &amp;lt;uri&amp;gt; block-64 40&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;From the &lt;a href="https://openthread.io/reference/cli/commands#coap_put"&gt;documentation&lt;/a&gt;, this command will transmit 40 data blocks of 64 bytes each to the CoAP server. However, no payload ever arrives at my CoAP server. The value 40 is intended to represent the number of blocks to send, with the actual payload consisting of random bytes. Is the block-wise implementation in OT-CLI working as expected?&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://openthread.io/reference/cli/commands#coap_put"&gt;documentation&lt;/a&gt; also states:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;The block- type requires OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE to be set.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Do I need to enable this configuration? If so, can I do it in the prj.conf file like this?&lt;/p&gt;
&lt;div class="content-scrollable-wrapper"&gt;
&lt;pre&gt;&lt;code&gt;CONFIG_OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE=y&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending CoAP Block-wise requests (NCS 2.0.0)</title><link>https://devzone.nordicsemi.com/thread/388385?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 13:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9f8c3ac-9f8a-4bc1-9e0d-b847d5d6dfc6</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Glad to hear you found a sample that you could guide you. I was about to suggest the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_thread.html"&gt;OpenThread samples&lt;/a&gt; we have in the SDK, while we waited for an answer from our OpenThread team, but that seems to be redundant now.&lt;br /&gt;&lt;br /&gt;I will mark this ticket as verified and close it by tomorrow, so let me know if you have any additional questions related to this ticket before then and I&amp;#39;ll keep it open.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending CoAP Block-wise requests (NCS 2.0.0)</title><link>https://devzone.nordicsemi.com/thread/388228?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 21:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19d9c648-92f9-4880-9c10-c25043110265</guid><dc:creator>Tristen</dc:creator><description>&lt;p&gt;I figured out my issue. First I realized there was the CoAP CLI example (found in&amp;nbsp;&lt;code&gt;C:\ncs\v2.0.0\modules\lib\openthread\src\cli&lt;/code&gt;) which was very helpful. My bigger issue was that my block-wise callback was not properly copying memory from the local buffer into the CoAP buffer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>