<?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>Keeping track of advertising status</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21843/keeping-track-of-advertising-status</link><description>Hello Nordic! 
 This question is a follow-up on this topic , where it is suggested to keep track of BLE_GAP_EVT_CONNECTED and BLE_GAP_EVT_TIMEOUT events in order to know when a peripheral device has stopped advertising. 
 My first though was to use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 May 2017 11:41:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21843/keeping-track-of-advertising-status" /><item><title>RE: Keeping track of advertising status</title><link>https://devzone.nordicsemi.com/thread/85780?ContentTypeID=1</link><pubDate>Mon, 08 May 2017 11:41:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad416d71-0f12-4b59-8ddf-4493a0c17de0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The documentation says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;BLE_ADV_EVT_IDLE,                /**&amp;lt;
Idle; no connectable advertising is
ongoing.*/&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So I agree with you, this event should be received when you stop advertising because of a connection establishment.&lt;/p&gt;
&lt;p&gt;I have reported this internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>