Page 1 of 1

Scan for WiFi networks across all PHY modes

PostPosted: Tue Oct 01, 2019 8:49 pm
by MaxTheGinus
I an creating an IoT device that requires a user to connect the esp8266 to WiFi via a captive portal. However, not all users do have 802.11g WiFi routers (the default PHY mode for the esp8266). Is there a way to detect and list all WiFi networks across all of the PHY modes?
The esp8266 supports 802.11b, 802.11g and 802.11n. I know there is a way to change the PHY mode via WiFi.setPhyMode(), but I don't see a way to incorporate this with WiFi.scanNetworks(). Thank you in advance.