<?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>General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47073/general-questions-about-notifications-low-level-ble-packets-and-softdevice-phy-connection-interval-connection-event-length-att-mtu-and-dle</link><description>Hi, 
 I have a couple of general questions regarding BLE packets, things that are not completely clear to me. I&amp;#39;m using SD S140 v6.1.0. I hope this doesn&amp;#39;t end up in too many questions in one thread. For all the questions, assume a SoftDevice handling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Nov 2020 08:27:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47073/general-questions-about-notifications-low-level-ble-packets-and-softdevice-phy-connection-interval-connection-event-length-att-mtu-and-dle" /><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/278730?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 08:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61a60cb7-e9ff-43b4-8358-cef5debdbea0</guid><dc:creator>Jordy U</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;Thank you very much for your explanation!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/278195?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2020 08:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f63bd2c1-5405-48da-b2e7-08cfeb521f65</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The specification allows for longer radio packets as you said, the 27 byte limit is in our stack. The problem with long packets though is that it increases the chance for packet loss. In terms of range it should be better to let the stack split the payload into several 27 packets rather than a few 251 packets.&lt;/p&gt;
[quote user="Jordy U"]Will&amp;nbsp;only the lost messages be resend in that case or all of them?[/quote]
&lt;p&gt;The Bluetooth stack handles all re-transmission regardless of the packets size and will never skip a packet. Failing to transmit a packet after x re-transmits will lead to a disconnect (supervision timeout).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/277816?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 13:12:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fd68f15-d03d-4e03-a8f0-70786db9ea0b</guid><dc:creator>Jordy U</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/47073/general-questions-about-notifications-low-level-ble-packets-and-softdevice-phy-connection-interval-connection-event-length-att-mtu-and-dle/186303#186303"]Yes, this is a bit confusing. The Softdevice support 251 bytes with coded PHY, but the MaxRXTime/MaxTXTime is 2700 uS (=27 bytes with S=8 encoding).&amp;nbsp;[/quote]
&lt;p&gt;Hello Vidar, thank you for the useful information. I have a question about using coded PHY with large packages.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Situation&lt;/strong&gt;&lt;br /&gt;I want to develop systems that can communicate over a long range (around 500 meters, festival/event environment) with messages of around 250 bytes long. Latency up to 500ms is acceptable. I don&amp;#39;t have a development kit yet, but I was thinking about using the&amp;nbsp;nRF5340 PDK and&amp;nbsp;nRF52840 Dongle (for testing)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question&lt;br /&gt;&lt;/strong&gt;Why are&amp;nbsp;the MaxRXTime and MaxTXTime set to 2700 uS? Is there a possibility to set it to&amp;nbsp;16656 uS (251 bytes) or 17040 uS (257 bytes)? And should that be better in this case?&lt;/p&gt;
&lt;p&gt;If I split a big message over 10 smaller messages,&amp;nbsp;there&amp;#39;s a higher chance that the complete message will not arrive, right? Will&amp;nbsp;only the lost messages be resend in that case or all of them?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why am I asking this&lt;br /&gt;&lt;/strong&gt;I see in your answer and vaguely in other sites that this coded PHY and long packages (DPL) are never used together. However, the Bluetooth specification shows that it is possible. See attached spreadsheet&amp;nbsp;for a simple overview&amp;nbsp;of sources, images and calculations. So everything I find online contradicts the specification.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m asking you, because I&amp;nbsp;have come to a dead end.&amp;nbsp;You help will be very appreciated.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.dropbox.com/s/39hqmsxogxdnpjy/Bluetooth%20send%20time.xlsx?dl=0"&gt;www.dropbox.com/.../Bluetooth send time.xlsx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186683?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 11:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a930461-1899-43f2-8610-f80c16e542a7</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Ok I see, makes sense. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186677?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 11:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42f97543-bcea-4491-826c-cc64b72cc241</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="andresovela"]What is pairs? I thought it might be 7 for the LE 1M PHY, 11 for the LE 2M PHY and 1 for the LE Coded PHY, but using 7 I get 25.08 ms. That plus 7.5 ms doesn&amp;#39;t give the final 33.75 ms suggested in the spec.[/quote]
&lt;p&gt;&amp;nbsp;The number should be increased to the nearest 1.25 ms unit.&amp;nbsp;&lt;/p&gt;
[quote user="andresovela"]I also wanted to ask what is t_scanReserved.[/quote]
&lt;p&gt;&amp;nbsp;It&amp;#39;s the reserved time that the Softdevice needs for each Scan window. Table 1 shows the Softdevice scheduling priorities (&lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/priorities_and_events_intro.html?cp=3_4_2_0_14_0"&gt;link&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186372?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 10:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1905d996-5afe-402a-973a-a6817a7f013d</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Thanks, that was a very interesting read.&lt;/p&gt;
&lt;p&gt;I have a couple of questions though:&lt;/p&gt;
&lt;p&gt;In this paragraph:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;When long &lt;/span&gt;&lt;a title="&amp;ldquo;A control protocol for the link and physical layers that is carried over logical links in addition to user data.&amp;rdquo; Bluetooth Core Specification, Version 5.0, Vol 1, Part A, Section 1.2" href="https://infocenter.nordicsemi.com/topic/sds_s140/dita_common/glossary/glossary.html#ll"&gt;&lt;dfn class="term abbreviated-form"&gt;Link Layer (LL)&lt;/dfn&gt;&lt;/a&gt;&lt;span&gt; Data Channel PDUs are in use, it is recommended to increase the event length of a connection. For example, &lt;/span&gt;&lt;a title="&amp;ldquo;A control protocol for the link and physical layers that is carried over logical links in addition to user data.&amp;rdquo; Bluetooth Core Specification, Version 5.0, Vol 1, Part A, Section 1.2" href="https://infocenter.nordicsemi.com/topic/sds_s140/dita_common/glossary/glossary.html#ll"&gt;&lt;dfn class="term abbreviated-form"&gt;LL&lt;/dfn&gt;&lt;/a&gt;&lt;span&gt; Data Channel PDUs are by default 27 bytes in size. With an event length of 7.5 ms, it is possible to send seven full-sized packet pairs in one connection event. Therefore, when increasing the Link Layer Data Channel PDU size to 251 bytes, the event length should be increased to 33.75 ms. To calculate how much time should be added (in ms), use the following formula: &lt;/span&gt;&lt;code class="ph codeph"&gt;((&lt;/code&gt;&lt;var class="keyword varname"&gt;size&lt;/var&gt;&lt;span&gt; &lt;/span&gt;&lt;code class="ph codeph"&gt;- 27) * 8 * 2 *&lt;/code&gt;&lt;span&gt; &lt;/span&gt;&lt;var class="keyword varname"&gt;pairs&lt;/var&gt;&lt;code class="ph codeph"&gt;) / 1000&lt;/code&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is pairs? I thought it might be 7 for the LE 1M PHY, 11 for the LE 2M PHY and 1 for the LE Coded PHY, but using 7 I get 25.08 ms. That plus 7.5 ms doesn&amp;#39;t give the final 33.75 ms suggested in the spec.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also wanted to ask what is t_scanReserved.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And the final question: it looks like the scanner has a higher priority than the connections. I assume that because of all the talk about dropped packets in order to scan and all that. Where can I see the priorities of the SD?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186360?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 10:16:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ee8f066-c033-4cbc-9198-35d47f90eefa</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Good question. The Softdevice will spend nearly 100% of the time sending the packets. However, the Softdevice scheduler may, in some cases, drop events to allow other tasks to be handled. Suggest that you read the section about the scheduler in the SDS for more details:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/suggested_intervals_windows_s132.html?cp=3_4_2_0_14_9"&gt;https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/suggested_intervals_windows_s132.html?cp=3_4_2_0_14_9&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186355?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dca6b5a-c7f9-416a-b53e-9585249c955c</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Ok. One last question: If I set the both the connection interval and the connection event length to 50 ms, there&amp;#39;s no way that the SD can handle other tasks right? For example scanning for other devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186347?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb1a0b61-94b6-4d4a-b36d-796618129971</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It means that you already had allocated enough RAM, and that you had some unused RAM before. Slave latency should not affect memory usage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186342?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bbacfa2-88c0-4ffe-863c-b97e2bde624b</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;I&amp;#39;ve been playing around with the event length and haven&amp;#39;t seen any changes. Or maybe instead of the slave latency it was due to the event length and I already increased the RAM enough so I don&amp;#39;t get errors anymore... Who knows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186341?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df903be2-bab2-4bfa-b570-68ba0f107aac</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You need to allocate more RAM to the Softdevice when you increase the event length (increase the app&amp;#39;s RAM base address) which otherwise could have been used by the app.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186338?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:20:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc35f58-d829-4b3d-b33d-acb8c60b1a0b</guid><dc:creator>Andy</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/47073/general-questions-about-notifications-low-level-ble-packets-and-softdevice-phy-connection-interval-connection-event-length-att-mtu-and-dle/186336"]I think the practical throughput is going to be significantly lower, unfortunately.&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;Yep, I&amp;#39;m afraid that will be the case.&lt;/span&gt;&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/47073/general-questions-about-notifications-low-level-ble-packets-and-softdevice-phy-connection-interval-connection-event-length-att-mtu-and-dle/186336"]The example I provided uses 50 ms connection intervals so&amp;nbsp;event length above 50 ms is just wasted RAM.&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;Why do you say that it is a waste of RAM? How does the connection event length affect the RAM usage? I haven&amp;#39;t&amp;nbsp;seen anything like this so far.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The only thing that I have seen affects the RAM usage is the slave&amp;nbsp;&lt;/span&gt;latency.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186336?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83d826c8-c28b-41c7-a67d-44070e4cd534</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I was testing with different connection intervals and forgot to change the event length. The example I provided uses 50 ms connection intervals so&amp;nbsp;event length above 50 ms is just wasted RAM.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you testing against another Nordic device? The event length may be limited on the other side.&lt;/p&gt;
&lt;p&gt;The screenshot is from an Ellisys BT sniffer.&amp;nbsp;Yes, I did get around 40 kbps, but this was at close range ( &amp;lt; 1M). I think the practical throughput is going to be significantly lower, unfortunately.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186329?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c98ba4d-8991-49bb-a2da-2d974b1b3a71</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Also, if I understand correctly, you&amp;#39;re getting a throughput of 7.31 kB/s? If that&amp;#39;s true then that&amp;#39;s around 58 kbps and I guess that&amp;#39;s counting L2CAP and ATT headers, so in the end I should be able to expect a practical throughput of ~43 kbps (?).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186328?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5e4efca-25ce-4c53-9a30-5dd3a72ccc1a</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for all the answers! Regarding the example you attached:&lt;/p&gt;
&lt;p&gt;I see that the peripheral is configured with min/max connection interval = 50 ms, and the GAP event length is set to 500 ms (400 * 1.25 ms units).&amp;nbsp;In the central, however, the GAP event length is set to 62.5 ms (50 * 1.25 ms units). How does this affect the connection?&lt;/p&gt;
&lt;p&gt;Btw, unfortunately I only have one DK so I can&amp;#39;t really test this here. Someone else is doing the testing with another device and I&amp;#39;m trying to adjust the connection parameters to get more throughput.&lt;/p&gt;
&lt;p&gt;And what program is that in the screenshot?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: General questions about notifications, low level BLE packets and SoftDevice (PHY, connection interval, connection event length, ATT MTU and DLE)</title><link>https://devzone.nordicsemi.com/thread/186303?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 08:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccf28554-82c4-4a99-aca3-2093799cf5d0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Andy,&lt;/p&gt;
[quote user=""]First thing: I know that it is possible to send up to 6 notifications in a single connection interval. What if I increase the connection interval and the connection event length? Would it be possible to send more than 6? Or what is the purpose of increasing the connection event length?[/quote]
&lt;p&gt;&amp;nbsp;Yes, you can send more than 6 packets per connection event. If you set event length == connection interval, you should be able to fill the time between connection events&amp;nbsp;sending/receiving notification packets.&amp;nbsp;&lt;/p&gt;
[quote user=""]I&amp;#39;m guessing it is also possible that the SD sometimes&amp;nbsp;cannot send all 6 notifications in a single connection interval &lt;span&gt;(assume that 6 notifications were already queued using sd_ble_gatts_hvx)&lt;/span&gt;, depending on the connection parameters. Is this true (assuming a good quality link with no packet losses)? Or is it always possible to send 6? What if you set up something like connection interval of 7.5 ms, with maximum data length and ATT MTU? What if you set up the Coded PHY?[/quote]
&lt;p&gt;There is not enough time to send 6 packets with coded PHY at 7.5 ms intervals as the transmission of each packet requires longer time compared to 1M PHY. I guess that you may be able to send 2 at this interval.&amp;nbsp;&lt;/p&gt;
[quote user=""]Assuming that the link quality is bad:&amp;nbsp;If a notification can&amp;#39;t be sent due to interference, will the SD try to send the same notification 6 times within the same connection interval?[/quote]
&lt;p&gt;&amp;nbsp;No, the re-transmits will be attempted on the following connection event. So the throughput will be heavily impacted by the link quality, especially if you&amp;#39;re using long connection intervals.&amp;nbsp;&lt;/p&gt;
[quote user=""]Regarding the Coded PHY: I&amp;#39;ve read that when you use the Coded PHY, the maximum data length possible is 27 in order to avoid interference. However, it still looks like the nrf_ble_gatt module is accepting the max data length of 251 even when the Coded PHY has already been set up. Does the SoftDevice use a data length of 27 internally anyway?[/quote]
&lt;p&gt;&amp;nbsp;Yes, this is a bit confusing. The Softdevice support 251 bytes with coded PHY, but the MaxRXTime/MaxTXTime is 2700 uS (=27 bytes with S=8 encoding).&amp;nbsp;&lt;/p&gt;
[quote user=""]I know that when the ATT MTU is larger than the supported data length, the data will be broken down in multiple packets. Does this still give better throughput or is it better to always keep the ATT MTU smaller than the data length? I&amp;#39;m not exactly sure whether having ATT MTU &amp;gt; DL introduces more overhead or not.[/quote]
&lt;p&gt;Larger MTU gives a slightly smaller overhead due&amp;nbsp;to packet encapsulation. The SDS shows the difference in terms of throughput ( under ideal conditions):&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/ble_data_throughput/ble_data_throughput.html?cp=3_4_1_0_16"&gt;https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/ble_data_throughput/ble_data_throughput.html?cp=3_4_1_0_16&lt;/a&gt;. The data will still be split into smaller link layer packets.&amp;nbsp;&lt;/p&gt;
[quote user=""]What happens if the connection event length is set up to be longer than the connection interval? I ask this because the event length must be set up during SD initialization and the connection interval is negotiable at runtime. It looks like the SoftDevice is smart enough to handle this but I just want to be sure and ask this.[/quote]
&lt;p&gt;&amp;nbsp;The Softdevice is smart enough to handle this:)&amp;nbsp;&lt;/p&gt;
[quote user=""]I&amp;#39;m asking all these questions because I&amp;#39;m trying to get as much throughput as possible using the Coded PHY, but even following all the threads I could find on this I couldn&amp;#39;t manage to achieve a high&amp;nbsp;enough throughput. I need to get around 24 Kbps which is supposedly achievable, but I&amp;#39;m having trouble with that. Any input on that will also be deeply appreciated![/quote]
&lt;p&gt;&amp;nbsp;I think 24kbps should be achievable, but only if the link quality is good. I have modified the ble_app_uart and ble_app_uart_c example in SDK 15.2.0 to test this, see attached zip below.&amp;nbsp;Can you try this example and see what you get?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5ed840c7c98c4e7982e242817440f0e2/nRF5_5F00_SDK_5F00_15.2.0_5F00_mod.zip"&gt;devzone.nordicsemi.com/.../nRF5_5F00_SDK_5F00_15.2.0_5F00_mod.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Test with 400 ms interval&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5ed840c7c98c4e7982e242817440f0e2/trace.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>