<?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>nRF52832 + PN532 Write</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88959/nrf52832-pn532-write</link><description>Hi, 
 I am testing NFC read/ write examples . in nRF 5 SDK 17.1.0 
 I am trying to write the tag using PN532 using the adafruit tag reader example but i receive error like invalid length. 
 
 DEVICE 1 adafruit_tag_reader with PN532 
 DEVICE 2 is writable_ndef_msg</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jun 2022 11:40:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88959/nrf52832-pn532-write" /><item><title>RE: nRF52832 + PN532 Write</title><link>https://devzone.nordicsemi.com/thread/374527?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 11:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deaa3279-8a98-4f2d-86ca-a9b49f39fcb2</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The three parameters that are used in an NDEF Update procedure are the following. and twith the following description:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; * @param[in]     p_cc_file          Pointer to the Capability Container descriptor.
 * @param[in]     p_ndef_file_buff   Pointer to the buffer with NDEF file.
 * @param[in]     ndef_file_buff_len Length of the provided NDEF file.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When you get an INVALID_LENGTH error, the length of the provided NLEN value is not coherent with the NDEF file buffer length, or the buffer length is bigger than maximal file size.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 + PN532 Write</title><link>https://devzone.nordicsemi.com/thread/373734?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 14:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75d8d83e-ade7-4117-b5b0-f738673d379e</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Still I have this same problem&lt;/p&gt;
&lt;p&gt;why this error 0x09 invalid length come&lt;/p&gt;
&lt;p&gt;how to set the length properly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 + PN532 Write</title><link>https://devzone.nordicsemi.com/thread/373575?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 06:47:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8655874-f75c-4632-9467-ef5f66682041</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry for the late response, Most likely you have already fixed this. we do not have an example to show this but I do not see why this could not work. The error says that it is an invalid length with the parameters,&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;tag_data_read should be returning errors that should be handled in&amp;nbsp;&lt;/span&gt;&lt;/span&gt;nfc_tag_process and in our examples it seems that this invalid length should not be returned from the&amp;nbsp;&lt;span&gt;tag_data_read. Can you tract the call stack from where this error is returned?&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>