neatorobito / Salut

A nice library for working with WiFi P2P service discovery on Android.
MIT License
297 stars 88 forks source link

How Salut Connect to selected group #12

Open boyandrea opened 8 years ago

boyandrea commented 8 years ago

Hi, thanks for making this awesome library but i have same question about selecting group, is salut connect automaticaly to a group with same type? or we can show list of group and then connect to seleceted group?

neatorobito commented 8 years ago

If I'm understanding correctly, Salut only connects to services of the same type. You can change this functionality by removing the checks here and here.

I found that when I didn't restrict this, Salut would show and attempt to connect to any WiFi Direct device that was advertising a service (Rokus, etc.).