The question is based on an observation I made while playing around with the WiFi Direct Demo Application rolled out by google.
Why does the shown list of Available peers tend to shorten even when the WifiDirect enabled devices are in close range? However, if I manually 'search' for available peers again, the list of peers grows. Well the latter seems a normal behavior, whereby mManager.discoverPeers()
is called first which subsequently invokes a call to the callback function onPeersAvailable()
to give a new set of peers if changed.
But why would onPeersAvailable()
get called when the phones are just idle but still nearby and thus shorten the list of peers?
Thanks