<?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>MCUXpresso GeneralのトピックPN7462AU NFC Reader/Writer ↔ Android HCE App Communication</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/PN7462AU-NFC-Reader-Writer-Android-HCE-App-Communication/m-p/1029311#M3202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to transfer/receive NFC data between NFC Reader/Writer and NFC Tag, but it is not working well.&amp;nbsp;If you know the answer to the question, please answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Below is the setup details,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1. Hardware:&amp;nbsp;PN7462AU&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2. SDK: PN7462AU-FW_v05.21.00&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;3. IDE: MCUXpresso IDE v11.0.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NFC Reader/Writer's specific setting is below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Hardware : PN7462AU&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Used SDK example : PN7462AU_ex_phExMain&lt;/P&gt;&lt;P&gt;&amp;nbsp;- NFC Mode : R/W&lt;/P&gt;&lt;P&gt;&amp;nbsp;- NFC Type : Type 4A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NFC Tag's specific setting is below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Hardware : General Android phone (I'm using Samsung Galaxy S10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- NFC Mode : Host Card Emulation (HCE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- NFC Type : Type 4A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made Android application operating HCE mode, and tagging with NFC Reader/Writer. But It's not working. NFC Reader/Writer cannot recognize the App in HCE mode. App's operation is successful. I tested my HCE App with the other android reader App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 1) How can the NFC Reader/Writer recognize the App in HCE mode?&lt;/P&gt;&lt;P&gt;Question 2)&amp;nbsp;Is it correct to use the phExMain example to communicate with Android in HCE mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp; - If the answer is yes, how do I implement a program?&lt;/P&gt;&lt;P&gt;&amp;nbsp; - If the answer is no, which SDK example should I build on? Is there an SDK that I can reference in my implementation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before I made android HCE App, I tried to make NFC Tag with the other PN7462AU using&amp;nbsp;NfcrdlibEx8_HCE_T4T SDK. HCE_T4T means HCE Mode Type 4A Tag. In short, Good communication between NFC Reader/Writer using PN7462AU_ex_phExMain and NFC Tag using NfcrdlibEx8_HCE_T4T. However, if I change the HCE mode app , it does not become recognition itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 3)&amp;nbsp;Does the HCE_T4T example really work in HCE mode?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is main question&lt;/P&gt;&lt;P&gt;Question 4)&amp;nbsp;How should the PN7462AU(NFC Reader/Writer) and Android(NFC Tag with HCE mode) communicate with NFC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone knows the answer to your question, please reply.&lt;/P&gt;&lt;P&gt;If you have any question, please feel free to contact me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2020 09:04:58 GMT</pubDate>
    <dc:creator>autoever1leka</dc:creator>
    <dc:date>2020-02-14T09:04:58Z</dc:date>
    <item>
      <title>PN7462AU NFC Reader/Writer ↔ Android HCE App Communication</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/PN7462AU-NFC-Reader-Writer-Android-HCE-App-Communication/m-p/1029311#M3202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to transfer/receive NFC data between NFC Reader/Writer and NFC Tag, but it is not working well.&amp;nbsp;If you know the answer to the question, please answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Below is the setup details,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1. Hardware:&amp;nbsp;PN7462AU&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2. SDK: PN7462AU-FW_v05.21.00&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;3. IDE: MCUXpresso IDE v11.0.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NFC Reader/Writer's specific setting is below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Hardware : PN7462AU&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Used SDK example : PN7462AU_ex_phExMain&lt;/P&gt;&lt;P&gt;&amp;nbsp;- NFC Mode : R/W&lt;/P&gt;&lt;P&gt;&amp;nbsp;- NFC Type : Type 4A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NFC Tag's specific setting is below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Hardware : General Android phone (I'm using Samsung Galaxy S10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- NFC Mode : Host Card Emulation (HCE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- NFC Type : Type 4A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made Android application operating HCE mode, and tagging with NFC Reader/Writer. But It's not working. NFC Reader/Writer cannot recognize the App in HCE mode. App's operation is successful. I tested my HCE App with the other android reader App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 1) How can the NFC Reader/Writer recognize the App in HCE mode?&lt;/P&gt;&lt;P&gt;Question 2)&amp;nbsp;Is it correct to use the phExMain example to communicate with Android in HCE mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp; - If the answer is yes, how do I implement a program?&lt;/P&gt;&lt;P&gt;&amp;nbsp; - If the answer is no, which SDK example should I build on? Is there an SDK that I can reference in my implementation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before I made android HCE App, I tried to make NFC Tag with the other PN7462AU using&amp;nbsp;NfcrdlibEx8_HCE_T4T SDK. HCE_T4T means HCE Mode Type 4A Tag. In short, Good communication between NFC Reader/Writer using PN7462AU_ex_phExMain and NFC Tag using NfcrdlibEx8_HCE_T4T. However, if I change the HCE mode app , it does not become recognition itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 3)&amp;nbsp;Does the HCE_T4T example really work in HCE mode?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is main question&lt;/P&gt;&lt;P&gt;Question 4)&amp;nbsp;How should the PN7462AU(NFC Reader/Writer) and Android(NFC Tag with HCE mode) communicate with NFC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone knows the answer to your question, please reply.&lt;/P&gt;&lt;P&gt;If you have any question, please feel free to contact me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 09:04:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/PN7462AU-NFC-Reader-Writer-Android-HCE-App-Communication/m-p/1029311#M3202</guid>
      <dc:creator>autoever1leka</dc:creator>
      <dc:date>2020-02-14T09:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462AU NFC Reader/Writer ↔ Android HCE App Communication</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/PN7462AU-NFC-Reader-Writer-Android-HCE-App-Communication/m-p/1029312#M3203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Question 1) How can the NFC Reader/Writer recognize the App in HCE mode?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- If the App can make the phone in HCE mode to simulate as a NFC tag/card, the reader can recognize it.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Question 2)&amp;nbsp;Is it correct to use the phExMain example to communicate with Android in HCE mode?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-Yes, it is correct. this demo provides examples on read and write operations on NFC tags.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Question 3)&amp;nbsp;Does the HCE_T4T example really work in HCE mode?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;-Yes, it does. If you use Android App such as TagInfo, you may have the following results with &lt;SPAN style="background-color: #ffffff;"&gt;HCE_T4T example&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101742iD417B06859E165F4/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101746i387B02E604683A7C/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101793i53EB042B058F26F5/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Question 4)&amp;nbsp;How should the PN7462AU(NFC Reader/Writer) and Android(NFC Tag with HCE mode) communicate with NFC?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;-Actually I don't have an App makes my phone in HCE mode, but when play with phExMain and HCE_T4T examples, they works as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101761i61BE3D5DCE41D3E0/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;so it should be ok for phExMain with any HCE device, but I am not sure if your App make your phone as a NDEF formatted tag, maybe you can check it on your side with the TagInfo App running on another phone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Hope that helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 08:00:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/PN7462AU-NFC-Reader-Writer-Android-HCE-App-Communication/m-p/1029312#M3203</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2020-02-18T08:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462AU NFC Reader/Writer ↔ Android HCE App Communication</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/PN7462AU-NFC-Reader-Writer-Android-HCE-App-Communication/m-p/1029313#M3204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Kan Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reply!&lt;/P&gt;&lt;P&gt;I tested it your way, and the result was the same as you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, phExMain can't recognize HCE mode NFC Tag App in Adroid.&lt;/P&gt;&lt;P&gt;So I think&lt;/P&gt;&lt;P&gt;&amp;nbsp;① phExMain SDK can't recognize HCE mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;② HCE_T4T SDK is not HCE mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why I asked&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Question 4)&amp;nbsp;How should the PN7462AU(NFC Reader/Writer) and Android(NFC Tag with HCE mode) communicate with NFC?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Anyway, I&amp;nbsp;sincerely thank you for checking phExMain SDK support HCE mode and HCE_T4T SDK&amp;nbsp;runs in HCE mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 03:54:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/PN7462AU-NFC-Reader-Writer-Android-HCE-App-Communication/m-p/1029313#M3204</guid>
      <dc:creator>autoever1leka</dc:creator>
      <dc:date>2020-02-20T03:54:33Z</dc:date>
    </item>
  </channel>
</rss>

