even more, a network connection is broken when opratinga tcp connection, "busy s/p.." will 100% appear!
i've seen some one commited a hard reset f/w with AT+XRST, and i believe there's another way for it: reset by ESP8266 itself.
just modify SDK's code in esp_iot_sdk_v0.9.2\at\user\at_port.c
make & burn it.
static int busy_count = 0;
static void ICACHE_FLASH_ATTR
at_busyTask(os_event_t *events)
{
switch(events->par)
{
char buffer[20];
case 1:
os_sprintf(buffer, "\r\nbusy p...[%d]\r\n", busy_count);
busy_count++;
uart0_sendStr(buffer);
if (busy_count > 20)
system_restart();
break;
case 2:
os_sprintf(buffer, "\r\nbusy s...[%d]\r\n", busy_count);
busy_count++;
uart0_sendStr(buffer);
if (busy_count > 20)
system_restart();
break;
}
}