ESP8266 SmartConfig
Arduino Mã
bạn chỉ có thể gọi beginSmartConfig () như thế này
WiFi.beginSmartConfig ();
while (1) {
delay (1000);
if (WiFi.smartConfigDone ()) {
Serial.println ("SmartConfig thành công");
phá vỡ;
}
}
hoặc cách dễ dàng hơn là thư viện sử dụng có hỗ trợ chức năng như smartConfig
WiFiConnector Library Arduino: https://github.com/cmmakerclub/WiFiConnector
minor update.