<div dir="ltr"><div><br></div><div>Hello All,</div><div><br></div><div>I&#39;m new to this list please don&#39;t mind my ignorance, will soon catch up with acceptable standards.</div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
I wish to understand following </pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">Why the control interface for pin method expects used to provide BSSID?</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
<br></pre><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap">static int wpa_cli_cmd_wps_pin(struct wpa_ctrl *ctrl, int argc, char *argv[])
{
        if (argc == 0) {
                printf(&quot;Invalid WPS_PIN command: need one or two arguments:\n&quot;
                       &quot;- BSSID: use &#39;any&#39; to select any\n&quot;
                       &quot;- PIN: optional, used only with devices that have no &quot;
                       &quot;display\n&quot;);
                return -1;
        }

        return wpa_cli_cmd(ctrl, &quot;WPS_PIN&quot;, 1, argc, argv);
}<br></span></font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">I was expecting that user would be providing SSID and associated PIN.</pre>
<pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial">Please help me understand why bssid is needed, here. </font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
<font face="arial">I&#39;m working on user interface that requests human user to provide ssid, do you recommend that one should do a scan and determine bssid for the provided ssid and then use this interface.</font></pre>
<pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><br></pre>-- <br>Regards<div>Abhishek Misra</div>
</div>