Search code examples
javaandroidwifiandroid-networking

How to distinguish between different wifi networks?


If there are two wifi networks in range that both have the same SSID, security type, and password, is there any available ID to distinguish between them? Is there a way to get that ID in android?


Solution

  • You can distinguish them through BSSID - if someone won't assign fixed MAC address they will have for sure different (unique) MAC addresses.

    Also they can be on different channel. I think it's impossible if two networks have same SSID, same channel and same BSSID.