<?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>Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77381/sending-multiple-notify-packets-per-connection-interval</link><description>Hi, 
 
 Device: NRF53 
 
 I&amp;#39;m trying to send 3 notify packets in a 15ms connection internal but I can send 2. 
 I&amp;#39;m using Nrf connect and Zephyr. is there a limit or a define to set this. 
 
 Thank you for any guidance and help 
 Regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Oct 2021 08:43:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77381/sending-multiple-notify-packets-per-connection-interval" /><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/332258?ContentTypeID=1</link><pubDate>Mon, 04 Oct 2021 08:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fdf23fe-315a-477b-8f62-cb42bdf9c45d</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Hi Torbjorn,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your support with this, I&amp;#39;ve integrated with the project and it&amp;#39;s working well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;...also thank you Simon and Hung &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Neil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/329070?ContentTypeID=1</link><pubDate>Fri, 10 Sep 2021 14:32:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:898b211a-c787-42a6-8237-12af85d6c734</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Neil&lt;/p&gt;
&lt;p&gt;In that case the fix should probably not be needed, if you are sending 160 byte packets.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Migrating to a newer SDK should be less of a hassle now than it was in the old days (with the nRF5 SDK), but this depends on how complex your project is obviously.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The best of luck &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&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><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328931?ContentTypeID=1</link><pubDate>Fri, 10 Sep 2021 07:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08ebd07b-1b21-49cd-89d1-445ac0929748</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Morning&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The end goal is to be able to send a minimum of 3 x160 byte packets every 15ms interval so this should be fine.&amp;nbsp; My new issue is that the original&amp;nbsp;project is on an older SDK version that the fix doesn&amp;#39;t&amp;nbsp;work on but the fix for that is to update the sdk to the latest.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for all your help.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328926?ContentTypeID=1</link><pubDate>Fri, 10 Sep 2021 07:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa4cc48b-4b10-44e1-b095-3530e5e1817b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Neil&lt;/p&gt;
&lt;p&gt;Looking at his sniffer trace I see that he sent longer packets (35 bytes, including the 3 byte attribute header).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Clearly this is long enough to loosen the timing enough so that you can upload more packets during the connection event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If your end goal is to maximize throughput, rather than sending many small packets, this&amp;nbsp;is a simple fix to the problem. Just ensure you use a characteristic that supports longer packets (the heart rate measurement characteristic does not).&amp;nbsp;&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><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328711?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 07:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b57c44d8-7a56-404d-9641-bca6ea87fa41</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Thank you for the feedback, I will try this today.&amp;nbsp; Do you know how Hung managed to send so many packets?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328708?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 06:47:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0617d575-a71f-4be2-8d4f-a3067dfcb14f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Neil&lt;/p&gt;
&lt;p&gt;Checking my test results again I realized it was still only sending two packets pr connection interval, it is just the interval that was much shorter than I expected. In other words I got the same issue as you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Discussing this with the software team it seems there is a limit in the SoftDevice controller on how many packets it can queue, which is set by the&amp;nbsp;SDC_DEFAULT_TX_PACKET_COUNT define in&amp;nbsp;\v1.6.1\nrfxlib\softdevice_controller\include\sdc.h:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/** @brief Default maximum Link Layer TX packet count per connection.
 *
 * With the default count, the application is able to refill the buffers during a connection event.
 */
#define SDC_DEFAULT_TX_PACKET_COUNT 3&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Normally this isn&amp;#39;t a big limitation, as it is possible to upload new data while the connection event is active, but in your case you are sending very short packets, which makes the timing much tighter.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the nRF52 this works, but on the nRF53 there is some additional overhead because the packets have to be transferred from the Bluetooth host running on the application core to the Bluetooth controller in the network core.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you change the number above and recompile you should see that you can send more packets pr connection event. I set it to 5, which gave me 4 packets pr connection event consistently.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alternatively, if you send longer packets you should be able to send more of them, but I don&amp;#39;t&amp;nbsp;how long they need to be. The throughput example uses packets &amp;gt; 200 bytes, and doesn&amp;#39;t have this problem (if it did the issue would probably have been spotted earlier).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will discuss this with the team and see if we can get a better solution in the future, such as a configuration parameter that you can set in the project, so that editing the library header files is not necessary.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&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: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328669?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 15:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54b7ad63-ad3c-4a90-8ebc-2bca83698cda</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&amp;nbsp; I can only get two packets on any connection interval. it doesn&amp;#39;t&amp;nbsp;seem to matter if it&amp;#39;s 40ms or 15ms&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328667?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 15:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9889eaa-3411-4295-b214-554532d00498</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Neil&lt;/p&gt;
&lt;p&gt;I can try to reproduce the issue here, yes. My first test wasn&amp;#39;t very fruitful as it showed a lot more notifications sent per connection event, but I was testing with a higher connection interval. I will spend some more time with this tomorrow and see if I can make an example demonstrating higher throughput with 15ms connection interval.&amp;nbsp;&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><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328403?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 12:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e441f4a-c635-43a8-ac62-8f6bd50aaa26</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for the advice.&amp;nbsp; I can see all the config values that Hung has set in&amp;nbsp;the project that he has attached but this hasn&amp;#39;t made any&amp;nbsp;&lt;/span&gt;difference I still only get 2 notify packets per connection.&lt;/p&gt;
&lt;p&gt;Do you have a nrf5340-dk that you could test with and attach the build folder so I could program the hex as a test please?&lt;/p&gt;
&lt;p&gt;Or if you have any other suggestions to try next that would be great.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Neil&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328373?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 11:45:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27d23d4e-8ac9-4268-a4ed-1c0ece6b267e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Neil&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Neil_CPD"] If there a good way to verify that the values have been built into the project?[/quote]
&lt;p&gt;If you open your build folder, and navigate to the subfolder&amp;nbsp;\hci_rpmsg\zephyr, there should be a file called .config which contains all the pre-compiled configuration settings:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0508.pastedimage1631014911351v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In this file you can search for the config parameter you are interested in (such as CONFIG_BT_CTLR_RX_BUFFERS), and verify that it is set as you expect.&amp;nbsp;&lt;/p&gt;
[quote user="Neil_CPD"]if I add the child image folder do I need to regenerate the project in nrf Connect?[/quote]
&lt;p&gt;Yes. This is not picked up by the build automatically, and you need to re-run cmake in order for these settings to be included.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can do this from the command line by running west build with the -c parameter:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;west build -c&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you use Segger Embedded Studio there is a menu option to rerun cmake:&lt;/p&gt;
&lt;p&gt;Menu -&amp;gt; Project -&amp;gt; Run CMake...&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><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328232?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 13:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fd9f5a0-4948-44ab-8103-5c45f636e182</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Thanks for the reply,&amp;nbsp; I&amp;#39;ve checked&amp;nbsp; the &amp;quot;nrf connect SDK project..&amp;quot; in hci_rpmsg_menuconfig and they seem to be correct,&amp;nbsp; If there a good way to verify that the values have been built into the project?&lt;/p&gt;
&lt;p&gt;if I add the child image folder do I need to regenerate the project in nrf Connect?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Neil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328223?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 13:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f734889-1ecf-4693-9d7f-859006b72ff4</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hung is on leave, and I will help you out in the mean time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Normally issues with throughput on the nRF53 are caused by not configuring the hci_rpmsg application running on the network core properly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you take a look at the throughput example in the nrf repository you can see that they define a separate config file for this application, in a folder called child_image:&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/samples/bluetooth/throughput/child_image"&gt;https://github.com/nrfconnect/sdk-nrf/tree/master/samples/bluetooth/throughput/child_image&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you try something similar for your project and see if it improves the number of notifications you can achieve?&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><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/328065?ContentTypeID=1</link><pubDate>Sun, 05 Sep 2021 19:44:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e501fe43-164c-4148-8f5b-e76bcea45107</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the delay but I been on vacation..&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve spent some time this week trying to re-create the performance that you&amp;#39;ve managed to find but i&amp;#39;ve not been able to. I tried&amp;nbsp;with the central and also on my phone but no success.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached your projects with my build folders in.&amp;nbsp; If you could please verify on a nrf5340-dk that would be great.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1630870621292v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve also looked at the log for the rpmsg and the messages seem to also be groups of two.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3264.hr_5F00_mp_5F00_NC.zip"&gt;devzone.nordicsemi.com/.../3264.hr_5F00_mp_5F00_NC.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nc_5F00_hr_5F00_mp_5F00_test.pcapng"&gt;devzone.nordicsemi.com/.../nc_5F00_hr_5F00_mp_5F00_test.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/325258?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 10:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9be43b5-88c7-4948-a7d3-e8647d5fe32d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Neil,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Attached you can find my example of sending 25 notifications in a 15ms interval connection.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1028x376/__key/communityserver-discussions-components-files/4/7462.pastedimage1629194535614v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not the maximum limit I believe. If you increase&amp;nbsp;CONFIG_BT_CONN_TX_MAX you should have more but the&amp;nbsp;CONFIG_BT_CTLR_RX_BUFFERS is limited to 18.&amp;nbsp;&lt;br /&gt;I found that what slowing down the rate in the original centralhr example was the printk inside&amp;nbsp;notify_func() that causing the central to NACK the packet from the peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In my test with my Galaxy S10 it achieved similar number of packets.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Please try the example I provided here and if it works please follow the configuration in my projects.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3264.hr_5F00_mp.zip"&gt;devzone.nordicsemi.com/.../3264.hr_5F00_mp.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4745.sniffertrace2.pcapng"&gt;devzone.nordicsemi.com/.../4745.sniffertrace2.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/325193?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 20:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfe29bea-41b3-497c-ac83-822befe576a9</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;I&amp;#39;ve created the same&amp;nbsp;issue&amp;nbsp;that i&amp;#39;ve been having with a basic hr example using NCS 1.6.1.&amp;nbsp; in the 1st example I loop round 3 packets then sleep 5ms the other I sleep 30ms. See attached 2 sniffer traces. You can see in the 4ms trace it sends two packets per connection interval to one with 30ms sleep it sends 3 per con interval.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hr_5F00_example_5F00_3packetLoop30ms_5F00_sleep.pcapng"&gt;devzone.nordicsemi.com/.../hr_5F00_example_5F00_3packetLoop30ms_5F00_sleep.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hr_5F00_example_5F00_3packetLoop5ms_5F00_sleep.pcapng"&gt;devzone.nordicsemi.com/.../hr_5F00_example_5F00_3packetLoop5ms_5F00_sleep.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/325119?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 12:22:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8904a845-5cc3-46f7-8ba1-d1b2b5f22819</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;There is a chance that it&amp;#39;s hitting the limit of the stack. But we do need a sniffer trace to really understand the situation.&amp;nbsp;&lt;br /&gt;Please also look at the throughput example. As far as I know you can reach around 700kbps at 1Mbps.given that the ATT_MTU is configured correctly and Data length extension is applied.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/325057?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 09:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceca6f67-b641-4086-895b-0ac514f6dd59</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will try to get you a sniifer trace but I do remember the more data flag being set to false on the second packet.&lt;/p&gt;
&lt;p&gt;I also thought that Simon had tried this test with two nrf dk&amp;#39;s.&amp;nbsp; Could you do a sniifer trace of it working with an nrf dk central please. If it&amp;#39;s a limitation of the central then I can explain this to my customer.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/325053?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 09:14:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd7225e-1203-41cd-a8fe-ee5b1df2b098</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Neil,&amp;nbsp;&lt;br /&gt;&amp;nbsp;I suspect that the central was not able to handle more than 2 packets per connection event. A sniffer trace would be very helpful to reveal this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/324894?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 15:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e0b2ec4-1c0b-4a85-bbc3-0037f5a44fe0</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Please bear with me as i&amp;#39;m away from my desk for a couple of days but basically my setup was:&lt;/p&gt;
&lt;p&gt;NCS 1.6.0 peripheral_uart example with the connection set to 15ms.&lt;/p&gt;
&lt;p&gt;Central was my phone Sony XQ-AS52 with Android 11&lt;/p&gt;
&lt;p&gt;while(1)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;loop 3 times&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bt_gatt_notify_cb(.....)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;k_sleep( 30 ms) or&amp;nbsp;&lt;span&gt;k_sleep( 5 ms)&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;when I wait 30 ms I see 3 packets on the sniffer per.. but If I reduce the delay so it&amp;#39;s every interval only 2 packets.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not going to be able to send an nrf sniffer output for a week or so,&amp;nbsp; but the code is quite basic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/324889?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 14:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5337a2d-cd30-48d4-aaf1-5adc622bef63</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again Neil,&lt;/p&gt;
&lt;p&gt;Could you send a sniffer trace&amp;nbsp; ?&amp;nbsp;&lt;br /&gt;Could you show how you send the notification in your code ? With and without the delay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which firmware you use on the central side ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would be nice if you can provide some minimal code so that I can test here (on both sides)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/324875?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 13:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bed8e31-80fe-4c79-997a-6ae4de18b94e</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Thank you for picking this up.&amp;nbsp; The ultimate aim is to send160 bytes per notification packet three times per 15ms connection interval and this needs to happen every connection interval untill the user stops the device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can send two packets but not three, I don&amp;#39;t get any errors returned.&lt;/p&gt;
&lt;p&gt;As mentioned above Simon and I have used the uart example to test this. I can send 3 notifications in a loop within one connection interval if I wait for a delay of at least one connection interval in-between. Once a shorter delay is used it reverts to only two packets for connection interval.&amp;nbsp; I&amp;#39;ve tested this using the nrf sniffer. If you need any more explanation please ask.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Neil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/324830?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 12:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:363508b3-81f6-4ddf-9bd0-2c91c0125af2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Neil,&amp;nbsp;&lt;br /&gt;Simon is on vacation so I&amp;#39;m taking over the case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please explain a little bit more on what you did to &amp;quot;&lt;span&gt;&amp;nbsp;have to sleep for 30ms in the thread to enable this to happen,&amp;nbsp;&amp;nbsp;&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you keep calling the notification send which error do you have ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Note that when you change the buffer configuration make sure you reflash the network core. This is not done automatically if you flash using SES.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you need to send notification in separate packets ? If you always send 3 notifications per connection interval , can you combine them into one notification with longer payload ? If you have control over both sides of the connection , you can assign a larger ATT_MTU and update the data length to get bigger radio packet.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/323037?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 09:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a72c689a-7451-48e8-8646-7bf2afa65e60</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you heard any more from the team? Are there any early indications on where the limitations are?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/322650?ContentTypeID=1</link><pubDate>Fri, 30 Jul 2021 11:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20295677-6483-4631-a94a-82c61ebfbdf0</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I tried to increase the buffers in both the ble host as well as the controller, but it didn&amp;#39;t help.&amp;nbsp;I&amp;#39;ve asked internally about this and waiting for an answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending multiple notify packets per connection interval</title><link>https://devzone.nordicsemi.com/thread/322263?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 13:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0624879b-299e-4aa6-9d74-0dd2c485d186</guid><dc:creator>Neil_CPD</dc:creator><description>&lt;p&gt;Thanks for the update Simon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>