<?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>Streaming data over BLE without any ACK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56199/streaming-data-over-ble-without-any-ack</link><description>Hello, 
 I&amp;#39;m trying to stream data at ~ 30KB/s rate. I use nRF52840 development board with S140 as peripherial and smartphone with &amp;quot;nRF Connect&amp;quot; app as central. UART example works fine and I can send mentioned data in short range, but data rate decrease</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Jan 2020 08:23:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56199/streaming-data-over-ble-without-any-ack" /><item><title>RE: Streaming data over BLE without any ACK</title><link>https://devzone.nordicsemi.com/thread/228038?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 08:23:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69ab5a83-565d-428b-9897-676d16002460</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, apparently there is some two-way communication between the two devices, can you provide a sniffer trace of the connection so we might see what exactly is happening between the two devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Streaming data over BLE without any ACK</title><link>https://devzone.nordicsemi.com/thread/227809?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2020 07:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51c69c12-8b41-45c5-a985-054139f0e2df</guid><dc:creator>Rytis </dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;I have one more question: So if my nRF52840 development board send data using notifications to mobile phone there is no guarantee that smartphone received every packet?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve done some test based on UART example and noticed that in longer range between devices transfer speed decreases but zero packets are lost, i used notifications. So in my theory smartphone as data receiver send some ACK in lower BLE layer to my development board which is peripheral.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Rytis&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Streaming data over BLE without any ACK</title><link>https://devzone.nordicsemi.com/thread/227804?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2020 07:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:797afd14-d7bf-44f9-a301-443ef99cde99</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Rytis&lt;/p&gt;
&lt;p&gt;I think you&amp;#39;ve misunderstood here. Notifications do not need acknowledgments for each packet sent. A notification allows you to queue a certain number of packets before sending, and once the buffer is full, you get a NO_TX_BUFFERS error back from sd_ble_gatts_hvx(). When a packet has been sent you&amp;#39;ll get a BLE_EVT_TX_COMPLETE event and should be able to queue further packets.&lt;/p&gt;
&lt;p&gt;Indications, however, must do an application layer ACK when sending data, making it slower than notifications.&lt;/p&gt;
&lt;p&gt;You can check out &lt;a href="https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/"&gt;this great guide&lt;/a&gt; to see how to maximize throughput in your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Streaming data over BLE without any ACK</title><link>https://devzone.nordicsemi.com/thread/227639?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 11:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce5b6c19-ebd7-4ec4-a644-c5c89246f586</guid><dc:creator>Rytis </dc:creator><description>&lt;p&gt;At ~140m. I&amp;#39;m more interesed about the whole idea to have data stream without any ACK. Maybe this is corner case and not many people use sending data without ACK.&lt;/p&gt;
&lt;p&gt;So is there any easy or not &lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;necessarily easy way to do that?&lt;/span&gt;&lt;/span&gt;&lt;span class="tlid-translation-gender-indicator translation-gender-indicator"&gt;&lt;/span&gt;&lt;span class="tlid-trans-verified-button trans-verified-button"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Thank you&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Streaming data over BLE without any ACK</title><link>https://devzone.nordicsemi.com/thread/227630?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 10:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2e9aaba-3596-4b38-a40f-8c689b70bec7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;At what range is your connection starting to break up? I suggest you take a look at our &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/throughput-and-long-range-demo"&gt;BLE throughput demo&lt;/a&gt;, which shows how to maximize your throughput based on your range and necessary bit rate.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>