<?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>advertising auto-restart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64722/advertising-auto-restart</link><description>I am trying to understand the following, hopefully someone can explain: 
 
 AFAIK, BLE advertising is stopped as soon as the limit of the SD is reached, AKA the PERIPHERAL_LINK_COUNT in the examples. 
 
 To me it seems like the advertising is stopped</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Aug 2020 08:11:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64722/advertising-auto-restart" /><item><title>RE: advertising auto-restart</title><link>https://devzone.nordicsemi.com/thread/264566?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 08:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90b9ee5f-826b-4699-b32b-9d3ea80e03a7</guid><dc:creator>Daniel Dakhno</dc:creator><description>&lt;p&gt;thank you, I really appreciate nordics communication with developers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising auto-restart</title><link>https://devzone.nordicsemi.com/thread/264564?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 08:08:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b890252-fcc9-4e6a-820c-c34a00a29f9d</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="82185" url="~/f/nordic-q-a/64722/advertising-auto-restart"]why can the advertisement be stopped by the SoftDevice, but not started again automatically?[/quote]
&lt;p&gt;Yes, the application needs to restart the advertising with &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.api.v2.0.1%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=gab82c978db30188c7f4fbf2dac1d97720"&gt;sd_ble_gap_adv_start()&lt;/a&gt;&lt;span&gt;. By doing&lt;/span&gt;&amp;nbsp;this, we let the application&amp;nbsp;decide if it wants to start the advertising again or not. This leaves the developers with better&amp;nbsp;flexibility on how they want their application to behave.&lt;/p&gt;
[quote userid="82185" url="~/f/nordic-q-a/64722/advertising-auto-restart"]Also, what is the limit for central and peripheral connections with s130?[/quote]
&lt;p&gt;The S130 SoftDevice can be configured with one connections as a Peripheral and up to eight connections as a Central.(&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.sds/dita/softdevices/s130/ble_protocol_stack/role_configuration.html"&gt;link&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Note that with the S132/S140 SoftDevice for the nRF52-series you can have up to 20 links, freely configurable roles.&lt;/p&gt;
[quote userid="82185" url="~/f/nordic-q-a/64722/advertising-auto-restart"]What happens, when i try to start advertising, while a client is connected? I suppose i get some error regarding the client limit?[/quote]
&lt;p&gt;If you have exceeded the maximum numbers of connections, you will get the&amp;nbsp;NRF_ERROR_CONN_COUNT error, telling you that the&amp;nbsp;&lt;span&gt;limit of available connections has been reached; connectable advertiser cannot be started.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>