then in your function Malloc and free when needed. This is course better then defining this...
Char MyFirstBuf[1024] Char MySecBuf[1024]
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.
Statistics: Posted by AgentSmithers — Sat May 11, 2019 6:19 am
]]>2019-05-09T17:00:48+08:002019-05-09T17:00:48+08:00https://bbs.espressif.com:443/viewtopic.php?t=28671&p=40787#p40787Statistics: Posted by Her Mary — Thu May 09, 2019 5:00 pm
]]>2019-05-09T11:10:24+08:002019-05-09T11:10:24+08:00https://bbs.espressif.com:443/viewtopic.php?t=28671&p=40763#p40763and 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?
Statistics: Posted by Guest — Thu May 09, 2019 11:10 am