Here we can all chat about fixing the AT+ command structure and the associated responses.

User avatar
By igrr
#3186
svd71 wrote:in file READ.ME set that to download one toochain from
https://github.com/esp8266/esp8266-wiki/Toolchain
but server throwed 404.

Looks like the instructions have moved here: https://github.com/esp8266/esp8266-wiki/wiki/Toolchain. I will update the readme link shortly.
User avatar
By igrr
#3197 Updated code and binaries, changes are as follows:
  • update to SDK 0.9.3 (thanks to github.com/jaseg)
  • add support for static IP address on STA interface
  • fix line endings for extended syntax result codes in V0 format
  • add +IREADY unsolicited result code on module boot
User avatar
By pvvx
#3207 @igrr
Error N1:
Using transmission to TCP stack. The stack can be busy. The stack arrange impossible if the numbers of free bytes is unknown. TCP stack has 5800 bytes (max). MSS <= 1460. The internal function "espconn_sent" has no answer if transmission was successful. "Espconn_tcp_sent" throws incoming data, if there is no free space.
Error N2:
Each transmission takes a ‘heap’ memory. Free allocate memory occurs on a timer event... Multiple short transmission = cause event 'malloc assert!' and reset the module.
User avatar
By igrr
#3208
pvvx wrote:"Espconn_tcp_sent" throws incoming data, if there is no free space.

Does it return some error code that can be used to determine how much data was lost, if any?

pvvx wrote:Free allocate memory occurs on a timer event...

Is this documented somewhere, or maybe you have access to the source code? Is there a function that will collect unused memory that we can call?