keypad/display

Nishant Sharma nishantshrm009
Wed Oct 24 20:50:02 PDT 2012


Hi,

Now I am doing the following steps

1. On device A::  p2p_prov_disc <addr> keypad   (command)
2. On device B::  P2P-PROV-DISC-ENTER-PIN event is received
3. On device A::  P2P-PROV-DISC-SHOW-PIN event is received
4. On device B::  p2p_connect <addr> #pin  keypad      (command)
5. On device A::  P2P-GO-NEG-REQUEST    event is received
6. On device A::  p2p_connect <addr> #pin auth    (command)
7  On device B::  P2P-GO-NEG-FAILURE status=-1    event is received

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.

Thankyou
Nishant Sharma


On Tue, Oct 23, 2012 at 6:11 PM, Jouni Malinen <j at w1.fi> wrote:

> On Tue, Oct 23, 2012 at 01:40:07PM +0530, Nishant Sharma wrote:
> > I am doing following steps:
> >
> > 1. On device A::  p2p_prov_disc <addr> keypad   (command)
> > 2. On device B::  P2P-PROV-DISC-ENTER-PIN event is received
> > 3. On device A::  P2P-PROV-DISC-SHOW-PIN event is received
> > 4. On device A::  p2p_connect <addr> #pin         (command)
> > 5. On device B::  P2P-GO-NEG-REQUEST    event is received
> > 6. On device A::  *P2P-GO-NEG-FAILURE   status = -1 *  event is received
> >
> >    This leads to connection not being established.
>
> You did not authorize the connection on device, i.e., you will need to
> run p2p_connect on both devices. In addition, that p2p_connect needs to
> specify where the PIN came from (display/keypad).
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



-- 
Thanks and Regards
Nishant Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20121025/2a270d3c/attachment.htm 



More information about the Hostap mailing list