<?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>Optimising throughput in case of small data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72562/optimising-throughput-in-case-of-small-data</link><description>Hi Team, I am using nRF52832 to develop a device that sends Bluetooth signals to a smartphone. I am sending only small, 1-byte pieces of data, but it is critic to send them as quickly as possible. I am trying to optimise the data throughput, I have read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Mar 2021 16:34:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72562/optimising-throughput-in-case-of-small-data" /><item><title>RE: Optimising throughput in case of small data</title><link>https://devzone.nordicsemi.com/thread/298811?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 16:34:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40872bd5-a3c6-4e85-808c-21c5be1dd778</guid><dc:creator>Tibor Kakonyi</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Thank you very much for the clarification!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Optimising throughput in case of small data</title><link>https://devzone.nordicsemi.com/thread/298801?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 16:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3ee0793-48c2-418e-ac6b-8e7aa79bbfac</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Tibor,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I am sending only small, 1-byte pieces of data, but it is critic to send them as quickly as possible.[/quote]
&lt;p&gt;&amp;nbsp;So you don&amp;#39;t want to optimize the throughput, but you want to optimize the latency.&lt;/p&gt;
&lt;p&gt;You can use 2MBPS if possible, but the difference between 2MBPS and 1MBPS is not very large in this case, since the payload size is so small. The main delay in this case is simply the connection interval, and unfortunately phones are quite strict on connection intevrals. You can request a short connection interval (by adjusting your&amp;nbsp;MIN_CONN_INTERVAL and&amp;nbsp;MAX_CONN_INTERVAL in the peripheral&amp;#39;s project), but it is always the central that has the final saying in what connection interval that is used. Typically for phones this is 15ms, but it depends on the phone.&lt;/p&gt;
&lt;p&gt;So if the connection interval is fixed to 15ms, then you will have a latency between 1-2ms and 15ms, based on when you queue your data.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For low latency, you should always use notifications from the peripheral to the central.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>