https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiScan/ /* This sketch demonstrates how to scan WiFi networks. The API is almost the same as with the WiFi Shield library, the most obvious difference being the different file you need to include: */ #include “ESP8266WiFi.h” void setup() { Serial.begin(115200); // Set WiFi to station mode and disconnect from an AP . . .
ESP8266: Sketch demonstrates how to scan WiFi networks
