<?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>How to transfer huge data over ble?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66461/how-to-transfer-huge-data-over-ble</link><description>Hi, 
 I currently need to stream 1000 data samples over BLE, each data sample is 14 bit value, hence i&amp;#39;ll be using a short integer but i&amp;#39;m confused as to how to send it over BLE, 
 i have looked and read many comments with similar query but all of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Sep 2020 13:26:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66461/how-to-transfer-huge-data-over-ble" /><item><title>RE: How to transfer huge data over ble?</title><link>https://devzone.nordicsemi.com/thread/272334?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 13:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8292334a-0f93-48e4-819e-784efc1a8ae9</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;If you want to use dfu as a base you probably want to look at the &lt;span&gt;&lt;a title="DFU Packet" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_dfu_transport_ble.html?cp=7_1_3_5_2_2_2#lib_dfu_transport_ble_dfu_packet"&gt;DFU Packet&lt;/a&gt;&lt;/span&gt;, and not the control point for the datatransfer part. Note that DFU is designed to transfer data from the gatt client to the gatt server.. Other alternatives could be the &lt;span&gt;&lt;a title="Experimental: ATT_MTU Throughput Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_att_mtu.html?cp=7_1_4_2_1_0"&gt;Experimental: ATT_MTU Throughput Example&lt;/a&gt;&lt;/span&gt;&lt;span&gt; but this does not handle dividing and combining data, as it just sends garbage.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer huge data over ble?</title><link>https://devzone.nordicsemi.com/thread/271914?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 04:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5d2f11-8384-4c26-b469-8179d0815bc8</guid><dc:creator>Sandeep singh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;nbsp;balomuller, thank you&amp;nbsp; for your reply. One more doubt i have, this is the code what you were referring to if i&amp;#39;m not wrong?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;memset(&amp;amp;hvx_params, 0, sizeof(hvx_params));&lt;/p&gt;
&lt;p&gt;hvx_len = len;&lt;br /&gt; hvx_data[0] = DFU_OP_RESPONSE_CODE;&lt;br /&gt; hvx_data[1] = (uint8_t)op_code;&lt;br /&gt; hvx_data[2] = (uint8_t)rsp_code;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here the&amp;nbsp;MAX_CTRL_POINT_RESP_PARAM_LEN macro is set to 3, what is the max number that we can provide??&lt;/p&gt;
&lt;p&gt;is it 20??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer huge data over ble?</title><link>https://devzone.nordicsemi.com/thread/271853?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 15:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1ad1ccb-c9fb-423b-b345-985da708ada5</guid><dc:creator>balomueller</dc:creator><description>&lt;p&gt;Hi Sandeep,&lt;/p&gt;
&lt;p&gt;you are right, splitting up the data into chunks and combining them afterwards is the right way.&lt;/p&gt;
&lt;p&gt;You can have a look into the dfu code in the SDK. There it is already implemented. So you could copy that code for your own purposes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;All the best!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>