<?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>NFCのトピックRe: PN7150 emulate GetVersion</title>
    <link>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453511#M9417</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181571"&gt;@albertobattistello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CARDEMU_RAW_EXCHANGE is usually used for emulating specific type of card (e.g. Mifare desifre). The entry is "PICC_ISO14443_4_scenario" function in "nfc_task.c". There you can see example of some commands that came from reader. You can add here any other command that want and also prepare correct response. Then you can send it via "NxpNci_CardModeSend function".&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Andraz&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 12:22:29 GMT</pubDate>
    <dc:creator>andraz_skupek</dc:creator>
    <dc:date>2022-05-05T12:22:29Z</dc:date>
    <item>
      <title>PN7150 emulate GetVersion</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1451806#M9412</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with a PN7150, I'm using the NxpNci library, and I'm working on the card emulation.&lt;/P&gt;&lt;P&gt;I also have a proxmark reader, which I can use to debug the sent and received messages over NFC.&lt;/P&gt;&lt;P&gt;When putting the card in emulation mode,&amp;nbsp;I can observe that the proxmark sends a GetVersion command to the card (02 90 60 00 00 00 14 98), then receives from the PN7150 the message:&lt;BR /&gt;f2 08 50 dd.&lt;BR /&gt;Is it expected behavior?&lt;BR /&gt;Can the response to the GetVersion command be customized?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 11:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1451806#M9412</guid>
      <dc:creator>albertobattistello</dc:creator>
      <dc:date>2022-05-02T11:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 emulate GetVersion</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453478#M9415</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181571"&gt;@albertobattistello&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;yes, it is on application level, so you can change it. Do you use RAW communication (defined CARDEMU_RAW_EXCHANGE) or NDEF based one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Andraz&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 11:39:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453478#M9415</guid>
      <dc:creator>andraz_skupek</dc:creator>
      <dc:date>2022-05-05T11:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 emulate GetVersion</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453499#M9416</link>
      <description>&lt;P&gt;Thank you very much &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191059"&gt;@andraz_skupek&lt;/a&gt;, I am using&amp;nbsp;&lt;SPAN&gt;CARDEMU_RAW_EXCHANGE. The problem was on the reader not interpreting correctly the WTX frames.&lt;BR /&gt;The reader also sends other messages, like for example 0x0b 0x00 0x6a 0xee 0x40, which asks for the AID list, but these messages seems not to be received by the software (don't see them in `&lt;/SPAN&gt;&lt;SPAN&gt;NxpNci_HostTransceive` nor in `&lt;/SPAN&gt;&lt;SPAN&gt;NxpNci_WaitForReception&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;) . Is there a way to customize reaction to such messages, or to handle them in software?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alberto&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 12:08:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453499#M9416</guid>
      <dc:creator>albertobattistello</dc:creator>
      <dc:date>2022-05-05T12:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 emulate GetVersion</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453511#M9417</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181571"&gt;@albertobattistello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CARDEMU_RAW_EXCHANGE is usually used for emulating specific type of card (e.g. Mifare desifre). The entry is "PICC_ISO14443_4_scenario" function in "nfc_task.c". There you can see example of some commands that came from reader. You can add here any other command that want and also prepare correct response. Then you can send it via "NxpNci_CardModeSend function".&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Andraz&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 12:22:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453511#M9417</guid>
      <dc:creator>andraz_skupek</dc:creator>
      <dc:date>2022-05-05T12:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 emulate GetVersion</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453520#M9418</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191059"&gt;@andraz_skupek&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am not sure to understand, sorry.&lt;/P&gt;&lt;P&gt;If I look at the code of the "&lt;SPAN&gt;PICC_ISO14443_4_scenario", the "&lt;/SPAN&gt;&lt;SPAN&gt;NxpNci_CardModeSend&lt;/SPAN&gt;&lt;SPAN&gt;" (resp. "&lt;/SPAN&gt;&lt;SPAN&gt;NxpNci_CardModeReceive"&lt;/SPAN&gt;&lt;SPAN&gt;) functions relays upon the "&lt;/SPAN&gt;&lt;SPAN&gt;NxpNci_HostTransceive" (resp. "&lt;/SPAN&gt;&lt;SPAN&gt;NxpNci_WaitForReception&lt;/SPAN&gt;&lt;SPAN&gt;") function.&lt;BR /&gt;I have enabled the "&lt;/SPAN&gt;&lt;SPAN&gt;NCI_PRINT_BUF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"NCI &amp;lt;&amp;lt; "&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;pRBuff&lt;/SPAN&gt;&lt;SPAN&gt;, *&lt;/SPAN&gt;&lt;SPAN&gt;pBytesread&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;SPAN&gt;" and "&lt;/SPAN&gt;&lt;SPAN&gt;NCI_PRINT_BUF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"NCI &amp;lt;&amp;lt; "&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;pRBuff&lt;/SPAN&gt;&lt;SPAN&gt;, *&lt;/SPAN&gt;&lt;SPAN&gt;pBytesread&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;SPAN&gt;" in these two functions, but I can only see incoming messages that start with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"0x00"s (APDUs)&lt;BR /&gt;- or with first byte in ["0x20/1", "0x40/1", "0x60/1"] ( -- Command, Response or Notification commands).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example the message "0x0b 0x00 0x6a 0xee 0x40" from the reader does not appear on the software layer. Am I missing something?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 12:38:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453520#M9418</guid>
      <dc:creator>albertobattistello</dc:creator>
      <dc:date>2022-05-05T12:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 emulate GetVersion</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453602#M9420</link>
      <description>&lt;P&gt;It turns out the problem was that the reader was sending commands in Native command mode. If I turn the reader to send commands in Native wrapped mode, then the PN7150 forwards the commands to the software layer and I can handle them in software.&lt;BR /&gt;Do you happens to know if there is a way force the 7150 to forward to the software layer also native commands (non wrapped)?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 14:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-emulate-GetVersion/m-p/1453602#M9420</guid>
      <dc:creator>albertobattistello</dc:creator>
      <dc:date>2022-05-05T14:01:20Z</dc:date>
    </item>
  </channel>
</rss>

