<?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>Is there a way to refuse to re-pair with an Android device?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94857/is-there-a-way-to-refuse-to-re-pair-with-an-android-device</link><description>I am developing with nrf52832 (s132 v7.0.1, SDK v17.0.0) as a peripheral device. 
 I am communicating with an Android device (SH-M05) as central. 
 There are times when I want to refuse to re-pair with an Android device, but before I can set up the refusal</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Dec 2022 10:18:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94857/is-there-a-way-to-refuse-to-re-pair-with-an-android-device" /><item><title>RE: Is there a way to refuse to re-pair with an Android device?</title><link>https://devzone.nordicsemi.com/thread/400570?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 10:18:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fed439d1-4c02-497d-b815-6ced91b7f9eb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sdi_kei,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you show us what exactly is the&amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;quot;Pair Configuration Request&amp;quot; ? I guess it&amp;#39;s different on each phone manufacturer to display such message or not.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;But what we need to look into here is that if the peripheral actively send the encryption request or not.&amp;nbsp;And if that trigger the message. If it&amp;#39;s the case, we can check if you can modify the peer manager to not send the security request when connect to a bonded peer. And let the bonded peer do the task.&amp;nbsp;&lt;br /&gt;You may want to capture &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;a sniffer trace &lt;/a&gt;to see what occurs over the air.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to refuse to re-pair with an Android device?</title><link>https://devzone.nordicsemi.com/thread/400544?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 09:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfb28f22-3e03-4e11-aeca-5c389a53dce6</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Not really possible.&lt;/p&gt;
&lt;p&gt;If you delete the pairing on Android, you still have the old pairing key in the device.&lt;/p&gt;
&lt;p&gt;Upon connecting, PM will notice the key and offer it to the android device since the address matches. That is what makes android display the pairing dialog, since because the key is missing on the &amp;quot;host&amp;quot;.&lt;/p&gt;
&lt;p&gt;There is no way of knowing that the host key was deleted at this point.&lt;/p&gt;
&lt;p&gt;And PM_EVT_CONN_SEC_CONFIG_REQ only arrives &lt;em&gt;after&lt;/em&gt; the user confirmed the re-pairing dialog on android.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>