<?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>peripherials fail to connect to central (nrf5340) if another central (nrf5340) is scanning nearby</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119030/peripherials-fail-to-connect-to-central-nrf5340-if-another-central-nrf5340-is-scanning-nearby</link><description>hi, 
 i am trying to connect peripherals ( blood pressure, pulse ox meter) with nrf5340 as a central using uuid and mac, everything works as expected. however the peripherils fails to send notification datas to the central to which it is already connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Feb 2025 08:26:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119030/peripherials-fail-to-connect-to-central-nrf5340-if-another-central-nrf5340-is-scanning-nearby" /><item><title>RE: peripherials fail to connect to central (nrf5340) if another central (nrf5340) is scanning nearby</title><link>https://devzone.nordicsemi.com/thread/524251?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 08:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:960ad22e-1865-4260-b8bf-c15bb5f08b0e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;If it keeps failing, then I think it would make sense to verify whether the peripheral is still&amp;nbsp;doing connectable advertisements at that time. You can use a BLE sniffer or check the peripheral&amp;#39;s debug logs for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripherials fail to connect to central (nrf5340) if another central (nrf5340) is scanning nearby</title><link>https://devzone.nordicsemi.com/thread/524195?ContentTypeID=1</link><pubDate>Sun, 23 Feb 2025 06:07:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:753b4240-a01c-4d78-8efb-5a9769d642da</guid><dc:creator>Aravibala</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; thank you for the mail sorry for the delay, if you see in the debugging log you can notice that we are trying to connection again by enabling the filters and the device also gets discivered but it fails to connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripherials fail to connect to central (nrf5340) if another central (nrf5340) is scanning nearby</title><link>https://devzone.nordicsemi.com/thread/523808?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 07:04:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f65872-1da0-4f9f-9d2b-16b2073d9674</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If the device in pairing mode (observer?) is scanning aggressively and sending a scan request for every advertisement event, you may frequently encounter collisions between the scan request and the connection request. The solution is to attempt the connection again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripherials fail to connect to central (nrf5340) if another central (nrf5340) is scanning nearby</title><link>https://devzone.nordicsemi.com/thread/523622?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 05:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:660be03f-c4cf-4973-9082-dd02fb110e77</guid><dc:creator>Aravibala</dc:creator><description>&lt;p&gt;hi vidar, thanks for the reply, the central can switch between two different mode;&lt;/p&gt;
&lt;p&gt;pairing mode: that filters peripherals based on uuid and extract mac and store them;&lt;/p&gt;
&lt;p&gt;connection mode: that filters based on the stored mac and gets connected to the peripherals that matches the mac addr and gets the data from the peripherals.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;lets say two central are place next to each other and if one central device is in connection mode and gets data from the perhiperial that is already connected with&amp;nbsp; the central.&lt;/p&gt;
&lt;p&gt;Meanwhile if the other central device is in pairing mode and is near by,&amp;nbsp; it affects the peripherial from sending the data to the central which it is already in connection with. we get this error in the debug log of the central .&lt;/p&gt;
&lt;p&gt;Function connected (callback) called with conn_err: 2; Failed to connect to 50:33:8B:26:C5:30 (public)&lt;br /&gt;Failure reason 2: connection create timeout&lt;br /&gt;Refreshing scanning&lt;br /&gt;Setting new scan filters for connecting mode based on target addresses and current active connections&lt;br /&gt;Setting new scan filters for connecting mode based on target addresses and current active connections&lt;/p&gt;
&lt;p&gt;Starting scanning&lt;/p&gt;
&lt;p&gt;Filters matched. Address: 50:33:8B:26:C5:30 (public) connectable: 0&lt;br /&gt;Therm discovered&lt;br /&gt;Scanning stopped&lt;br /&gt;Initiating connection with Thermometer&lt;/p&gt;
&lt;p&gt;Function connected (callback) called with conn_err: 2; Failed to connect to 50:33:8B:26:C5:30 (public)&lt;br /&gt;Failure reason 2: connection create timeout&lt;br /&gt;Refreshing scanning&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripherials fail to connect to central (nrf5340) if another central (nrf5340) is scanning nearby</title><link>https://devzone.nordicsemi.com/thread/523325?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2025 14:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1695861-e8ca-4e99-8f33-fd71b600ed09</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are both centrals trying to connect the same peripheral? I assume the peripheral stops the connectable advertiser as soon as it has established a connection with one of them.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>