Hello,
I'm developed an application using station mode. It has a webserver and some webpages saved in the SPIFFS. I've a configuration file (saved in the SPIFFS) containg parametters as SSID , password and so on. Everything is working fine.
Now I need to ad a new feature: a parameter to define if we are working in station mode or in access point mode, so following sample code I changed the wifi initialization depending by a new parameter.
I can see the generated wifi ssid with the name I set, I can conect ti using the password set. But I can't access to web pages.
Have I to implement a different webserver management using AP mode?
Thanks for suggestions
Andrea
Access point mode
Re: Access point mode
If I'm understanding this correctly in AP mode you can connect to it but the Web server is not responding with the pages.
And to what IP address you are making the request? Because remember if the ESP32 is the access point mode, then you should make a request to that IP address not the one that you are requesting when is in Station mode.
Can you add some code example or just point us to the repository where you are doing this?
It's a bit hard to imagine what is the problem without reading the code.
And to what IP address you are making the request? Because remember if the ESP32 is the access point mode, then you should make a request to that IP address not the one that you are requesting when is in Station mode.
Can you add some code example or just point us to the repository where you are doing this?
It's a bit hard to imagine what is the problem without reading the code.
epdiy collaborator | http://fasani.de Fan of Espressif MCUs and electronic design
Who is online
Users browsing this forum: No registered users and 113 guests