<?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>Changes in NFC Type 4 library from SDK 12.2 to SDK 13?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21015/changes-in-nfc-type-4-library-from-sdk-12-2-to-sdk-13</link><description>I see in the SDK 13.0.0 release notes that the NFC type 4 library was updated to &amp;quot;production ready&amp;quot;, but I couldn&amp;#39;t find a summary of the changes made to the NFC Type 4 library. 
 We&amp;#39;re seeing an occasional problem with the NFC Type 4 library from SDK12</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Apr 2017 06:45:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21015/changes-in-nfc-type-4-library-from-sdk-12-2-to-sdk-13" /><item><title>RE: Changes in NFC Type 4 library from SDK 12.2 to SDK 13?</title><link>https://devzone.nordicsemi.com/thread/82111?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 06:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f6a6b75-6346-4338-8edc-c7710010a153</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Ok, so it sounds like the issue with &lt;code&gt;NLEN&lt;/code&gt; remaining 0 may appear due to low electromagnetic coupling between antennas and interrupting the actual communication. In this case, I think a way to recover would be to check the event sequence for &lt;code&gt;NFC_T4T_EVENT_NDEF_UPDATED&lt;/code&gt; with &lt;code&gt;NLEN = 0&lt;/code&gt; then &lt;code&gt;NFC_T4T_EVENT_FIELD_OFF&lt;/code&gt;. It may happen that the &lt;em&gt;UPDATEBINARY&lt;/em&gt; APDU writing NDEF data was successful even if the last &lt;code&gt;NLEN&lt;/code&gt; update didn&amp;#39;t happen. In such case the written NDEF will be there in the buffer provided in &lt;code&gt;nfc_t4t_ndef_rwpayload_set()&lt;/code&gt; so the application can validate it, and call &lt;code&gt;nfc_t4t_ndef_rwpayload_set()&lt;/code&gt; once again with the re-calculated &lt;code&gt;NLEN&lt;/code&gt;, or simply update the &lt;code&gt;NLEN&lt;/code&gt; directly in the buffer. Maybe that helps, but it assumes NDEF is not corrupted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changes in NFC Type 4 library from SDK 12.2 to SDK 13?</title><link>https://devzone.nordicsemi.com/thread/82110?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 11:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7a8bc5e-da08-4bea-9dd9-314d849d88da</guid><dc:creator>CurtisHx</dc:creator><description>&lt;p&gt;We&amp;#39;ve been using Android smart phones ( Motorola X Pure and Samsung Galaxy S7) for all of our testing.  It looks like it only shows up when there isn&amp;#39;t a solid connection between the PCD and the nRF52832.  I haven&amp;#39;t seen this problem show up on the dev kit.  Our device has pretty small antennal (18mm diameter) and we&amp;#39;re still trying to fine tune the resonance.  It&amp;#39;s like the first &lt;code&gt;NFC_T4T_EVENT_NDEF_UPDATED&lt;/code&gt; event succeeded, but the second event didn&amp;#39;t happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changes in NFC Type 4 library from SDK 12.2 to SDK 13?</title><link>https://devzone.nordicsemi.com/thread/82109?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 09:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1909cf44-4de0-4ca0-86d4-25fd65d72b1f</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For SDK 13.0 no functional changes have been made in type 4 Tag lib. By upgrading to &amp;quot;Production Ready&amp;quot; we mean we focused on verification (mostly system- and integration-level) to improve the quality. To be precise we fixed some bugs in hal_nfc_t4t (e.g. NFC startup while HFCLK is running) and improved NFC-A symbol detection stability (by adjusting register settings) for nRF52840 devices.&lt;/p&gt;
&lt;p&gt;Additionally, we added:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;static configuration (in sdk_config.h) of HAL_NFC_TIMER_PERIOD parameter used for workaround for errata [79] on nRF52832 devices,&lt;/li&gt;
&lt;li&gt;static configuration (in sdk_config.h) of NFC IRQ priority&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When it comes to NLEN field remaining 0 after write - we haven&amp;#39;t seen such an issue. Do you use any standard Reader/Writer (PCD) when this problem occurs? How can we reproduce such a case?
Generally the way the library handles UPDATE_BINARY C-APDUs is that it checks the &lt;code&gt;offset&lt;/code&gt; parameter, and if the &lt;code&gt;offset &amp;lt;= 1&lt;/code&gt; (meaning the &lt;code&gt;NLEN&lt;/code&gt; field is being updated) it notifies the application with &lt;code&gt;NFC_T4T_EVENT_NDEF_UPDATED&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>