How to detect p2p connection using wpa_cli.

Jouni Malinen j
Sun Nov 11 06:29:24 PST 2012


On Mon, Nov 05, 2012 at 07:58:20AM +0900, Satoshi Aoyama wrote:
> 2012/11/3, Jouni Malinen <j at w1.fi>:
> > Device A reaction to this:
> > <3>P2P-GO-NEG-REQUEST 02:00:00:00:01:00 dev_passwd_id=4

> If I use wpa_cli at non interactive mode,
> how to get this message?
> I want to display message to user in my application, same as android.

You will need to run an external application to follow the control
interface event (or D-Bus signals) to react to them (which is indeed
what the Android Wi-Fi framework does).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list