[android-developers] WifiP2pManager.ConnectionInfoListener onConnectionInfoAvailable (WifiP2pInfo info)

2012-10-16 Thread Zach
Hi I am working on wifi direct. After sending a connect request I was expecting a call back to the onConnectionInfoAvailable call back. But that wont happen always for some reason. And at times it takes a while when i finally receives a callback. What am i doing wrong here? Is this call back a

Re: [android-developers] WifiP2pManager.ConnectionInfoListener onConnectionInfoAvailable (WifiP2pInfo info)

2012-10-16 Thread Irfan Sheriff
Do you see the peer status (WifiP2pDevice has a status field) as connected when you listen P2P_PEERS_CHANGED_ACTION broadcast and request the peers ? On Tue, Oct 16, 2012 at 5:11 AM, Zach wrote: > Hi > I am working on wifi direct. After sending a connect request I was > expecting a call back to

Re: [android-developers] WifiP2pManager.ConnectionInfoListener onConnectionInfoAvailable (WifiP2pInfo info)

2012-10-18 Thread Zach
thanks for the response. I will have a look on that. I am considering a situation in which say 10 devices are connected each other via a GO. And suddenly the GO drops. So hopefully I can identify that the device got disconnected from the P2P_PEERS_CHANGED_ACTION broadcast status. Now I want to