<?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>Prevent central device from reconnecting when actively disconnected from peripheral side</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89252/prevent-central-device-from-reconnecting-when-actively-disconnected-from-peripheral-side</link><description>Hi, we have the requirement for our peripheral to be able to disable Bluetooth functionality, i.e. disconnect any connected central device and not accept any new connections. We are running nRF52832 with SDK 15.3. We have functionality in place to bond</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jun 2022 11:27:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89252/prevent-central-device-from-reconnecting-when-actively-disconnected-from-peripheral-side" /><item><title>RE: Prevent central device from reconnecting when actively disconnected from peripheral side</title><link>https://devzone.nordicsemi.com/thread/373916?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 11:27:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0643283c-aebf-4d8d-92b1-5015810d4589</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Good thing you found it! I was about to write that you need to stop advertising, but I didn&amp;#39;t realize that you were just looking for that setting. I thought that you wanted to keep advertising (for other devices), and in that case, it wouldn&amp;#39;t be possible to &amp;quot;blacklist&amp;quot; single devices.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But in this case, it is much easier. Just stop advertising after the disconnect &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prevent central device from reconnecting when actively disconnected from peripheral side</title><link>https://devzone.nordicsemi.com/thread/373807?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 05:04:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54820e3f-d08d-4abc-8f45-c1d185caa818</guid><dc:creator>ozh</dc:creator><description>&lt;p&gt;I answer my own question: At the very top of ble_adv_modes_config_t in ble_advertising.h there is a boolean ble_adv_on_disconnect_disabled, setting it to true achieves what I want. I cannot believe I did not see it before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>