<?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>BLE connects to wrong device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89944/ble-connects-to-wrong-device</link><description>Hi, 
 We have a product which needs to connect to both a peripheral and central device (a phone), after a pairing is made they get whitelisted. 
 The state in which the problem occurs is the following: - Both the peripheral and central device have been</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jul 2022 08:11:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89944/ble-connects-to-wrong-device" /><item><title>RE: BLE connects to wrong device</title><link>https://devzone.nordicsemi.com/thread/376899?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 08:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ad2a70-151b-4b5e-b178-83fe9e598063</guid><dc:creator>Andreas3T</dc:creator><description>&lt;p&gt;Found a solution by changing the value of the filter policy to 0 found in the scan parameters structure given to sd_ble_gap_connect. This is because if the filter policy is set to whitelist the peer address is ignored. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>