<?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>nfc_t4t_done() is returning NRF_ERROR_INVALID_STATE. Docs says it always returns NRF_SUCCESS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19288/nfc_t4t_done-is-returning-nrf_error_invalid_state-docs-says-it-always-returns-nrf_success</link><description>I&amp;#39;ve been working on a separate problem with the NFC Type 4 library when I ran across this. I can duplicate it in the experimental_writeable_ndef_msg example. 
 All I did was add err_code = nfc_t4t_done();&amp;quot; right before the while(1) loop in main() .</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Jan 2017 08:19:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19288/nfc_t4t_done-is-returning-nrf_error_invalid_state-docs-says-it-always-returns-nrf_success" /><item><title>RE: nfc_t4t_done() is returning NRF_ERROR_INVALID_STATE. Docs says it always returns NRF_SUCCESS</title><link>https://devzone.nordicsemi.com/thread/74765?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 08:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7801552-446f-45aa-913b-a58dbb41e8fe</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Thanks for reporting this, I have reported the missing documentation internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nfc_t4t_done() is returning NRF_ERROR_INVALID_STATE. Docs says it always returns NRF_SUCCESS</title><link>https://devzone.nordicsemi.com/thread/74764?ContentTypeID=1</link><pubDate>Sat, 28 Jan 2017 11:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:081d3bb9-e6d9-40eb-a63e-423dd83b88e9</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;You need to call &lt;code&gt;nfc_t4t_emulation_stop()&lt;/code&gt; before you call &lt;code&gt;nfc_t4t_done()&lt;/code&gt;. I guess the documentation needs to be updated with &amp;quot;&lt;code&gt;NRF_ERROR_INVALID_STATE&lt;/code&gt;: If emulation is in running state.&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>