no password required with ESP32 as WLAN AP
Posted: Sun Mar 07, 2021 2:04 pm
Hello, I have tried the following code snippet to implement a simple WLAN AP with an ESP 32 WifiKit:
After that I can see the WiFi network on my Smartphone, but it doesn´t ask for a password. If I run the same snippet on an ESP8266 that I got a dialog to enter the password. I have tried it several times with different passsords and essids, restarted the ESP32 module but it is still the same result. Any ideas? 
Code: Select all
import network
ssid = 'esp32_AP'
password = '123456789'
ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid=ssid, password=password)
print(ap.ifconfig())
