Closed sontqq closed 4 years ago
Hi.
I have the same problem, please fix it.
192.168.4.1 page shows next:
Chip ID 2352881 Flash Chip ID 1335429 IDE Flash Size 1048576 bytes Real Flash Size 1048576 bytes Soft AP IP smtp.gmail.com192.168.4.1 Soft AP MAC BE:DD:C2:23:E6:F1 Station MAC smtp.gmail.comBC:DD:C2:23:E6:F1
Ok, found the reason, its not compatible with the esp8266 2.5.0, 2.4.2 and it works!
Thanks!!
Hello @petri1973 did you try the latest GitHub version ( master ) of ESP8266 Arduino core? I encourage you to try it as they have done many corrections. In this case, please report here if it working or not!
Hi mikekgr,
Yes, the problem is with the latest version, when installed 2.4.2 the corruption of json stopped. Allthough, if the field in web interface is left empty once, and then try to update it, corrupted again..
Hello again @petri1973 , please make sure that you have installed the latest GitHub version, master that is cocked now and not the released 2.5.0 that have some problems... If you indeed have the master installed and still have the problem, then it is important to file an issue to them... Best Regards, Mike Kranidis
Hi mikekgr,
Yes, I used the direct link to pull the branch with the GitHub desktop app. Also tried the zip. And added the cjson link to arduino 1.8.8. (stable release), and from boards manager installed the latest version.
So tried all possible ways that I know of. Quite new with this stuff, but had no similar issues before with other projects.
After installed the 2.4.2 the problem went away, now the code is working.
More:
The web page after corruption is like: smtp.gmail.com192.168.4.1
Is there a fix for this? I have tried all the versions since 2.4.2 and cannot get this to work except with 2.4.2. only issue is corruption after web interface is left empty.
I've proposed a fix for this that prevents the issue from happening regardless of the version of esp8266. It may have worked in previous versions due to the way the older kernel allocates memory, but regardless there was indeed a bug in the code which I've created a PR for.
drderiv's fix was merged just now. Sorry for the wait!
Everytime I connect to the AP it redirects me to
http://smtp.gmail.com192.168.4.1/
. Even if I try to enter the IP manually.Debug lines:
Any idea how to resolve it?