<?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>Data Transfer between SoftDevice and Android too slow.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44112/data-transfer-between-softdevice-and-android-too-slow</link><description>All, 
 We have an issue with the data transfer rate between a device that uses a nRF52480 (Rigado-340). 
 We are sending a number of data chunks, approximately 400, where each chunk is 32634 bytes long. 
 We call the SoftDevice and pass in a buffer containing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Mar 2019 15:16:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44112/data-transfer-between-softdevice-and-android-too-slow" /><item><title>RE: Data Transfer between SoftDevice and Android too slow.</title><link>https://devzone.nordicsemi.com/thread/173748?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 15:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f1bdac3-f2b9-4700-a3ee-dcf75661e6e0</guid><dc:creator>awneil</dc:creator><description>[quote userid="77592" url="~/f/nordic-q-a/44112/data-transfer-between-softdevice-and-android-too-slow/173026"]Settings in the FW (Peripheral)[/quote]
&lt;p&gt;But what settings is the phone actually granting in the actual connection?&lt;/p&gt;
&lt;p&gt;Remember that the phone is &lt;em&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/em&gt; obliged to give you those settings!&lt;/p&gt;
&lt;p&gt;It is likely to vary from phone-to-phone, and can even vary from one connection to the next on the &lt;em&gt;same&lt;/em&gt; phone!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data Transfer between SoftDevice and Android too slow.</title><link>https://devzone.nordicsemi.com/thread/173739?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 14:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50cfa953-3f64-4074-ba77-5163de6d119b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Are you using notification or indication to send the packets?&lt;/p&gt;
&lt;p&gt;Could you try to set&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH&amp;nbsp; to 320?&lt;/p&gt;
&lt;p&gt;It could be that these&amp;nbsp;smartphones&amp;nbsp;only support 1 packet each connection interval&amp;nbsp;when using&amp;nbsp;DLE and max MTU.&lt;/p&gt;
&lt;p&gt;A sniffer log would tell us more about what is going on, see&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer"&gt;&amp;nbsp;this page.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data Transfer between SoftDevice and Android too slow.</title><link>https://devzone.nordicsemi.com/thread/173026?ContentTypeID=1</link><pubDate>Tue, 26 Feb 2019 12:53:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e18d1a09-d74f-4be4-aa2a-80efdbdf05d5</guid><dc:creator>Norman Davidson</dc:creator><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please see the answers below&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What SDK version are you using ? &amp;nbsp;&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;15.0.0&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What is the connection interval?&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Settings in the FW (Peripheral):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;MIN_CONN_INTERVAL: MSEC_TO_UNITS(7.5, UNIT_1_25_MS)&lt;/p&gt;
&lt;p&gt;MAX_CONN_INTERVAL: MSEC_TO_UNITS(400, UNIT_1_25_MS)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What phone are you using ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Samsung J3 and Nokia 7.1. Both have the same issues. ie Bluetooth 4.2 and Bluetooh 5&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What is the value of&amp;nbsp;&lt;em&gt;NRF_SDH_BLE_GAP_DATA_LENGTH&lt;/em&gt;,&amp;nbsp;&lt;em&gt;NRF_SDH_BLE_GAP_EVENT_LENGTH&lt;/em&gt; and&amp;nbsp;&lt;em&gt;NRF_SDH_BLE_GATT_MAX_MTU_SIZE&lt;/em&gt; in sdk_config.h ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;NRF_SDH_BLE_GAP_DATA_LENGTH = 251&lt;/p&gt;
&lt;p&gt;NRF_SDH_BLE_GAP_EVENT_LENGTH = 6&lt;/p&gt;
&lt;p&gt;NRF_SDH_BLE_GATT_MAX_MTU_SIZE = 247&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data Transfer between SoftDevice and Android too slow.</title><link>https://devzone.nordicsemi.com/thread/173004?ContentTypeID=1</link><pubDate>Tue, 26 Feb 2019 12:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce1b0328-fd7d-41de-a5cb-4fc19300dbcd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What SDK version are you using ?&lt;/p&gt;
&lt;p&gt;What is the connection interval?&lt;/p&gt;
&lt;p&gt;What phone are you using ?&lt;/p&gt;
&lt;p&gt;What is the value of&amp;nbsp;&lt;em&gt;NRF_SDH_BLE_GAP_DATA_LENGTH&lt;/em&gt;,&amp;nbsp;&lt;em&gt;NRF_SDH_BLE_GAP_EVENT_LENGTH&lt;/em&gt; and&amp;nbsp;&lt;em&gt;NRF_SDH_BLE_GATT_MAX_MTU_SIZE&lt;/em&gt; in sdk_config.h ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>