<?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>Andriod BLE double pairing after first use</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115409/andriod-ble-double-pairing-after-first-use</link><description>Hi, 
 I notice that some Andriod devices (Pixel 6A running Andriod 15 Beta and Samsung S22) are initiating paring twice during bonding. However, the issue goes away for the first usage after the device is flashed again. Not entirely sure what is going</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Oct 2024 13:40:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115409/andriod-ble-double-pairing-after-first-use" /><item><title>RE: Andriod BLE double pairing after first use</title><link>https://devzone.nordicsemi.com/thread/506157?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 13:40:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9bd0bb0-7c87-4307-be1e-24103fe9a1ee</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t remember (and have not been able to dig up) the exact BLE events, and the fix we had was for the old SDK. There it was relate to the &lt;strong&gt;pm_handler_secure_on_connection&lt;/strong&gt;() and &lt;strong&gt;_error&lt;/strong&gt;() functions, and by removing one of them you could avoid the two pairing dialogs.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Andriod BLE double pairing after first use</title><link>https://devzone.nordicsemi.com/thread/505950?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 16:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6014b78-8322-4705-a9d8-f51582aee61f</guid><dc:creator>PuffinEgg</dc:creator><description>&lt;p&gt;Thanks for the response! Out of curiosity, do you happen to know what the two BLE events are? I have also tried disabling&amp;nbsp;MTU&amp;nbsp;exchange and setting&amp;nbsp;&lt;span&gt;CONFIG_BT_GATT_CLIENT=&lt;/span&gt;&lt;span class="x x-first x-last"&gt;n, which didn&amp;#39;t really fix this issue.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Andriod BLE double pairing after first use</title><link>https://devzone.nordicsemi.com/thread/505834?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 08:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33c7a024-977f-4d82-827a-d28ef60fac5f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Two pairing popup windows is indeed a bug we&amp;#39;ve seen before, and the reason seems to be because&amp;nbsp;two BLE events are trigging pairing both upon connection and upon errors in the PM handler which triggers on some phones, and not on others. It seems to generally be caused by how the OS handles pairing requests, and we&amp;#39;ve not found a good way around this yet I&amp;#39;m afraid.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>