<?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>Experimental NFC Pairing Example Question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20903/experimental-nfc-pairing-example-question</link><description>Hi all, 
 I am learning about the security mode level in BLE. Understood that BLE 4.2 added additional method which is called numerical comparison. 
 
 When I tried the experimental NFC pairing example, the OOB mode as well as the just work mode always</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Apr 2017 07:41:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20903/experimental-nfc-pairing-example-question" /><item><title>RE: Experimental NFC Pairing Example Question</title><link>https://devzone.nordicsemi.com/thread/81634?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 07:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca54c2d8-3327-4c7b-aba6-4487b2db2e77</guid><dc:creator>hkartadi</dc:creator><description>&lt;p&gt;thank you for the explanation, will explore again..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Experimental NFC Pairing Example Question</title><link>https://devzone.nordicsemi.com/thread/81633?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 06:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8516b42-7b11-4a20-88d1-ba6dda235a5a</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;first of all, pairing procedure triggered from NFC doesn&amp;#39;t necessarily have to use the OOB pairing method. It is always up to the phone (or generally BLE Central device) whether or not to use the security data available in the NFC.&lt;/p&gt;
&lt;p&gt;So basically in your case, the phone performs the pairing, but it uses the Just Works method. It takes BLE device address, flags and BLE Role fields from the NFC tag and sends a Pairing Request with OOB flag &lt;strong&gt;cleared&lt;/strong&gt; that&amp;#39;s why it results with &lt;em&gt;Security Mode 1, Level 2&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Starting from Android 7.1, the system uses the security information from the NFC tag to perform authenticated pairing (Out-of-Band pairing method). The security data can be:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Security Manager TK value (for Legacy Pairing, BT Core &amp;lt; 4.2)&lt;/li&gt;
&lt;li&gt;Secure Connections Random and Confirmation values (for Secure Connections pairing, BT Core &amp;gt;= 4.2)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that in case of Legacy Pairing, both devices must set the OOB flag (in Pairing Request and Response) to perform the OOB pairing. For LE Secure Connections to perform OOB pairing it is enough that at least one device sets the OOB flag (Pairing Request and/or Pairing Response).&lt;/p&gt;
&lt;p&gt;An example that uses Numeric Comparison is: examples\ble_central_and_peripheral\experimental\ble_app_multirole_lesc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Experimental NFC Pairing Example Question</title><link>https://devzone.nordicsemi.com/thread/81632?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2017 06:31:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfd56ff4-bcf4-4175-9ea3-d9aac0e6ab1a</guid><dc:creator>hkartadi</dc:creator><description>&lt;p&gt;Basically I am quite confused, my phone is just fine, it can do the OOB pairing based on the NFC example. However it is always show up as Security mode 1 level 2 which means it is &amp;quot;an unauthenticated pairing with encryption&amp;quot;. I thought anything that uses OOB is always &amp;quot;an authenticated pairing&amp;quot; which brings it to level 4?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Experimental NFC Pairing Example Question</title><link>https://devzone.nordicsemi.com/thread/81631?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 10:32:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bcc2174-6cae-4633-9c22-164263ce0923</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What phone are you using? Note that OOB support was first added in Android 7(Nougat). See &lt;a href="https://devzone.nordicsemi.com/blogs/1004/nrf52832-and-android-nougat-simple-and-secure-touc/"&gt;this blog post&lt;/a&gt; for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>