<?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>Issue with dropped advertisements using SDK 17.0.2 (SoftDevice 7.2.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75936/issue-with-dropped-advertisements-using-sdk-17-0-2-softdevice-7-2-0</link><description>We experience a 15-20% rate of dropped advertisements from our nRF52840 device. We have used our own application on our device and the ble_app_att_mtu_throughput application on the nRF52840 DK to measure this loss. The devices are advertising once every</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Jun 2021 19:20:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75936/issue-with-dropped-advertisements-using-sdk-17-0-2-softdevice-7-2-0" /><item><title>RE: Issue with dropped advertisements using SDK 17.0.2 (SoftDevice 7.2.0)</title><link>https://devzone.nordicsemi.com/thread/315237?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 19:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bb2e38d-388e-46d3-bb61-1e060dade7c3</guid><dc:creator>Steven T.</dc:creator><description>&lt;p&gt;Hello Hung,&lt;/p&gt;
&lt;p&gt;The devices are within a meter of each other, on my desk. The central does not connect to the peripheral. The central parses the advertisement packets sent by the peripheral.&amp;nbsp;&lt;span&gt;Adjusting the scanning rate to 100% duty cycle, i.e. interval == window, the receipt of advertising packets improved. We&amp;#39;ve tried 1ms, 100ms, 200ms, 1s and 4s and 10s intervals on the central device, but changing these values don&amp;#39;t seem to affect the packet receipt rate much. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Increasing the advertisement broadcast rate to 5s helped. We are trying to conserve power, so we don&amp;#39;t want to advertise much faster than that.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have a central device, running mBed OS 6 with a Nordic 52840 chip. I am just counting the number of missed advertisement packets. The central device is scanning for advertisements, and the peripheral device acts as a beacon, delivering sensor data in the manufacturer specific portion of the advertisement. The peripheral device&amp;nbsp;has run our custom software, as well as&amp;nbsp;the&amp;nbsp;&lt;span&gt;ble_app_att_mtu_throughput application on our peripheral device. We were trying to determine if porting our custom application from nRF&amp;nbsp;SDK 13.5.1 (5.0.0.2-alpha softdevice) to 15.3.0 (6.1.0 sofdevice) to 17.0.2 (7.2.0 softdevice) would help us see more advertising packets. We&amp;#39;ve also tried 1MBPS and&amp;nbsp;CODED phy as well. Seems like our hardware is going to experience a 10-15% drop rate.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We&amp;#39;ve run the&amp;nbsp;ble_app_att_mtu_throughput&amp;nbsp;on the nRF52840DK device to see if the peripheral app&amp;#39;s power saving techniques were causing missed advertising packets, or if the antenna on our peripheral device was to blame. We didn&amp;#39;t see any improvements.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;I will put in some effort today to see what happens with the ble_app_att_mtu_throughput application running as both the central and peripheral device on the nRF52840DK. Hopefully, we will see an improved advertising rate. We could eliminate mBed OS/our central device as the reason for the dropped packets.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We have not tested these is a wired environment or an RF chamber. We will investigate these options as well.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Steven Turgetto&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with dropped advertisements using SDK 17.0.2 (SoftDevice 7.2.0)</title><link>https://devzone.nordicsemi.com/thread/315073?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 10:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0385d25-531f-4cbd-9696-7702daa1f6e6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Steven,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please give us some description about your test.&amp;nbsp;&lt;br /&gt;You mentioned about&amp;nbsp;&lt;span&gt;ble_app_att_mtu_throughput&amp;nbsp;application but&lt;/span&gt;&amp;nbsp;I assume you only count the number of advertising packets you receive, not when they are in a connection ?&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the distance between the 2 devices ?&amp;nbsp;&lt;br /&gt;Have you tuned the antenna of your custom board ?&amp;nbsp;&lt;br /&gt;Could you try to test using 2 DKs instead of your device + our DK. Just so we can compare if it the antenna tunning issue on your board ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;For best result, please try to test using a RF chamber or use a antenna cable to connect the 2 devices.&amp;nbsp;&lt;br /&gt;I would also suggest to test with short advertising interval (100ms for example) so that we can have more sample and get better statistics.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with dropped advertisements using SDK 17.0.2 (SoftDevice 7.2.0)</title><link>https://devzone.nordicsemi.com/thread/314574?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 00:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a499b4be-2528-4807-8a3b-f1c431fed71c</guid><dc:creator>Steven T.</dc:creator><description>&lt;p&gt;We&amp;#39;re now testing an advertisement sent every 5 seconds. The central is running mBedOS 6.11&amp;nbsp;and setting the scan to 100% duty cycle did offer some improvements to the performance. But, we are still consistently seeing a 15% drop rate.&lt;/p&gt;
&lt;p&gt;We didn&amp;#39;t see much improvement between extended and legacy advertisements in our tests.&lt;/p&gt;
&lt;p&gt;Please let me know if you have any other suggestions on proving the drop rate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with dropped advertisements using SDK 17.0.2 (SoftDevice 7.2.0)</title><link>https://devzone.nordicsemi.com/thread/313456?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 13:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f069fc2-67f4-4d14-863c-c1ec74a9ce10</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to increase the advertising rate to measure the drop rate.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give some more info about the central ? Do you have full control over the central ? There could be a chance that the central doesn&amp;#39;t scan at 100% duty cycle (this applied for most phones)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Sending a longer (max size of payload) would give more chance that the packet may collide with other advertiser&amp;#39;s packets.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Periodic Advertising is in the NRF Connect SDK (Zephyr) but not the Softdevice. The softdevice will no longer receives new features, only bug fixes.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>