<?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のトピックQuestion about PN7160 example - SW6705</title>
    <link>https://community.nxp.com/t5/NFC/Question-about-PN7160-example-SW6705/m-p/2334956#M14123</link>
    <description>&lt;P&gt;Hi.&lt;BR /&gt;I'm trying to add the SW6705 code to my Zephyr based project.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The compiler returned some warnings and I also think it looks weird.&lt;BR /&gt;&lt;BR /&gt;- File&lt;BR /&gt;\\NXP-NCI2.0_MCUXpresso_examples\NXP-NCI2.0_LPC55S6x_examples\NfcLibrary\NxpNci20\src\NxpNci20.c&lt;BR /&gt;- Line number: 989&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if (AnswerSize != 0)
{
    /* Flush any other notification  */
    while(Answer != 0) NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);
    /* Restart the discovery loop */ 
    NxpNci_HostTransceive(NCIRestartDiscovery, sizeof(NCIRestartDiscovery), Answer, sizeof(Answer), &amp;amp;AnswerSize);
    NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);
}
goto wait;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think "&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Answer &lt;/SPAN&gt;&lt;SPAN&gt;!=&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)" could be a problem because that symbol is pointer, not regular variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uint8_t NCIRfDiscoverSelect[] = {0x21, 0x04, 0x03, 0x01, PROT_ISODEP, INTF_ISODEP};
uint8_t Answer[MAX_NCI_FRAME_SIZE];
uint16_t AnswerSize;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I'm not sure what's the intention of this code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, someone explain to me about this.&lt;/P&gt;&lt;P&gt;(If I'm missing something, please let me know.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2026 10:27:39 GMT</pubDate>
    <dc:creator>OilCastle</dc:creator>
    <dc:date>2026-03-18T10:27:39Z</dc:date>
    <item>
      <title>Question about PN7160 example - SW6705</title>
      <link>https://community.nxp.com/t5/NFC/Question-about-PN7160-example-SW6705/m-p/2334956#M14123</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;I'm trying to add the SW6705 code to my Zephyr based project.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The compiler returned some warnings and I also think it looks weird.&lt;BR /&gt;&lt;BR /&gt;- File&lt;BR /&gt;\\NXP-NCI2.0_MCUXpresso_examples\NXP-NCI2.0_LPC55S6x_examples\NfcLibrary\NxpNci20\src\NxpNci20.c&lt;BR /&gt;- Line number: 989&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if (AnswerSize != 0)
{
    /* Flush any other notification  */
    while(Answer != 0) NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);
    /* Restart the discovery loop */ 
    NxpNci_HostTransceive(NCIRestartDiscovery, sizeof(NCIRestartDiscovery), Answer, sizeof(Answer), &amp;amp;AnswerSize);
    NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);
}
goto wait;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think "&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Answer &lt;/SPAN&gt;&lt;SPAN&gt;!=&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)" could be a problem because that symbol is pointer, not regular variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uint8_t NCIRfDiscoverSelect[] = {0x21, 0x04, 0x03, 0x01, PROT_ISODEP, INTF_ISODEP};
uint8_t Answer[MAX_NCI_FRAME_SIZE];
uint16_t AnswerSize;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I'm not sure what's the intention of this code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, someone explain to me about this.&lt;/P&gt;&lt;P&gt;(If I'm missing something, please let me know.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 10:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Question-about-PN7160-example-SW6705/m-p/2334956#M14123</guid>
      <dc:creator>OilCastle</dc:creator>
      <dc:date>2026-03-18T10:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Question about PN7160 example - SW6705</title>
      <link>https://community.nxp.com/t5/NFC/Question-about-PN7160-example-SW6705/m-p/2335488#M14126</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/82066"&gt;@OilCastle&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;That portion of code is related to Peer-to-Peer (P2P) support; this functionality is deprecated.&lt;/P&gt;
&lt;P&gt;If not required, you can skip the code wrapped within "REMOVE_P2P_SUPPORT" macro.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 00:13:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Question-about-PN7160-example-SW6705/m-p/2335488#M14126</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2026-03-19T00:13:02Z</dc:date>
    </item>
  </channel>
</rss>

