pupazzognappo wrote:Hi guys. I'm working on a sketch derived from the one is attached to this topic.
My sketch is a bit ore complex and larger , and i had the " no more response" problem.
I did not resolve that but i think that this is cause by the Hardware serial buffer size of arduino that is smaller than the esp8266 buffer size. So, if it's got a lot of information , arduino could not read them as quickly as we are hoping ----> overflow.
You can go to "<arduino-home-directory>\hardware\arduino\cores\arduino" and find line:
#define SERIAL_BUFFER_SIZE 64
and change it to whatever you require (given that the controller can take it )
Hope this helps
Could you please give some statistics for latency? My ESP response is quite slow (2 seconds min, 11 seconds or fail max)
Alex
zioax wrote:I've tried it but after a few of request it "crash" and not respond anymore
Credit to "wickedweed", who explained a similar issue in another post:
viewtopic.php?p=7096
you gotta free the used channel via AT+CIPCLOSE command before refreshing. I haven't tested it, but it sounds reasonable to me. Hope this could help.