- Fri Jul 24, 2015 1:33 am
#24119
Thank you all for the responses!
As for my soft AP and the client running at the same time, I took the advice of commenting out that section of code and that fixed my issue. Thanks again! I had a feeling it was simply running into the admin timeout.
As for the connection issues, I understand (to an extent) what is going on based on all the great feedback. However, I am not sure which approach to take at the moment. It seems a few people have tried a few different things and each have had success? Can someone elaborate which of the following is the best approach based on past responses?
1. Remove all PROGMEM except for:
i remove ALL PROGMEM except the one for : const char PAGE_NetworkConfiguration[] PROGMEM/**/ = R"=====(".... (the big one !) and i got the necessary heap space... and all is running OK...
2. Use the My WebConfig derived from Irriation_1 example from Proteus74 and leave it alone:
My WebConfig derived Irrigation_1 has been solid performer for at least 12 hours now. This confirms my thesis so far. The superior web coding skills of proteus74 are still intact in the Irrigation_1 example.
3. Rename server.send instances:
I replaced all server.send instances in all the ESP_WebConfig_Master project files that look like:
server.send ( 200, "text/html", PAGE_WaitAndReload );
To:
server.send ( 200, "text/html", reinterpret_cast<const __FlashStringHelper *>(PAGE_WaitAndReload ));
Every thing works smooth and no crashes at all!
Final thoughts on this before I make any changes? Which is the best approach?
Thanks!
Mike