<?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>CodeWarrior Development Tools中的主题 Re: Authentication error in NXP Library</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/1285321#M8556</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1422"&gt;@jimmychan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did You use the code suggested successfully, because I have an exception during the authentication, I explained all in my other post.&lt;BR /&gt;Thank You&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 09:45:01 GMT</pubDate>
    <dc:creator>marcoperrone</dc:creator>
    <dc:date>2021-06-01T09:45:01Z</dc:date>
    <item>
      <title>Authentication error in NXP Library</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/995146#M7995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an android app to authenticate mifare UltraLightC chip ,but the problem i am facing while authenticating&amp;nbsp; chip is , it always&amp;nbsp; throws an exception, every time even if it is authenticated or not (i.e .authenticate() method&amp;nbsp; of NXPlibrary), and how can we confirm that our key is being successfully authenticated as per an example in&amp;nbsp; datasheet provided by mifare, they are just using an log below the .authenticate() method so, is this a proper way to authenticate an key ?&amp;nbsp; while debugging i found that this method always throws an exception message(i.e NxpNFCLibException)&amp;nbsp; rather than ideally an authenticating method should give an response for example authenticated true or false, it do not return anything, so how can we confirm whether our key is properly authenticated&amp;nbsp; i am attaching my debugging logs with it ? Please provide me a solution or an example&amp;nbsp; on how to authenticate key and how to check whether it is authenticating properly or not ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version of NXP Library&amp;nbsp; i am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;nxpnfcandroidlib-1.7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 08:02:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/995146#M7995</guid>
      <dc:creator>raj_shinde</dc:creator>
      <dc:date>2019-11-15T08:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication error in NXP Library</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/995147#M7996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help you. &lt;A class="link-titled" href="https://stackoverflow.com/questions/19438554/android-authenticating-with-nxp-mifare-ultralight-c" title="https://stackoverflow.com/questions/19438554/android-authenticating-with-nxp-mifare-ultralight-c"&gt;authentication - Android: Authenticating with NXP MiFare Ultralight C - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 06:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/995147#M7996</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2019-11-25T06:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication error in NXP Library</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/1285216#M8555</link>
      <description>&lt;P&gt;Hi&amp;nbsp; to all,&lt;/P&gt;&lt;P&gt;I tried to use the code suggested by &lt;SPAN&gt;NXP TechSupport&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1422"&gt;@jimmychan&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;to authenticate a Mifare Ultralight C with an Android smartphone.&lt;BR /&gt;Here the the data between the the app and the tag:&lt;/P&gt;&lt;P&gt;My Key is: 42 52 45 41 4B 4D 45 49 46 59 4F 55 43 41 4E 21&lt;/P&gt;&lt;P&gt;I start communication&amp;nbsp; TAG : 1A 00&lt;/P&gt;&lt;P&gt;The TAG answer with (encoded) RndB: AF 69 EC C8 F7 CA DC 1A C8&lt;/P&gt;&lt;P&gt;so the the IV for next communication become: 69 EC C8 F7 CA DC 1A C8&lt;/P&gt;&lt;P&gt;the RndB (decoded) is: CB 0C AC EE F2 76 F1 7E&lt;/P&gt;&lt;P&gt;the RndB' (rotate) is: 0C AC EE F2 76 F1 7E CB&lt;/P&gt;&lt;P&gt;the RndA is: C9 60 0A DC EB 08 FD C4&lt;/P&gt;&lt;P&gt;The value sent to the tag is: AF encoded (RndA + RndB')&lt;/P&gt;&lt;P&gt;AF 90 79 9A 6D 73 E9 51 49 C7 AA 66 D9 0C 08 BE C5&lt;/P&gt;&lt;P&gt;When I sent this I have an exception Transceive failed (like the data sent is not correct)&lt;/P&gt;&lt;P&gt;I check on this site&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://tripledes.online-domain-tools.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://tripledes.online-domain-tools.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And the value sent is correct&lt;/P&gt;&lt;P&gt;I hope You can help me&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 09:44:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/1285216#M8555</guid>
      <dc:creator>marcoperrone</dc:creator>
      <dc:date>2021-06-01T09:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication error in NXP Library</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/1285321#M8556</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1422"&gt;@jimmychan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did You use the code suggested successfully, because I have an exception during the authentication, I explained all in my other post.&lt;BR /&gt;Thank You&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 09:45:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Authentication-error-in-NXP-Library/m-p/1285321#M8556</guid>
      <dc:creator>marcoperrone</dc:creator>
      <dc:date>2021-06-01T09:45:01Z</dc:date>
    </item>
  </channel>
</rss>

