Hey everyone,

I've been spending a lot of time with Wi-Fi Direct the past months, one of 
the problems I've run into that is also present inside the Android Wi-Fi 
Direct settings menu is that if you try to connect two(or more) peers to 
one and the same peer at the same time or very shortly after each other, 
Android will "drop" one or both peers giving an error message in the logs 
that a WPS overlap was detected.

Sadly there seems to be nothing in the Wi-Fi Direct documentation 
mentioning this, nor anything in the Wi-Fi Direct API that will help you 
identify that this is happening and dealing with it afterwards.

Has anyone else run into the issue, or can an Android Developer shed some 
light onto dealing with this problem, it's pretty blocking since it would 
prevent users from having a normal user experience with my application, I 
can't really go asking them to connect sequentially one by one now can I, 
if someone disturbs that process the whole system can sometimes lock up, 
not being able to withdraw invitations for example and thus never being 
able to connect at all until Wi-Fi Direct is rebooted completely.

In short: Peer 1 and 2 are trying to connect to peer 3 at the same time. 
The result is both connection requests are getting dropped due to WPS 
overlap.

The logs I'm getting are:
p2p0: P2P-DEVICE-FOUND 22:64:32:60:c8:34 p2p_dev_addr=22:64:32:60:c8:34 
pri_dev_type=10-0050F204-5 name='peerName_1' config_methods=0x188 
dev_capab=0x25 group_capab=0x0
p2p0: P2P-PROV-DISC-PBC-REQ 22:64:32:60:c8:34 
p2p_dev_addr=22:64:32:60:c8:34 pri_dev_type=10-0050F204-5 name='peerName_1' 
config_methods=0x188 dev_capab=0x27 group_capab=0x0 group=p2p-p2p0-0
p2p0: P2P-DEVICE-FOUND 22:64:32:60:e2:f5 p2p_dev_addr=22:64:32:60:e2:f5 
pri_dev_type=10-0050F204-5 name='peerName_2' config_methods=0x188 
dev_capab=0x25 group_capab=0x0
p2p0: P2P-PROV-DISC-PBC-REQ 22:64:32:60:e2:f5 
p2p_dev_addr=22:64:32:60:e2:f5 pri_dev_type=10-0050F204-5 name='peerName_2' 
config_methods=0x188 dev_capab=0x27 group_capab=0x0 group=p2p-p2p0-0
wpa_s->ifname p2p-p2p0-0 cmd WPS_PBC
p2p-p2p0-0: CTRL-EVENT-EAP-STARTED 22:64:32:60:62:f5
p2p-p2p0-0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
p2p-p2p0-0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
p2p-p2p0-0: WPS-OVERLAP-DETECTED 
p2p-p2p0-0: CTRL-EVENT-EAP-STARTED 22:64:32:60:48:34
p2p-p2p0-0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
p2p-p2p0-0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
p2p-p2p0-0: WPS-FAIL msg=7 config_error=12
p2p-p2p0-0: CTRL-EVENT-EAP-FAILURE 22:64:32:60:62:f5
p2p-p2p0-0: WPS-OVERLAP-DETECTED 
p2p-p2p0-0: WPS-FAIL msg=4 config_error=12
p2p-p2p0-0: CTRL-EVENT-EAP-FAILURE 22:64:32:60:48:34
p2p-p2p0-0: WPS-TIMEOUT 
p2p0: P2P-DEVICE-LOST p2p_dev_addr=22:64:32:60:c8:34
p2p0: P2P-DEVICE-LOST p2p_dev_addr=22:64:32:60:e2:f5

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to