<?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>when transfer long string using UART service (string length is over 300bytes.), BLE connection was disconnected by some error.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34414/when-transfer-long-string-using-uart-service-string-length-is-over-300bytes-ble-connection-was-disconnected-by-some-error</link><description>hello all, 
 
 i am developing with BLE_NUS. 
 
 i want to sent the string data on BLE using UART example. 
 
 string data length is over 300 bytes like belows. 
 
 55AA FFFF 0526 0111 0001 2008 2208 2108 1D08 1B08 1D08 2208 2508 2308 1B08 1508 1708 2108</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 May 2018 09:32:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34414/when-transfer-long-string-using-uart-service-string-length-is-over-300bytes-ble-connection-was-disconnected-by-some-error" /><item><title>RE: when transfer long string using UART service (string length is over 300bytes.), BLE connection was disconnected by some error.</title><link>https://devzone.nordicsemi.com/thread/134153?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 09:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14517a47-1d07-47da-b7c2-f9cfe547355a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&lt;strong&gt;- What error ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please try to &lt;strong&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;debug&lt;/a&gt;&amp;nbsp;&lt;/strong&gt;and provide any error codes/logs of what is happening.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: when transfer long string using UART service (string length is over 300bytes.), BLE connection was disconnected by some error.</title><link>https://devzone.nordicsemi.com/thread/133559?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 05:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f6b5d12-574b-4159-a8fa-0c840280a396</guid><dc:creator>dongsung kim</dc:creator><description>&lt;p&gt;i did it with Throughput example as default config. that is OK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;but when i use ble_app_uart, i can&amp;#39;t transmit long string data(300byte).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;because there was occurred error and application is restarted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: when transfer long string using UART service (string length is over 300bytes.), BLE connection was disconnected by some error.</title><link>https://devzone.nordicsemi.com/thread/132786?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 13:24:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf18c93e-1804-4a48-b9a9-c81b119006b3</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Kim,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Check out the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_att_mtu.html" target="_blank" rel="noopener noreferrer"&gt;Throughput example and documentation&lt;/a&gt; of the different parameters you can change on how to increase the Throughput,.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The ATT_MTU Throughput Example shows how different connection parameters influence the throughput performance of BLE connections. The following parameters can be tuned:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;ATT_MTU size: The default Maximum Transmission Unit (MTU) is 23 bytes. When increasing this value, longer ATT payloads can be achieved, increasing ATT throughput.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Data length: The default data length for a radio packet is 27 bytes. Data length extension allows to use larger radio packets, so that more data can be sent in one packet, increasing throughput.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Connection interval: The connection interval defines how often the devices must listen on the radio. When increasing this value, more packets may be sent in one interval, but if a packet is lost, the wait until the retransmission is longer. Increasing this value can increase throughput, provided that the GAP event length increases by the same amount or connection event length extension is enabled.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Physical layer (PHY) data rate: The over-the-air data rate used to be limited to 1 Ms/s in&amp;nbsp;Bluetooth&amp;nbsp;low energy. Starting with&amp;nbsp;Bluetooth&amp;nbsp;5, higher data data rates are permitted to achieve faster transmission, and it is possible to use coded PHY (available on the nRF52840 SoC only) for long-range transmission.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Connection event length extension: This option controls if the SoftDevice should attempt to extend the radio time for connections in a connection interval. This can positively affect throughput by making it possible to send more packets in a connection interval. This effect increases with the duration of the connection interval.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;GAP event length: This setting determines the duration of a connection event within a connection interval. Increasing this value can greatly affect the throughput.&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>