<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic getting invalid response when write data to file (Desfire EV2) in NFC</title>
    <link>https://community.nxp.com/t5/NFC/getting-invalid-response-when-write-data-to-file-Desfire-EV2/m-p/727711#M2981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After i changed the application default key to our custom key, when i write data to file, it is throwing an error "Invalid length".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find below is the full code.&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.6pt;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;
Here the line, i am getting exception
&lt;/SPAN&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.6pt;"&gt;&lt;SPAN style="background-color: #e4e4ff;"&gt;#java &lt;/SPAN&gt;&lt;SPAN style="background-color: #e4e4ff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #e4e4ff;"&gt;desFireEV2&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;.writeData(fileNo, &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;, data);java‌&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;

Please let me know did i miss anything.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;Thanks,
Shiva
&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="2017-11-22_11-29-39.png"&gt;&lt;IMG alt="2017-11-22_11-29-39.png" src="https://community.nxp.com/t5/image/serverpage/image-id/33565iB29B4872E38B234C/image-size/large?v=v2&amp;amp;px=999" title="2017-11-22_11-29-39.png" /&gt;&lt;/SPAN&gt;
java&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2020 14:03:03 GMT</pubDate>
    <dc:creator>sivasaravanand</dc:creator>
    <dc:date>2020-11-02T14:03:03Z</dc:date>
    <item>
      <title>getting invalid response when write data to file (Desfire EV2)</title>
      <link>https://community.nxp.com/t5/NFC/getting-invalid-response-when-write-data-to-file-Desfire-EV2/m-p/727711#M2981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After i changed the application default key to our custom key, when i write data to file, it is throwing an error "Invalid length".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find below is the full code.&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.6pt;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;
Here the line, i am getting exception
&lt;/SPAN&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.6pt;"&gt;&lt;SPAN style="background-color: #e4e4ff;"&gt;#java &lt;/SPAN&gt;&lt;SPAN style="background-color: #e4e4ff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #e4e4ff;"&gt;desFireEV2&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;.writeData(fileNo, &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;, data);java‌&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;

Please let me know did i miss anything.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;Thanks,
Shiva
&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="2017-11-22_11-29-39.png"&gt;&lt;IMG alt="2017-11-22_11-29-39.png" src="https://community.nxp.com/t5/image/serverpage/image-id/33565iB29B4872E38B234C/image-size/large?v=v2&amp;amp;px=999" title="2017-11-22_11-29-39.png" /&gt;&lt;/SPAN&gt;
java&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:03:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/getting-invalid-response-when-write-data-to-file-Desfire-EV2/m-p/727711#M2981</guid>
      <dc:creator>sivasaravanand</dc:creator>
      <dc:date>2020-11-02T14:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: getting invalid response when write data to file (Desfire EV2)</title>
      <link>https://community.nxp.com/t5/NFC/getting-invalid-response-when-write-data-to-file-Desfire-EV2/m-p/727712#M2982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you set the number of byte written to 0 in "&lt;SPAN style="background-color: #e4e4ff;"&gt;desFireEV2&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;.writeData(fileNo, &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;, data);&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/getting-invalid-response-when-write-data-to-file-Desfire-EV2/m-p/727712#M2982</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2017-12-05T06:11:16Z</dc:date>
    </item>
  </channel>
</rss>

