<?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 how to work on hotspot-wps in android6 to enable the wps? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693876#M107580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to enable&amp;nbsp; wps when i am entering into the hotspot on android6.&lt;/P&gt;&lt;P&gt;For this i enable wps configuration on that android configuration file.&lt;/P&gt;&lt;P&gt;Can anyone give support to work on wps on hotspot .&lt;/P&gt;&lt;P&gt;And how to connect my android6(wps server) with speaker(wps client) by using wps button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2017 13:20:43 GMT</pubDate>
    <dc:creator>vinothkumars</dc:creator>
    <dc:date>2017-05-26T13:20:43Z</dc:date>
    <item>
      <title>how to work on hotspot-wps in android6 to enable the wps?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693876#M107580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to enable&amp;nbsp; wps when i am entering into the hotspot on android6.&lt;/P&gt;&lt;P&gt;For this i enable wps configuration on that android configuration file.&lt;/P&gt;&lt;P&gt;Can anyone give support to work on wps on hotspot .&lt;/P&gt;&lt;P&gt;And how to connect my android6(wps server) with speaker(wps client) by using wps button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 13:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693876#M107580</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2017-05-26T13:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to work on hotspot-wps in android6 to enable the wps?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693877#M107581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;In our BSP, you can find an application called Ethernet. In that application, you have all the google tools to set the hotspot on your device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;I hope this can solve your problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Diego.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 16:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693877#M107581</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2017-05-30T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to work on hotspot-wps in android6 to enable the wps?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693878#M107582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN style="font-size: 15px;"&gt;Diego,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;But, I get little confuse. Why because, In my board hotspot working fine. I want to add option for WPS button or i want to call that WPI internally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG20170527144545.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20694i5F29B67EC32E6C4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG20170527144545.jpg" alt="IMG20170527144545.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;VinothS.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 08:50:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693878#M107582</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2017-06-01T08:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to work on hotspot-wps in android6 to enable the wps?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693880#M107584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN style="font-size: 15px;"&gt;Diego,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;I found that Ethernet Application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;And i don't know how to use that Ethernet Application for wps in&amp;nbsp; hotspot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Is there any separate TV setting in that BSP.?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;We are make it call the wps start in that tethering function but i don't get any response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;With Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;VinothS,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 10:35:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693880#M107584</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2017-06-02T10:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to work on hotspot-wps in android6 to enable the wps?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693881#M107585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Nxp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support. Sorry for my late reply, actually I have done this configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Needs to add the string (wps_state, eap_server) in the following files,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;system/netd/server/SoftapController.cpp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int SoftapController::setSoftap(int argc, char *argv[]) {&lt;BR /&gt; int hidden = 0;&lt;BR /&gt; int channel = AP_CHANNEL_DEFAULT;&lt;/P&gt;&lt;P&gt;int wps_state = 2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (argc &amp;lt; 5) {&lt;BR /&gt; ALOGE("Softap set is missing arguments. Please use:");&lt;BR /&gt; ALOGE("softap &amp;lt;wlan iface&amp;gt; &amp;lt;SSID&amp;gt; &amp;lt;hidden/broadcast&amp;gt; &amp;lt;channel&amp;gt; &amp;lt;wpa2?-psk|open&amp;gt; &amp;lt;passphrase&amp;gt;");&lt;BR /&gt; return ResponseCode::CommandSyntaxError;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;if (!strcasecmp(argv[4], "hidden"))&lt;BR /&gt; hidden = 1;&lt;/P&gt;&lt;P&gt;if (argc &amp;gt;= 5) {&lt;BR /&gt; channel = atoi(argv[5]);&lt;BR /&gt; if (channel &amp;lt;= 0)&lt;BR /&gt; channel = AP_CHANNEL_DEFAULT;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;std::string wbuf(StringPrintf("interface=%s\n"&lt;BR /&gt; "driver=nl80211\n"&lt;BR /&gt; "ctrl_interface=/data/misc/wifi/hostapd\n"&lt;BR /&gt; "ssid=%s\n"&lt;BR /&gt; "channel=%d\n"&lt;BR /&gt; "ieee80211n=1\n"&lt;BR /&gt; "hw_mode=%c\n"&lt;BR /&gt; "ignore_broadcast_ssid=%d, &lt;STRONG&gt;eap_server = 1&lt;/STRONG&gt;, &lt;STRONG&gt;wps_state = %d&lt;/STRONG&gt;\n",&lt;BR /&gt; argv[2], argv[3], channel, (channel &amp;lt;= 14) ? 'g' : 'a', hidden,&lt;STRONG&gt;wps_state&lt;/STRONG&gt;));&lt;/P&gt;&lt;P&gt;std::string fbuf;&lt;BR /&gt; if (argc &amp;gt; 7) {&lt;BR /&gt; char psk_str[2*SHA256_DIGEST_LENGTH+1];&lt;BR /&gt; if (!strcmp(argv[6], "wpa-psk")) {&lt;BR /&gt; if (!generatePsk(argv[3], argv[7], psk_str)) {&lt;BR /&gt; return ResponseCode::OperationFailed;&lt;BR /&gt; }&lt;BR /&gt; fbuf = StringPrintf("%swpa=3\nwpa_pairwise=TKIP CCMP\nwpa_psk=%s\n", wbuf.c_str(), psk_str);&lt;BR /&gt; } else if (!strcmp(argv[6], "wpa2-psk")) {&lt;BR /&gt; if (!generatePsk(argv[3], argv[7], psk_str)) {&lt;BR /&gt; return ResponseCode::OperationFailed;&lt;BR /&gt; }&lt;BR /&gt; fbuf = StringPrintf("%swpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s\n", wbuf.c_str(), psk_str);&lt;BR /&gt; } else if (!strcmp(argv[6], "open")) {&lt;/P&gt;&lt;P&gt;fbuf = wbuf;&lt;BR /&gt; }&lt;BR /&gt; } else if (argc &amp;gt; 6) {&lt;BR /&gt; if (!strcmp(argv[6], "open")) {&lt;BR /&gt; fbuf = wbuf;&lt;BR /&gt; }&lt;BR /&gt; } else {&lt;BR /&gt; fbuf = wbuf;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;if (!WriteStringToFile(fbuf, HOSTAPD_CONF_FILE, 0660, AID_SYSTEM, AID_WIFI)) {&lt;BR /&gt; ALOGE("Cannot write to \"%s\": %s", HOSTAPD_CONF_FILE, strerror(errno));&lt;BR /&gt; return ResponseCode::OperationFailed;&lt;BR /&gt; }&lt;BR /&gt; return ResponseCode::SoftapStatusResult;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hostapd_cli&amp;nbsp; wps_pbc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VinothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2019 07:11:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-work-on-hotspot-wps-in-android6-to-enable-the-wps/m-p/693881#M107585</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-05-11T07:11:10Z</dc:date>
    </item>
  </channel>
</rss>

