<?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 advertising handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74822/ble-advertising-handler</link><description>hello Nordic 
 
 i am working with nrf52840, SDK16.0, s140 (maybe i will change softdevice later) 
 
 i build a project on the peripheral blinky example, i change the advertising durition from forever to 15 seconds 
 
 but i want to get some indication</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 May 2021 14:51:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74822/ble-advertising-handler" /><item><title>RE: ble advertising handler</title><link>https://devzone.nordicsemi.com/thread/308585?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 14:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:122e9955-457c-4596-b331-83131cdfbad8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;The SoftDevice only support a single advertising set (even though the API suggests otherwise) so there can only ever be one advertiser. And when you get this event, you know it is terminated. The SoftDevice only separates between BLE events and SoC events, so you will get this event in any event handler that subscribes to BLE events (for instance in the&amp;nbsp;&lt;code&gt;ble_evt_handler()&lt;/code&gt; function that you see in most BLE examples in the nRF5 SDK).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble advertising handler</title><link>https://devzone.nordicsemi.com/thread/308578?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 14:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc3145a5-405c-4093-a6bc-e6d8fb87d88c</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;that ok but from which event instance to read this ? to which advertising struct this event is related and where is this struct&amp;nbsp; initiated or defined in the mentioned blinky example ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble advertising handler</title><link>https://devzone.nordicsemi.com/thread/308540?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 11:44:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b806e1e-44a4-44f6-a967-4c37be631ce7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Ziv,&lt;/p&gt;
&lt;p&gt;You will get a&amp;nbsp;&lt;code&gt;BLE_GAP_EVT_ADV_SET_TERMINATED&lt;/code&gt; event from the SoftDevice when advertising times out.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>