<?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>Scan gets interrupted when connecting to a device.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97719/scan-gets-interrupted-when-connecting-to-a-device</link><description>Hi , 
 I am using SDK nRF5_SDK_17.0.2 with nrf52840 for one of my projects and as part of the requirement I need a scanner that keeps scanning for sensors and collects data from the advertised packet and at regular intervals I need to connect to these</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Mar 2023 12:40:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97719/scan-gets-interrupted-when-connecting-to-a-device" /><item><title>RE: Scan gets interrupted when connecting to a device.</title><link>https://devzone.nordicsemi.com/thread/415447?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 12:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6589bbd0-a0d3-475e-a276-3ad7842dc490</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Kirankumar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately it&amp;#39;s not possible to do both scanning and connecting at the same time. It&amp;#39;s the limitation of the BLE stack. The only option if you use the softdevice is to start scanning right after it&amp;#39;s connected. And use a short connecting timeout to avoid scan being blocked for a long time if the connection can&amp;#39;t be established.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>