ESP8266 Developer Zone The Official ESP8266 Forum 2016-06-16T18:14:05+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=2293 2016-06-16T18:14:05+08:00 2016-06-16T18:14:05+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2293&p=7365#p7365 <![CDATA[Re: AT+CIPSTART sometimes work but mostly error and AT+RST didnt make the difference]]>
Could your router access to the internet ?

If your problem is still unsolved, please have a try with our latest AT firmware http://bbs.espressif.com/viewtopic.php?f=46&t=2199.


AT+GMR

AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
OK

Please notice that the AT firmware you are using now is not provided by our company, Espressif Systems, so if you change to use our AT firmware, there may be some differences.

Statistics: Posted by ESP_Faye — Thu Jun 16, 2016 6:14 pm


]]>
2016-06-16T12:10:53+08:00 2016-06-16T12:10:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2293&p=7357#p7357 <![CDATA[Re: AT+CIPSTART sometimes work but mostly error and AT+RST didnt make the difference]]>
Espressif_Faye wrote:
Hi,

Is there any invisible characters after your command "AT+CIPSTART="TCP","iot.espressif.cn",8000" ?

Any unexpected characters (no matter visible or invisible) will make it to be a wrong command, just as "AT+CIPSTART="TCP","iot.espressif.cn",8000sdfasdfqetwe", and get response "ERROR".


Hi faye thank you for reply.

yes there was a mistake i accidentally put some invisible character(blank space). but after that i get another error response, DNS fail. i tried with other router but it doesn't solve the proble. any suggestions ? thanks

Code:

ready
WIFI CONNECTED
WIFI GOT IP
AT+CIFSR

+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"1a:fe:34:d6:59:01"
+CIFSR:STAIP,"192.168.43.148"
+CIFSR:STAMAC,"18:fe:34:d6:59:01"

OK
AT+CIPSTART="TCP","iot.espressif.cn",8000

DNS Fail

ERROR
AT+GMR

AT version:0.40.0.0(Aug  8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
OK

Statistics: Posted by ardiramelan — Thu Jun 16, 2016 12:10 pm


]]>
2016-06-16T11:59:19+08:00 2016-06-16T11:59:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2293&p=7356#p7356 <![CDATA[Re: AT+CIPSTART sometimes work but mostly error and AT+RST didnt make the difference]]>
Is there any invisible characters after your command "AT+CIPSTART="TCP","iot.espressif.cn",8000" ?

Any unexpected characters (no matter visible or invisible) will make it to be a wrong command, just as "AT+CIPSTART="TCP","iot.espressif.cn",8000sdfasdfqetwe", and get response "ERROR".

Statistics: Posted by ESP_Faye — Thu Jun 16, 2016 11:59 am


]]>
2016-06-16T00:44:59+08:00 2016-06-16T00:44:59+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2293&p=7347#p7347 <![CDATA[AT+CIPSTART sometimes work but mostly error and AT+RST didnt make the difference]]>
here is my code

Code:

AT


OK
AT+RST


OK
WIFI DISCONNECT

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

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

òn't use rtc mem data
rlŽƒrlÌÿ
Ai-Thinker Technology Co.,Ltd.

ready
WIFI CONNECTED
WIFI GOT IP
AT+CIPSTATUS

STATUS:2

OK
AT+CIPSTART="TCP","iot.espressif.cn",8000


ERROR

AT+CIFSR

+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"1a:fe:34:d6:59:01"
+CIFSR:STAIP,"192.168.43.148"
+CIFSR:STAMAC,"18:fe:34:d6:59:01"


my main problem is :
1. AT+RST, when i tried to reset the module, my wifi is still connected and got ip address from my previous AT+CWJAP instruction. why ? i thought the module will reset and there is no AT command left in there.
2. AT+CIPSTART, always error but sometimes work(only once).

could you please help me ? im really struggling here. thank you

Statistics: Posted by ardiramelan — Thu Jun 16, 2016 12:44 am


]]>