almgong / NDNOverWifiDirect

1 stars 0 forks source link

Better log messages during WifiP2p events #28

Closed almgong closed 7 years ago

almgong commented 7 years ago

Seems like the errors with busy framework during peer discovery can be explained:

https://developer.android.com/reference/android/net/wifi/p2p/WifiP2pManager.html#WIFI_P2P_DISCOVERY_CHANGED_ACTION

I believe that more specific log messages can be made.

almgong commented 7 years ago

Also, try pausing peer discovery whenever the scan operation stops (on P2P_DISCOVERY_CHANGED_ACTION.