and if i try to send data more than 1024 Byte (1200+), my ESP8266 module will reset , why ?
Who can give me some suggestion to solve the problem?
Char * MyFirstBuf
Char * MySecBuf
then in your function Malloc and free when needed. This is course better then defining this...
The first one at least one of the bufs you can hopefully free at a time to give you room to move around....
Basiclly in a nuttshell avoid  definnitions for global vars if you have any and convert them to just raw pointers and Alloc and release as needed.. youll have rewrite and test your code to ensure you have the flow correct but I hope that helps.
Who is online
Users browsing this forum: No registered users and 9 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!