<?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>Why BLE disconnection occurs while sending large data?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24243/why-ble-disconnection-occurs-while-sending-large-data</link><description>Hi, 
 I am testing with ble_app_uart code for handling UART data. If the data is more the device is getting disconnected from the central device. I am thinking that, BLE device is getting reset when the data is more. I thought that due to excess of data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Aug 2017 13:54:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24243/why-ble-disconnection-occurs-while-sending-large-data" /><item><title>RE: Why BLE disconnection occurs while sending large data?</title><link>https://devzone.nordicsemi.com/thread/95443?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2017 13:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2393e871-6348-41bb-a6a9-71e0919ea88f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Mani&lt;/p&gt;
&lt;p&gt;The problem seems to be that you some times have a very high rate of UART activity, followed by periods of less activity.&lt;br /&gt;
The only way I can see to properly solve this issue is to have a huge UART buffer on the transmitter side (that would be the RX buffer of the UART, since you are receiving over the UART and transmitting over the radio).&lt;br /&gt;
Could you try to set the UART RX buffer to something like 16000 bytes and see if it solves the issue?&lt;br /&gt;
The nRF52832 has 64kB of RAM in total, and most of that should be available to the application, so you might try to go all the way up to 32kB of RAM for the UART.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why BLE disconnection occurs while sending large data?</title><link>https://devzone.nordicsemi.com/thread/95445?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 10:37:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54e5526e-cb5c-4454-9a0d-a070314d8d30</guid><dc:creator>Mani</dc:creator><description>&lt;p&gt;I have attached the video in the following link :
&lt;a href="https://drive.google.com/file/d/0B2ylYtPasKOCN3JQSWxVVW45bms/view?usp=sharing"&gt;link text&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tab 1: Data from Device under test       Tab2: Receiver&lt;br /&gt;
Both side has nRF52 Evaluation board.&lt;/p&gt;
&lt;p&gt;And my code is  in &lt;a href="https://drive.google.com/file/d/0B2ylYtPasKOCU2hZVlh4b3VDUFE/view?usp=sharing"&gt;link text&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In that video you can find that there is huge loss and also board lost the connection in between the process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why BLE disconnection occurs while sending large data?</title><link>https://devzone.nordicsemi.com/thread/95444?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 07:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:120fd26c-5c79-4fab-8661-c6e358d104b6</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Sure, if you have a video to share that might be helpful :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why BLE disconnection occurs while sending large data?</title><link>https://devzone.nordicsemi.com/thread/95442?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 07:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79458b06-f82a-4a3a-9bb6-470c8d46854e</guid><dc:creator>Mani</dc:creator><description>&lt;p&gt;Even with this code also my device is getting restarted. I can share the video also if you want..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why BLE disconnection occurs while sending large data?</title><link>https://devzone.nordicsemi.com/thread/95441?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2017 10:55:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f9f83e3-3f79-4adc-9303-5402fc923d53</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Mani&lt;/p&gt;
&lt;p&gt;Could you try the attached example?&lt;/p&gt;
&lt;p&gt;I tried to change the buffering a bit, so that the example would not assert on a BLE buffer overflow:&lt;br /&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6685.nrf52_2D00_ble_2D00_app_2D00_uart_2D00_flow_2D00_control.zip"&gt;nrf52-ble-app-uart-flow-control.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>