Hi,<br><br>Now I am doing the following steps <br><br>1. On device A::  p2p_prov_disc &lt;addr&gt; keypad   (command)<br>2. On device B::  P2P-PROV-DISC-ENTER-PIN event is received<br>3. On device A::  P2P-PROV-DISC-SHOW-PIN event is received<br>
4. On device B::  p2p_connect &lt;addr&gt; #pin  keypad      (command)<br>5. On device A::  P2P-GO-NEG-REQUEST    event is received<br>6. On device A::  p2p_connect &lt;addr&gt; #pin auth    (command)<br>7  On device B::  P2P-GO-NEG-FAILURE status=-1    event is received<br>
<br>It looks like there is something wrong in step 4 and step 6. Please let me know the correct command to be issued at these steps 4 and 6.<br><br>Thankyou<br>Nishant Sharma<br><br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 6:11 PM, Jouni Malinen <span dir="ltr">&lt;<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Oct 23, 2012 at 01:40:07PM +0530, Nishant Sharma wrote:<br>
&gt; I am doing following steps:<br>
&gt;<br>
&gt; 1. On device A::  p2p_prov_disc &lt;addr&gt; keypad   (command)<br>
&gt; 2. On device B::  P2P-PROV-DISC-ENTER-PIN event is received<br>
&gt; 3. On device A::  P2P-PROV-DISC-SHOW-PIN event is received<br>
&gt; 4. On device A::  p2p_connect &lt;addr&gt; #pin         (command)<br>
&gt; 5. On device B::  P2P-GO-NEG-REQUEST    event is received<br>
</div>&gt; 6. On device A::  *P2P-GO-NEG-FAILURE   status = -1 *  event is received<br>
<div class="im">&gt;<br>
&gt;    This leads to connection not being established.<br>
<br>
</div>You did not authorize the connection on device, i.e., you will need to<br>
run p2p_connect on both devices. In addition, that p2p_connect needs to<br>
specify where the PIN came from (display/keypad).<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Jouni Malinen                                            PGP id EFC895FA<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards<br>Nishant Sharma<br><br>