ESP8266 Developer Zone The Official ESP8266 Forum 2015-06-10T19:55:34+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=575 2015-06-10T19:55:34+08:00 2015-06-10T19:55:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=575&p=2165#p2165 <![CDATA[Re: Error to use AT+CIPSTART=... ERROR CLOSED]]>
You are right, the situation was that the module sometimes connect automatically with my other module, this is the reason for the eventual error.

Thank you very much Espressif_Faye.

Statistics: Posted by acuerol — Wed Jun 10, 2015 7:55 pm


]]>
2015-06-10T11:42:22+08:00 2015-06-10T11:42:22+08:00 https://bbs.espressif.com:443/viewtopic.php?t=575&p=2144#p2144 <![CDATA[Re: Error to use AT+CIPSTART=... ERROR CLOSED]]>
Here is our latest AT firmware http://bbs.espressif.com/viewtopic.php?f=5&t=554

Download and unzip the attachment, in \esp_iot_sdk\document , please refer to "4B-ESP8266__AT Command Examples"

You need to use command AT+CWJAP="SSID","password" to connect to router first.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Wed Jun 10, 2015 11:42 am


]]>
2015-06-10T06:48:13+08:00 2015-06-10T06:48:13+08:00 https://bbs.espressif.com:443/viewtopic.php?t=575&p=2135#p2135 <![CDATA[Error to use AT+CIPSTART=... ERROR CLOSED]]>
The problem is that I try to connect two ESP8266, one operate in Station mode and the second in AP mode. The problem is that, sometimes the connection is made, also I can send and receive data, however, it is lost and I cannot connect again, I'll describe the procedure:

1:

Code:

AT+CWMODE=1

OK

AT+RST

OK

 ets Jan  8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x40100000, len 816, room 16
tail 0
chksum 0x8d
load 0x3ffe8000, len 788, room 8
tail 12
chksum 0xcf
ho 0 tail 12 room 4
load 0x3ffe8314, len 288, room 12
tail 4
chksum 0xcf
csum 0xcf

2nd boot version : 1.2
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size : 4Mbit
jump to run user1

rl\0x8e\0x82\0xff
Ai-Thinker Technology Co. Ltd.

ready
AT+CIPMUX=1

OK
AT+CIPSERVER=1

OK
AT+CIFSR

+CIFSR:STAIP,"172.168.0.40"
+CIFSR:STAMAC,"18:fe:34:98:3a:4f"

OK


2:

Code:

OK
AT+CWMODE=2

OK
AT+RST

OK

 ets Jan  8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x40100000, len 816, room 16
tail 0
chksum 0x8d
load 0x3ffe8000, len 788, room 8
tail 12
chksum 0xcf
ho 0 tail 12 room 4
load 0x3ffe8314, len 288, room 12
tail 4
chksum 0xcf
csum 0xcf

2nd boot version : 1.2
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size : 4Mbit
jump to run user1

r\0x18\0x02\0x8e\0x1b\0xd1
Ai-Thinker Technology Co. Ltd.

ready
AT+CIPSTART="TCP","173.168.0.40",333

ERROR
CLOSED


In both the AT+GMR output is:

Code:

AT+GMR

AT version:0.21.0.0
SDK version:0.9.5

OK


Thanks for help!

Statistics: Posted by acuerol — Wed Jun 10, 2015 6:48 am


]]>