You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configured my esp in dual mode and it works fine.
I have few queries -
I can check a gpio pin and use single mode at a time. either station or AP, right now its in dual mode and I face one problem, sometimes my web html page are not served whole, they are broken. I have used SPIFFS liberary to store web pages. Seems like some memeory issue.
So my quesiotn is is this really a memory problem because thre are lot of checks and variables involved int the loop() method.
Having one mode can be also one option, like i can cofigure the mode by check gpio pin status, whether in AP mode or STation mode. Is this better approach.
In dual mode, can I set static IP for my AP and let system have dynamic IP for station mode, what is the correct way of giving static IP in Dual mode for AP
thanks
The text was updated successfully, but these errors were encountered:
About HTML-pages not being served whole: I've seen several people complaining about similar issues lately and I think it's a bug with the ESP8266-core itself, not in your code. Have you tried an older version of the core, like e.g. 2.2.0, to see if it works any better?
@ranjit84 The ESP has a single radio, shared between STA and AP. In dual mode, the SoftAP must be set to the same channel as the STA that you connect to. If you don't, once the STA connects, the SoftAP will be dragged along, and you'll lose connectivity.
In addition, there are some issues with serving webpages with ESP8266WebServer, especially when the webpages have embedded elements. In such cases, modern browsers tend to get creative and try to retrieve concurrenly.
Assuming the issue is still relevant, please try:
Uh oh!
There was an error while loading. Please reload this page.
I have configured my esp in dual mode and it works fine.
I have few queries -
So my quesiotn is is this really a memory problem because thre are lot of checks and variables involved int the loop() method.
Having one mode can be also one option, like i can cofigure the mode by check gpio pin status, whether in AP mode or STation mode. Is this better approach.
thanks
The text was updated successfully, but these errors were encountered: