Get RSSI with key of SSID

Hi, i found out that Photon can scan all available network and outputting its RSSI… how about i just want to scan some network, for example i want to scan network with SSID name “WIFI1”, “WIFI2”, and “WIFI3” and get each RSSI… can i do that?

I just try the scan function, and placing ssid comparator if(ap.ssid==“WIFI1”) inside its ‘for’, but it didn’t return true although it is same… can you help me about that… thankss…

Probably because ap.SSID is not a String object but a char[] which would be compared via strcmp()

2 Likes

Thanks, i just tried it and it run successfully…

2 Likes