<?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>Failing to restart advertising after connection on nRF5340-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123465/failing-to-restart-advertising-after-connection-on-nrf5340-dk</link><description>Hello, 
 I’m working with the nRF5340-DK using nRF Connect SDK v3.0 and the SoftDevice Controller. My goal is to support multiple simultaneous connections , and I have already set CONFIG_BT_MAX_CONN in prj.conf to a value greater than 1. I use legacy</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Aug 2025 12:17:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123465/failing-to-restart-advertising-after-connection-on-nrf5340-dk" /><item><title>RE: Failing to restart advertising after connection on nRF5340-DK</title><link>https://devzone.nordicsemi.com/thread/544621?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 12:17:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2307ebbc-18e1-4c7b-9562-e2405316c57f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you also increased &lt;code&gt;CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT&lt;/code&gt;? This is needed in addition to&amp;nbsp;&lt;code&gt;CONFIG_BT_MAX_CONN&lt;/code&gt;. In addition, you should not re-start advertising in the callback, but defer it as shown for instance &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/52eeb6a4891bbe0f0e53556d3771fb9757dc2c61/samples/bluetooth/peripheral_rscs/src/main.c"&gt;here&lt;/a&gt; where a work queue is used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>