<?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>BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24075/ble_app_uart-locks-up-with-high-datarate</link><description>I&amp;#39;m attempting to take a 115k baud stream of NMEA sentences from a GPS sensor, and outputting it to a phone based on the UART example. While I&amp;#39;m not sure if BLE is perfectly capable of handling it, I&amp;#39;d still like to send the maximum number of complete</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Sep 2017 07:40:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24075/ble_app_uart-locks-up-with-high-datarate" /><item><title>RE: BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/thread/94799?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 07:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e4333a-49e0-48b4-a535-e9ed6c6b1c88</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Evgeny&lt;/p&gt;
&lt;p&gt;If you have multiple links running they will have individual buffers. In other words you will be able to send data to peripheral2 even if peripheral1 has run out of buffers.&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: BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/thread/94797?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 21:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:796a2120-af5c-49fc-b5b1-14d49eeff937</guid><dc:creator>Evgeny Erlihman</dc:creator><description>&lt;p&gt;Hi Torbjørn,&lt;/p&gt;
&lt;p&gt;Thank you so much! I am now able to successfully send &amp;quot;large&amp;quot; data from Central to Peripheral. If i had multiple Peripherals connected to one Central, would it be the same TX buffer? Would i be able to send data to peripheral2 if ble_nus_c_string_send to peripheral1 returned with NRF_ERROR_RESOURCES?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/thread/94796?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 06:59:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:592db19b-bc9b-45eb-9970-ca402b6b8ba8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You won&amp;#39;t use notification on the client side, notifications are sent from the server to the client, not the other way around.&lt;br /&gt;
Instead you will use write commands or write requests.&lt;br /&gt;
Have you checked if you receive the BLE_GATTC_EVT_WRITE_CMD_TX_COMPLETE event?&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: BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/thread/94798?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 21:04:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4ad01e5-c54a-4b62-a960-7d0eac27678d</guid><dc:creator>Evgeny Erlihman</dc:creator><description>&lt;p&gt;Thank you for the example. I am using the latest SDK with S132 and trying to send data from Central to Peripheral. If i send several bytes, i do see them on the peripheral side, but i do not get the BLE_GATTS_EVT_HVN_TX_COMPLETE on the central. I think i am missing something in the setup or something else. I am using the ble_app_uart_c and ble_app_uart examples with just modifications in the central to send &amp;quot;more&amp;quot; data, for now, i am sending multiple buffers of 4 bytes in a &amp;quot;large&amp;quot; loop. Can you please point me at what i might be doing wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/thread/94795?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 08:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4b7cea6-e1ce-484c-b6d0-99152aa19edb</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I tried to make a variant of the ble_app_uart example that delays transmission when the NRF_ERROR_RESOURCES error is returned, but I haven&amp;#39;t tested it extensively. If you want to have a look at it you can get it here:  &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/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;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/thread/94801?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2017 20:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c2c9ce4-73e7-423a-8dfb-b8ace1411f40</guid><dc:creator>Evgeny Erlihman</dc:creator><description>&lt;p&gt;What is the right way to send &amp;quot;large&amp;quot; amount of data? Should i retry sending in case i get the NRF_ERROR_RESOURCES?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/thread/94800?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 03:28:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b121444-3e63-41b4-ba56-efd7aac381eb</guid><dc:creator>Drewster</dc:creator><description>&lt;p&gt;Many thanks! Happy to see this chugging along - simply added an if() statement to abandon sending the sentence and then break.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART Locks up with high datarate</title><link>https://devzone.nordicsemi.com/thread/94794?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 10:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c711fc14-a5e8-4340-8217-480cbf97b8c7</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Drewster&lt;/p&gt;
&lt;p&gt;The most common issue with ble_app_uart is if you overflow the BLE stack, since the NRF_ERROR_RESOURCES error is not handled properly in the code.&lt;/p&gt;
&lt;p&gt;Are you able to check if you get this error at any time as a return from the ble_nus_string_send(..) function?&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>