- Sun Sep 20, 2015 6:28 am
#29496
You are still on 1.2.0. I use SDK 1.3.0.
Here is the printout of my test with your code:
Initialization, 1x web access, sys printout:
Code: Select allConfiguring Access Point...
AP IP address: 192.168.4.1
HTTP server started
Page: Root, Heap: 36816, UpTime: 69922
sys
Free Heap: 37360
Boot Version: 31
CPU (MHz): 80
SDK Version: 1.3.0
Chip ID: 10357434
Flash Size(chip): 524288
Flash Size(IDE): 524288
Flash Speed: 40000000
After some time I tried to access the web page with PC:
Code: Select allPage: Root, Heap: 35296, UpTime: 6441127
Page: Root, Heap: 35272, UpTime: 6442733
Page: Root, Heap: 35280, UpTime: 6444546
Page: Root, Heap: 35288, UpTime: 6446050
Page: Root, Heap: 35640, UpTime: 6447564
Page: Root, Heap: 35176, UpTime: 6448968
Page: Root, Heap: 35296, UpTime: 6450477
Page: Root, Heap: 35272, UpTime: 6451985
Page: Root, Heap: 35384, UpTime: 6459329
And then with Android 4.4.4 tablet:
Code: Select allPage: Root, Heap: 35696, UpTime: 6479135
Page: Not Found
Page: Root, Heap: 35512, UpTime: 6482076
Page: Not Found
Page: Root, Heap: 35416, UpTime: 6483902
Page: Not Found
Page: Root, Heap: 35376, UpTime: 6485588
Page: Not Found
Page: Root, Heap: 35216, UpTime: 6487295
Page: Not Found
Page: Root, Heap: 35512, UpTime: 6489036
Page: Not Found
Page: Root, Heap: 35512, UpTime: 6490424
Page: Not Found
Page: Root, Heap: 35512, UpTime: 6491899
Page: Not Found
Page: Root, Heap: 35512, UpTime: 6493278
Page: Not Found
Page: Root, Heap: 35512, UpTime: 6494753
Page: Not Found
Page: Root, Heap: 35512, UpTime: 6496350
Page: Not Found
Page: Root, Heap: 35696, UpTime: 6497934
Page: Not Found
I don't know why I get "Page: Not Found" after a "Page: Root, Heap: xxxxx, UpTime: xxxxxxxxx" in case I access the web page with Android.
The heap hasn't dropped under 35k on my test. I'd say you should update to SDK 1.3.0 or even 1.4 if it is already avalible for Arduino platform.
Regards,
Mat