Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By BryanLee
#27764
martinayotte wrote:Good !
For the original problem, maybe I've read the thread too much in diagonal : why did you need to perform a reset after deepsleep ?


Because after waking from deep sleep, and reconnecting to the wifi network (verified by being able to ping the ESP from my desktop), it would not properly receive the results from an http get. I could verify that the server was sending the proper http response (by doing a tcpdump on my router), but no longer how long I waited, the esp would always return a null string for the http get response.
User avatar
By BryanLee
#27771
martinayotte wrote:It seems a complex scenario to troubleshoot !
Maybe you should provide your whole code and point where it is returning a null string.


I'll try to make time this weekend to do so. I want to pull out all the "extra" code I have (sensor readings, phant posting, IR LED transmit, etc), and leave just the wifi connect, deep sleep, and http get code and see if the problem still exists, and then post that code.

You've already given me great help by giving me a workaround. Which is great... Though I always consider workarounds as "losing the battle, but winning the war." The end result is what I want, it's just not the "best way" to do it. Ya know? The best way would be to fix my code in such a way that your workaround is no longer needed.