zhouhan0126 / WIFIMANAGER-ESP32

wifimanager-esp32
MIT License
411 stars 136 forks source link

WIFIMANAGER-ESP32 and WEBSERVER-ESP32 #9

Open heikoch opened 6 years ago

heikoch commented 6 years ago

How do I start a web server after Wifi Connect? I have rewritten several skits from the esp8266. But they do not work. Does anyone have an example for me? Thanks

karan6190 commented 6 years ago

Hey you just need to make some changes in wifimanager.cpp file

wifimanagercpp

Instead of WiFi.mode( WIFI_STA) change to WiFi.mode(WIFI_AP_STA)

This will change the configuration and your ESP32 will able to maintain its Access Point even after connecting to WiFi.

davidjonz2005 commented 6 years ago

but what if i want to use it as a server just to display it's state when connected to another AP?