<?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 passkey connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60208/ble-passkey-connection</link><description>Hello, 
 Currently working with Segger 4.42 and SDK 15.0 
 I&amp;#39;ve searched around the devzone on doing a passkey connection between my server and central. 
 I&amp;#39;ve used the ble_app_gls as an example since most people use this regarding passkey connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Apr 2020 09:04:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60208/ble-passkey-connection" /><item><title>RE: BLE passkey connection</title><link>https://devzone.nordicsemi.com/thread/245168?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 09:04:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d262678-1c69-4dc7-8313-2b10fd8fe443</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Well,it happens to be that I have a Nokia 8.1 as well, but I made a discovery...&lt;/p&gt;
&lt;p&gt;When using the nRFConnect app:&lt;br /&gt;First time connection equals to success, disconnecting and reconnecting are no issue except when I delete bonding information. Then there is no way for me to reconnect to the device without erasing everything.&lt;/p&gt;
&lt;p&gt;When using standard Bluetooth from my phone:&lt;/p&gt;
&lt;p&gt;I can connect, disconnect, delete bonding as much as I want and there is no problem. It all works flawlessly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently still working on the client side to get it up and running, I&amp;#39;m just struggling a bit with the conversion from SDK15.2 in the example you handed over to SDK 15 which&amp;nbsp;I&amp;#39;m using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE passkey connection</title><link>https://devzone.nordicsemi.com/thread/245165?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 08:53:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9933e7ae-c800-4dd1-9e8f-f1c25db7490d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Have you made sure to do a full flash erase of the DK, as this seems like the behavior of a DK with stored bonding information of a device that doesn&amp;#39;t remember it. You can do a full erase by calling nrfjprog --eraseall for example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would the phone you have, by chance, be the Nokia 8.1. In that case, have one here on my end, so if you could upload your project I can test it here on my side and see if I&amp;#39;m able to reproduce/fix it. This is an alternative if erasing the DK flash doesn&amp;#39;t help.&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: BLE passkey connection</title><link>https://devzone.nordicsemi.com/thread/245127?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 06:23:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e190be8-45e3-4308-afc1-c63882134834</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;I am using an android 10 Nokia phone with the nRFConnect app.&lt;/p&gt;
&lt;p&gt;The situation is that I was able to connect the first time using my phone and the 52 dev kit, I could even disconnect and reconnect using the peer manager&amp;#39;s bonding table. As soon as I deleted the bonding information on my phone I cannot connect to my device anymore. Even if I erase my 52 dev kit and reprogram it. It is only allowing my phone to connect if I program a completely different project first of my project I&amp;#39;m testing with.&lt;/p&gt;
&lt;p&gt;When my project reaches the &amp;quot;PM_EVT_CONN_SEC_FAILED&amp;quot; event inside the peer manager, I get the peer ID from the connection handle and I flag it to be deleted from the bonding table, followed by sd_ble_gap_disconnect. In my ble_evt_handler under disconnect it then deletes the bond. Apparently my phone&amp;#39;s credentials are still stored somewhere as I cannot reconnect afterwards.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The strangest part is that a friend of mine connected and disconnected his phone multiple times without a problem, same as my windows PC which is also works fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I shall finish the client side today and see if it has the same problems as my phone or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE passkey connection</title><link>https://devzone.nordicsemi.com/thread/245121?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 05:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51f7f160-ffbb-4b4d-9dbd-ca638b59c702</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you provide some more information? What phone and what application (on the phone) are you using? Some services, like for example passkeys, are not natively supported on most phones. I suggest using the nRFConnect app when connecting and see if that makes a&amp;nbsp; difference&lt;/p&gt;
&lt;p&gt;Is there any log messages at all that you get on either the phone or nRF debug log?&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: BLE passkey connection</title><link>https://devzone.nordicsemi.com/thread/244963?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 11:39:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a927ecd-60e9-4023-a3c5-261eecc073a2</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Thank you, I will have a look.&lt;/p&gt;
&lt;p&gt;At the moment, my device is showing me the passkey but after I enter the passkey on my phone I get a message saying connection failed, passkey incorrect&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE passkey connection</title><link>https://devzone.nordicsemi.com/thread/244961?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 11:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa3cc5cc-88d8-441c-b688-c187f0023a95</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please take a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44658/communication-problems-between-ble_peripheral-and-ble_central-in-nrf52-project"&gt;this case&lt;/a&gt;, where my colleague has uploaded code examples for a central and peripheral (for SDK 15.0) that is able to connect and bond using a static passkey.&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: BLE passkey connection</title><link>https://devzone.nordicsemi.com/thread/244954?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 11:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95c9e4b1-a7c5-4106-a183-6279dbc1a073</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;Got it partially working, I&amp;#39;m currently only facing the problem that my server always responds with&amp;nbsp;Failed to secure connection. Disconnecting.&lt;/p&gt;
&lt;p&gt;Anyone know how to tackle this problem?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>