<?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>BLE event after stop advertising nRF52840 s140 SDK16</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61748/ble-event-after-stop-advertising-nrf52840-s140-sdk16</link><description>Hi everyone. 
 I am working on the ble_app_bps_pca10056_s140 example. I want to confirm that a BLE event is received when the APP_ADV_DURATION has been expired. 
 After searching I found that the BLE event that is associated with non-advertising is the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 May 2020 15:03:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61748/ble-event-after-stop-advertising-nrf52840-s140-sdk16" /><item><title>RE: BLE event after stop advertising nRF52840 s140 SDK16</title><link>https://devzone.nordicsemi.com/thread/251542?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 15:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71d7021d-6b94-495a-a1ea-ef91cca62491</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;Thanks for the support Edvin!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE event after stop advertising nRF52840 s140 SDK16</title><link>https://devzone.nordicsemi.com/thread/251520?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 13:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddb4d694-c275-49d2-824f-148622876fb6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;The BLE_ADV_EVT_IDLE event is triggered after APP_ADV_DURATION.&lt;/p&gt;
&lt;p&gt;The reason you don&amp;#39;t see it before you comment out sleep_mode_enter() is that it doesn&amp;#39;t have time to print the data before shutting down in sleep_mode_enter.&lt;/p&gt;
&lt;p&gt;You can verify the same by adding a delay after the BLE_ADV_EVT_IDLE event before you call sleep_mode_enter().&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>