WiFi SSID list

Hi!

We are developing an SDK to make public WiFi safer. We need to get a list of SSID's available on trigger. The idea behind this is to get that list, get the mac address of each AP under our SSID, and then validate the respective mac address with our network database so we know it is not an spoofed SSID and the SDK can keep the phone connected, otherwise connect to the next AP.

Can someone point me on the right documentation to achieve this?

WiFi SSID list
 
 
Q