Does WiFiDirect Service Discovery work using SERVICE_TYPE_ALL protocol type?

I have modified the WifiDirect service discovery sample application to 
discover all wifiDirect services. When I run the sample I don't discover 
any of the WifiDirect services that I know are running in my area. The code 
never makes it to the onServiceAvailable() override method. Is 
SERVICE_TYPE_ALL feature supported? Snippet of my code:

manager.setServiceResponseListener(channel, new 
WifiP2pManager.ServiceResponseListener() {...});

serviceRequestForAll = 
WifiP2pServiceRequest.newInstance(WifiP2pServiceInfo.SERVICE_TYPE_ALL, 
null);

manager.addServiceRequest(channel, serviceRequestForAll, new 
ActionListener() { ...});

manager.discoverServices(channel, new ActionListener() { ... });

Is there some other way that I can do a WiFiDirect Service Discovery and 
retrieve all of the WiFiDirect Services that are being advertised?

-Nate

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to