<?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>Transferring large data over TWIS and send it via Bluetooth</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74959/transferring-large-data-over-twis-and-send-it-via-bluetooth</link><description>Hello, 
 I am developing a project with a host processor and Minew BT module with NRF52811. The module and the host processor are communicating via I2C (TWIS). The host processor is a master and the BT module is a slave. 
 We have a main application on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 May 2021 09:31:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74959/transferring-large-data-over-twis-and-send-it-via-bluetooth" /><item><title>RE: Transferring large data over TWIS and send it via Bluetooth</title><link>https://devzone.nordicsemi.com/thread/309436?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 09:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3b19234-696f-421f-b4b8-574054bf18f0</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="kj_sk995"]unfortunately, the bigger S140 SD is not an option for us. &lt;br /&gt;The main question is for the logic implementation and maybe some other implementation suggestion, since I&amp;#39;ve got good results for the throughput with the S112 if I send notifications with the test code snippet from above.[/quote]
&lt;p&gt;&amp;nbsp;I understand.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]The module gets the first 244 bytes from the HTTP response and sends a notification to the Android app. After that, the module will get the next chunk of 244 bytes of data whenever the module receives BLE_GATTS_EVT_HVN_TX_COMPLETE event (there is a little delay of ~12ms for the host processor to query information that chunk needs to be sent, and get the next chunk with RTS signal and send it via I2C).[/quote]
&lt;p&gt;I think the bottleneck in your program is here. I agree on using multiple buffers so that you can collect data while you send the other buffers over BLE would improve the throughput significantly.&amp;nbsp;It&amp;#39;s a good idea.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring large data over TWIS and send it via Bluetooth</title><link>https://devzone.nordicsemi.com/thread/309344?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 23:44:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:449c8d57-1571-4402-b643-4192bdec8b05</guid><dc:creator>kj_sk995</dc:creator><description>&lt;p&gt;Hey Jared,&lt;/p&gt;
&lt;p&gt;unfortunately, the bigger S140 SD is not an option for us. &lt;br /&gt;The main question is for the logic implementation and maybe some other implementation suggestion, since I&amp;#39;ve got good results for the throughput with the S112 if I send notifications with the test code snippet from above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring large data over TWIS and send it via Bluetooth</title><link>https://devzone.nordicsemi.com/thread/309235?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 12:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b1c251d-b1ff-4d8e-979f-b8d0681ad0d1</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have room for the bigger S140 softdevice? It supports the&amp;nbsp;Data length Extension feature that can be used for sending larger data packets.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>