<?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>OOB pairing via NFC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23028/oob-pairing-via-nfc</link><description>Hi, I want to OOB pair two equal devices (pca10040 + NFC shield) via NFC. Since its not clear which of the two devices will act as NFC initiator (active) or tag (passive), I think I need to use P2P NFC mode. 
 I planned using the adafruit NFC shield</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jun 2017 13:11:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23028/oob-pairing-via-nfc" /><item><title>RE: OOB pairing via NFC</title><link>https://devzone.nordicsemi.com/thread/90589?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 13:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bef69fa-7a3f-448f-824b-4733dc03a837</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes, first two points are in-line with my understanding. The third one is indeed the biggest weakness and hard to solve it here on the paper. Some devices are switching roles in 90:10ms, some are having cycles as long as 1s. You will need to experiment and hope that your (for NFC fairly stupid) requirement of transaction within time of the touch is achievable...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OOB pairing via NFC</title><link>https://devzone.nordicsemi.com/thread/90588?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 12:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5d0c728-c319-402c-bfd6-5d927afcc620</guid><dc:creator>phst36</dc:creator><description>&lt;p&gt;Thanks for your answer!
yes, it is planned that more devices of the described type can be paired with each other (but just in BLE connection mode, no broadcasting etc).
I like the way you proposed, I understand it as follows:&lt;/p&gt;
&lt;p&gt;1.) setting up the pn532 as PCD (reader) with the adafruitlib, as this is a covered functionality (working example from nordic..)&lt;/p&gt;
&lt;p&gt;2.) For the PICC setup there would be two ways right? I could choose the nrf52832 integrated NFC-tag or implementing a cardemulation aka configure the pn532 as tag (possible according to the datasheet). The latter should be possible with the adafruitlib functions like &lt;em&gt;adafruit_pn532_command_write()&lt;/em&gt; and so on, right?&lt;/p&gt;
&lt;p&gt;3.) Im not sure about the rotating roles.. Should this be done randomly in fixed time intervals? I think it could happen that two polling devices meet up each other and never get to the point where they hit the right PCD-PICC combination. Do you have any information on the timing behavior/duration of the polling events, &amp;quot;resting-in-tag-mode&amp;quot; etc? since the devices should pair within &amp;quot;the time of a touch&amp;quot; ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OOB pairing via NFC</title><link>https://devzone.nordicsemi.com/thread/90590?ContentTypeID=1</link><pubDate>Sat, 24 Jun 2017 09:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c740b86f-dbea-45c6-8c73-20c8c3bfaa63</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;According to NXP PN532 the chipset indeed supports &amp;quot;NFC Peer to peer&amp;quot; communication (see &lt;a href="http://www.nxp.com/documents/user_manual/141520.pdf"&gt;chapter 7.5.5 of User manual&lt;/a&gt;). However I wouldn&amp;#39;t go that way. If you will have always only two boards then simply assign ISO14443 PCD role (&amp;quot;reader&amp;quot; = active device) to one and ISO14443 PICC (&amp;quot;card&amp;quot; or &amp;quot;tag&amp;quot; if you want = passive device) to another. If you have more devices in the ecosystem then use rotating roles where each of them polls for &amp;quot;tags&amp;quot; as PCD (typically 80-90% of time) and in the rest it listens as PICC to nearby readers. Then first time they both appear in right PCD-PICC combination the transaction is processed. It has one advantage that such device will be compatible with other PICC (&amp;quot;tag&amp;quot;) only devices such as bare nRF52. But indeed you might settle down to the mode explained in NXP manual because of simplicity...&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>