<?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 Re: Store Wi-Fi credentials in PN7160 in NFC</title>
    <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981770#M12260</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got it working now, by using the ndef_emulation_example from the libnfc-nci_examples GitHub and modifying that to store Wi-Fi credentials.&lt;/P&gt;&lt;P&gt;But now that you mention this Android/Apple thing: I noticed that it seems that only Android phones are capable of scanning the PN7160 acting as a tag, and they get the prompt to connect to the network. One person with an Apple has tried it, and it didn't work for him.&lt;/P&gt;&lt;P&gt;What did work for the Apple person, was when we programmed Wi-Fi credentials into the NFC Sample Card (NTAG) that was provided with the PN7160 devkit. In that case, both Android and Apple could scan the card.&lt;/P&gt;&lt;P&gt;Do you have any explanation for this? Can the PN7160 even work with Apple?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2024 06:49:40 GMT</pubDate>
    <dc:creator>kowalski_analysis</dc:creator>
    <dc:date>2024-10-25T06:49:40Z</dc:date>
    <item>
      <title>Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1980067#M12247</link>
      <description>&lt;P&gt;I'm working with the PN7160, my setup is as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Karo QS93 SoM, running Embedded Linux.&lt;/LI&gt;&lt;LI&gt;PN7160 NFC controller.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;They are connected over I2C.&lt;/P&gt;&lt;P&gt;I have the 'basic' setup working. I'm using the libnfc-nci library, with the nfcDemoApp. I can successfully poll and detect an NFC tag and also I can put it into share mode, so that I can share for example a weblink, so that when I put my phone to the controller, I get a popup to go to that link.&lt;/P&gt;&lt;P&gt;There is one thing I can't get to work, which is storing Wi-Fi credentials into the NFC controller. I tried:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./nfcDemoApp share --type=mime -m "application/vnd.wfa.wsc" -d "&amp;lt;wsc_payload&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This seems to - kind of - work. When I run this command on the Karo QS93 and tap my phone to the NFC controller with the NXP TagInfo application open, I see that it correctly received my WiFi SSID and Password.&lt;/P&gt;&lt;P&gt;Something else I tried:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./nfcDemoApp share --type=URI -u "wifi:&amp;lt;SSID&amp;gt;?T=WPA2&amp;amp;P=&amp;lt;password&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;This also gives me results in the NXP TagInfo application.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However&lt;/STRONG&gt;, what I am trying to achieve, is that when I tap my phone to the NFC controller, I get a prompt on my phone asking if I want to connect to that Wi-Fi network. Is this possible with the PN7160, and if yes am I missing some configuration? Or am I just doing it wrong now?&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 09:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1980067#M12247</guid>
      <dc:creator>kowalski_analysis</dc:creator>
      <dc:date>2024-10-23T09:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981690#M12259</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &amp;nbsp;kowalski:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you use Android phone or Apple phone?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 05:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981690#M12259</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2024-10-25T05:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981770#M12260</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got it working now, by using the ndef_emulation_example from the libnfc-nci_examples GitHub and modifying that to store Wi-Fi credentials.&lt;/P&gt;&lt;P&gt;But now that you mention this Android/Apple thing: I noticed that it seems that only Android phones are capable of scanning the PN7160 acting as a tag, and they get the prompt to connect to the network. One person with an Apple has tried it, and it didn't work for him.&lt;/P&gt;&lt;P&gt;What did work for the Apple person, was when we programmed Wi-Fi credentials into the NFC Sample Card (NTAG) that was provided with the PN7160 devkit. In that case, both Android and Apple could scan the card.&lt;/P&gt;&lt;P&gt;Do you have any explanation for this? Can the PN7160 even work with Apple?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 06:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981770#M12260</guid>
      <dc:creator>kowalski_analysis</dc:creator>
      <dc:date>2024-10-25T06:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981780#M12261</link>
      <description>&lt;P&gt;You are right.&amp;nbsp; This is a known issue as far as I know,&amp;nbsp; I have already reported it to our software team. But I can not guarantee the time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 06:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981780#M12261</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2024-10-25T06:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981911#M12262</link>
      <description>Alright! Can you please let me know when the software team has an answer?</description>
      <pubDate>Fri, 25 Oct 2024 09:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1981911#M12262</guid>
      <dc:creator>kowalski_analysis</dc:creator>
      <dc:date>2024-10-25T09:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1982469#M12266</link>
      <description>&lt;P&gt;could you please be more detail about the test with Apple phone?&amp;nbsp; no prompt confirmation or not work at all?&amp;nbsp; the ios version, or some logs?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 10:16:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1982469#M12266</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2024-10-27T10:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1982949#M12272</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;The Apple Phone has IOS 17.4.1. It doesn't get the prompt to connect to Wi-Fi at all. Also when using the app NXP TagInfo, nothing is received in there.&lt;/P&gt;&lt;P&gt;We didn't try it yet with just storing plain text in the NFC controller (acting as tag), and trying to read that with the Apple Phone (in order to check: is the issue the phone itself, or the type of data stored in the tag).&lt;/P&gt;&lt;P&gt;In the attachment, there are the configuration files &lt;STRONG&gt;libnfc-nci.conf &lt;/STRONG&gt;&amp;amp; &lt;STRONG&gt;libnfc-nxp.conf &lt;/STRONG&gt;with the settings we use right now.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have two questions:&lt;/P&gt;&lt;P&gt;1. Is it possible that some wrong settings in these configuration files, result in Apple Phone not working with NFC controller?&lt;/P&gt;&lt;P&gt;2. Will the PN7160 even work with Apple at all? I read something about PN7161 having ECP (Enhanced Contactless Polling), which PN7160 does not have. Is that needed to be able to work with Apple Phone?&lt;BR /&gt;&lt;BR /&gt;I look forward to your answers!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 12:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1982949#M12272</guid>
      <dc:creator>kowalski_analysis</dc:creator>
      <dc:date>2024-10-28T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1982960#M12273</link>
      <description>&lt;P&gt;I'm sorry for the confusion, but I am actually using the PN7161, not the PN7160 as I said before.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 12:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1982960#M12273</guid>
      <dc:creator>kowalski_analysis</dc:creator>
      <dc:date>2024-10-28T12:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1985662#M12279</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The PN7161 supports all features of PN7160 plus "Enhanced Contactless Polling.&amp;nbsp; For the card emulation demo, they behave the same.&amp;nbsp; &amp;nbsp; I guess it is&amp;nbsp; compatibility issue for IOS.&amp;nbsp; this demo is only a reference code, customer can modify it according to their needs.&amp;nbsp; &amp;nbsp;I created an internal ticket for this.&amp;nbsp; but I can not get an exact time for it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 15:27:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1985662#M12279</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2024-10-31T15:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Store Wi-Fi credentials in PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1986199#M12286</link>
      <description>I found out why it doesn't work. Apple just can not scan Wi-Fi credentials stored on an NFC tag. A NFC tag with weblink for example does work, just Wi-Fi it doesn't work for Apple.</description>
      <pubDate>Fri, 01 Nov 2024 10:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Store-Wi-Fi-credentials-in-PN7160/m-p/1986199#M12286</guid>
      <dc:creator>kowalski_analysis</dc:creator>
      <dc:date>2024-11-01T10:04:10Z</dc:date>
    </item>
  </channel>
</rss>

