<?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>Using pc-ble-driver in a C# app with large number of notifications from the peripheral is slower</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80644/using-pc-ble-driver-in-a-c-app-with-large-number-of-notifications-from-the-peripheral-is-slower</link><description>Hi all, 
 I am currently using Raytac dongle https://www.raytac.com/product/ins.php?index_id=89 with connectivity FW on the dongle and pc-ble-driver version 4.1.4 and sd_api=v6 and S140 from https://github.com/NordicSemiconductor/pc-ble-driver on the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Oct 2021 12:45:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80644/using-pc-ble-driver-in-a-c-app-with-large-number-of-notifications-from-the-peripheral-is-slower" /><item><title>RE: Using pc-ble-driver in a C# app with large number of notifications from the peripheral is slower</title><link>https://devzone.nordicsemi.com/thread/334155?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 12:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f5cc984-e164-4bb0-b184-22108b7511eb</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Are there any known limitations of using nrf52840 with large number of notifications?[/quote]
&lt;p&gt;Not per se. But incoming data must be buffered and processed fat enough.&lt;/p&gt;
[quote user=""]Are there any configuration in pc-ble-driver or the connectivity FW in the dongle that is limiting the number packets?[/quote]
&lt;p&gt;There is significant delay and overhead in the serialization, which probably explains this. I doubt you will be able to increase the number of notifications per connection event further.&lt;/p&gt;
&lt;p&gt;Update: double check that the event length is as long as you want it to be (essentially the same as the connection interval for maximum throughput). See for instance how &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/bc8821bf74edaad84e5eaf07782affd7005c70a6/examples/nordic_uart_client/main.c#L474"&gt;NRF_SDH_BLE_GAP_EVENT_LENGTH used in the NUS client example&lt;/a&gt;.&lt;/p&gt;
[quote user=""]Are there any known windows issue that slows it down?[/quote]
&lt;p&gt;Not that I am aware of.&lt;/p&gt;
[quote user=""]Any other ideas?[/quote]
&lt;p&gt;Is it possible to change&amp;nbsp;the conditions so that you send fewer notifications with more data instead?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>