<?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>Not bonding when cancelling key menu input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74763/not-bonding-when-cancelling-key-menu-input</link><description>Hi, 
 I have my device based on the nRF52840 and it is working fine but we are focusing some issues given by our users. 
 When our device is connected to a smartphone, the smartphone asks for a key to stablish bonding: 
 - If the key is correctly inserted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 May 2021 07:24:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74763/not-bonding-when-cancelling-key-menu-input" /><item><title>RE: Not bonding when cancelling key menu input</title><link>https://devzone.nordicsemi.com/thread/308455?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 07:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f271643-adf2-46f1-9928-83fb09b265e4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi Dani,&lt;/p&gt;
&lt;p&gt;Can you try to remove&amp;nbsp;&lt;span&gt;the following from main() or other places they may be called?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;//pm_handler_on_pm_evt() // comment out if used&lt;br /&gt;&lt;/span&gt;&lt;span&gt;//pm_handler_secure_on_connection() // comment out if used&lt;/span&gt;&lt;br /&gt;&lt;span&gt;//pm_handler_secure_on_error()&amp;nbsp;&lt;/span&gt;&lt;span&gt;// comment out if used&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;If it still doesn&amp;#39;t work I would need a new sniffer trace.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not bonding when cancelling key menu input</title><link>https://devzone.nordicsemi.com/thread/308362?ContentTypeID=1</link><pubDate>Wed, 05 May 2021 12:59:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95231324-ab46-4cf7-8dc9-b68c0016d51f</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Please find attached log file created by WireShark tool with sniffer: I had my device (adverstes during 6 seconds, stops 3 seconds, then advertises during 6 seconds,...) advertising and at time point 68.775 I connected my smartphone to it. The Smartphone has been asked to enter a passkey, but I have selected &amp;#39;cancel&amp;#39; in the pop-up that appears to introduce the passkey: this is a way of operation that can happen. Being in this situation, it is impossible to connect to this device unless I reset the Smartphone....&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Android_5F00_pairing_5F00_cancelling_5F00_key_5F00_entry.pcapng"&gt;devzone.nordicsemi.com/.../Android_5F00_pairing_5F00_cancelling_5F00_key_5F00_entry.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;
&lt;p&gt;Dani&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not bonding when cancelling key menu input</title><link>https://devzone.nordicsemi.com/thread/308345?ContentTypeID=1</link><pubDate>Wed, 05 May 2021 12:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1e9ad77-3c36-417a-a19c-602fb5b9fc6b</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;An on-air sniffer log would be very useful:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE&lt;/a&gt;&lt;/span&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/pdf/nRF_Sniffer_BLE_UG_v3.2.pdf"&gt;https://infocenter.nordicsemi.com/pdf/nRF_Sniffer_BLE_UG_v3.2.pdf&lt;/a&gt;&amp;nbsp;(there might be&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;newer depending on when you read this&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>