-->
Page 19 of 27

Re: Source code changes and samples for new AT+ commands

PostPosted: Sun Nov 23, 2014 2:18 pm
by igrr
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.

Re: Source code changes and samples for new AT+ commands

PostPosted: Sun Nov 23, 2014 7:32 pm
by igrr
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

Re: Source code changes and samples for new AT+ commands

PostPosted: Mon Nov 24, 2014 3:28 am
by pvvx
@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.

Re: Source code changes and samples for new AT+ commands

PostPosted: Mon Nov 24, 2014 3:53 am
by igrr
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?