<?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>Problem with implementing nfc pairing along with regular bluetooth pairing (passkey)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96769/problem-with-implementing-nfc-pairing-along-with-regular-bluetooth-pairing-passkey</link><description>Hi! I&amp;#39;m trying to add second option of pairing to my nrf52840DK. I already have pairing using passkey, however I would like to also provide an option of pairing using NFC. Is it even possible, if so could someone explain me how to do it? Already looked</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Feb 2023 08:56:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96769/problem-with-implementing-nfc-pairing-along-with-regular-bluetooth-pairing-passkey" /><item><title>RE: Problem with implementing nfc pairing along with regular bluetooth pairing (passkey)</title><link>https://devzone.nordicsemi.com/thread/412422?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 08:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac7b175c-a387-4916-8546-ce6a8bb74d12</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Waatff,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If both devices have OOB (NFC) support, they will use OOB as the authentication method and passkey will not be used.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to have different mode that you either only support NFC or only support passkey, you can reinitialize the authentication handlers by calling&amp;nbsp;bt_conn_auth_cb_register(NULL)&amp;nbsp;&lt;br /&gt;Then you call&amp;nbsp;bt_conn_auth_cb_register() again with the correct callbacks (adding or removing passkey_display or&amp;nbsp;oob_data_request)&lt;/p&gt;
&lt;p&gt;By not having passkey_display or&amp;nbsp;passkey_entry in the callback the device will not request passkey (don&amp;#39;t support display or keyboard)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with implementing nfc pairing along with regular bluetooth pairing (passkey)</title><link>https://devzone.nordicsemi.com/thread/412296?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 13:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:595ada2b-56a2-4b86-a643-b434c79f4f56</guid><dc:creator>waatff</dc:creator><description>&lt;p&gt;Hi again, this problem with nfc pairing is already gone, however I got different question. Is it possible to disable passkey authorization for nfc pairing while still requesting passkey for regular connections?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with implementing nfc pairing along with regular bluetooth pairing (passkey)</title><link>https://devzone.nordicsemi.com/thread/410683?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 14:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22fa4670-059f-4701-84ae-bf861512cce3</guid><dc:creator>waatff</dc:creator><description>&lt;p&gt;My issue was the fact that I couldn&amp;#39;t establish the ble connection when using nfc pairing. I will try and rewrite that code so it should work, if it won&amp;#39;t then I will get back to you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And yeah the sample worked right out of the box.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with implementing nfc pairing along with regular bluetooth pairing (passkey)</title><link>https://devzone.nordicsemi.com/thread/410661?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 13:33:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d85cca7-371e-40f4-a452-42a81ab2d528</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which issue do you have with implementing it in your application ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I would assume you have tested with the sample and it worked out of the box ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with implementing nfc pairing along with regular bluetooth pairing (passkey)</title><link>https://devzone.nordicsemi.com/thread/410638?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 12:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbe34d46-c20f-4830-b361-50b1951e1018</guid><dc:creator>waatff</dc:creator><description>&lt;p&gt;I&amp;#39;m using nRF Connect SDK v2.2.0 and tried the peripherial_nfc_pairing sample, however I failed at implementing it at my project. Thanks for the &amp;quot;advertising part&amp;quot; of your answer, I may missed it so I will try again having this in my mind :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with implementing nfc pairing along with regular bluetooth pairing (passkey)</title><link>https://devzone.nordicsemi.com/thread/410635?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 12:32:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47f0af63-2fac-4e3a-bf67-c3799b19f0ea</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Waatff,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A device can support both passkey and NFC. It depends on the peer device, if the peer device also support NFC then NFC will be used. If it doesn&amp;#39;t support NFC and only passkey supported then passkey will be used.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give us more information about the SDK you are using ?&lt;br /&gt;Which example did you test with ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using nRF Connect SDK you should try&amp;nbsp;\nrf\samples\bluetooth\peripheral_nfc_pairing&lt;br /&gt;If you are using NRF5 SDK you should try&amp;nbsp;\examples\ble_peripheral\experimental\ble_app_hrs_nfc_pairing&lt;br /&gt;&lt;br /&gt;Note that normally you only do directed advertising for a very short period of time 1.25ms and have to switch back to normal advertising (to avoid congestion). So usually you don&amp;#39;t do directed advertising at the same time as normal advertising.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>