<?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>Bluetooth Sample central_nfc_pairing with PN7160 NFC Controller</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119288/bluetooth-sample-central_nfc_pairing-with-pn7160-nfc-controller</link><description>Hello, 
 I am working on using the Nordic nRF TNEP API to support an NFC Bluetooth tap-to-pair application with negotiated handover. I have been working on programming the NFC Poller side using an nRF 52840. I&amp;#39;m using the Central NFC Pairing example in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Mar 2025 01:51:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119288/bluetooth-sample-central_nfc_pairing-with-pn7160-nfc-controller" /><item><title>RE: Bluetooth Sample central_nfc_pairing with PN7160 NFC Controller</title><link>https://devzone.nordicsemi.com/thread/525848?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 01:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:046f19b2-4309-4bad-a0bf-613bb5cb84dd</guid><dc:creator>Johnny Nguyen</dc:creator><description>&lt;p&gt;In the sample, you can see that process in carrier_prepare,&amp;nbsp;tnep_ch_request_prepare, and the callbacks in the&amp;nbsp;nfc_tnep_ch_cb struct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Sample central_nfc_pairing with PN7160 NFC Controller</title><link>https://devzone.nordicsemi.com/thread/525839?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 00:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:072fa692-c7ec-408b-a64d-f723a5c827f0</guid><dc:creator>dBest</dc:creator><description>&lt;p&gt;The simplified flow you listed looks to be the Static Pairing method, if I&amp;#39;m not mistaken. I am trying to do the TNEP negotiated handover method. Do you have a simplified flow for that?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been able to get a static pairing demo working, because it&amp;#39;s just been a simple matter of parsing the NDEF message and using the OOB functions, and initiating a Bluetooth scan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Sample central_nfc_pairing with PN7160 NFC Controller</title><link>https://devzone.nordicsemi.com/thread/524933?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 22:08:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c325c071-9e7b-4cde-b16c-5e1e268bb5ca</guid><dc:creator>Johnny Nguyen</dc:creator><description>&lt;p&gt;Hi Derrik,&lt;/p&gt;
&lt;p&gt;Sorry I’m just now getting back to this. For posterity and record keeping, I am consolidating our e-mail chain to this DZ case.&lt;/p&gt;
&lt;p&gt;The high-level overall flow is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;The Central NFC sample initializes the NFC and waits for a Type 2 or Type 4 NFC Tag to appear in the field.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;When a tag is detected, the read and parses its content.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;The tag content should include Connection Handover messages and records, which contain the data required to initiate pairing, including the Bluetooth LE address of the peripheral device.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;After reading the tag or exchanging data over TNEP (Tag NDEF Exchange Protocol), the central device starts scanning for the specific Bluetooth LE address obtained from the tag.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;Once the advertising device with the matching address is found, the central device initiates the pairing process.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Our initial correspondence was around&amp;nbsp;nfc_tnep_poller_svc_select potentially hanging up and wanting to add logs to the poller implementation. Looking at the log you sent earlier, maybe it’s not getting hung up where I originally thought it was, digging into the library could be an XY problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do any callbacks in the connection handover service struct you init ever get called in your application? Are you getting the OoB data across to apply to the central’s scan filter?&lt;/p&gt;
&lt;p&gt;I see the capability container being scanned, but I’m not seeing any logs that would be in the application space beyond just reading/parsing the capability container.&lt;/p&gt;
&lt;p&gt;The simplified flow should be:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Detect and read the NFC tag&lt;/li&gt;
&lt;li&gt;Read and parse the Capability Container&lt;/li&gt;
&lt;li&gt;Read the NDEF file&lt;/li&gt;
&lt;li&gt;Parse the NDEF message for Connection Handover records&lt;/li&gt;
&lt;li&gt;Extract OOB data (including the Bluetooth LE address, and a key to use in place of a pin code)&lt;/li&gt;
&lt;li&gt;Use the Connection Handover service to process this data and initiate Bluetooth pairing&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;(More info at &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/nfc/tnep/ch.html"&gt;NFC TNEP Connection Handover&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Sample central_nfc_pairing with PN7160 NFC Controller</title><link>https://devzone.nordicsemi.com/thread/524874?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 15:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:709657cc-aaeb-42a1-9809-56c434375e44</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Sorry no. Some background: The main reason we&amp;nbsp;introduced support for an NFC reader/writer chip was to verify our NFC Tag solution. It provide a complimentary sample for the NFC tag samples available in the SDK. The ST25R3911B was chosen because it supports all the modes that were required for testing the Nordic Tag. So unfortunately we have very little information about the reader/writer in this case.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Sample central_nfc_pairing with PN7160 NFC Controller</title><link>https://devzone.nordicsemi.com/thread/524701?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 22:39:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8a83e5f-a002-498c-93d3-0a043c3e8f40</guid><dc:creator>dBest</dc:creator><description>&lt;p&gt;Do you have any documentation or block diagrams on the Nordic implementation of the TNEP API (beyond what is already on the link I posted)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Sample central_nfc_pairing with PN7160 NFC Controller</title><link>https://devzone.nordicsemi.com/thread/524597?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 13:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42107fff-1b10-436d-b4b7-69c1d9962a10</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Unfortunately I am not much at help on this one. I wanted to take a look at the application note from NFC forum, which describes how the exchange is occurring, but it&amp;#39;s behind a paywall, so not able to look into the details there either:&amp;nbsp;&lt;a href="https://nfc-forum.org/build/specifications/bluetooth-secure-simple-pairing-using-nfc/"&gt;https://nfc-forum.org/build/specifications/bluetooth-secure-simple-pairing-using-nfc/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Likely getting&amp;nbsp;a board with the&amp;nbsp;&lt;span&gt;ST25R3911B is a good idea for comparison&lt;/span&gt;&amp;nbsp;:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/others/st25r3911b_nfc.html#st25r3911b-nfc-readme"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/others/st25r3911b_nfc.html#st25r3911b-nfc-readme&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>