I have loaded the new AT bin to my application. And it seems, that what was working before with the AT v. 20 doesn't work now. Can you help? In fact, I have TCP server mode and I am receiving HTTP requests. Seems, that first connection is OK, but when I close the first TCP, I am not able to use the module at all and just receiving BUSY. Please note, that this code fully worked without any single change for all the previous AT releases. Here are the AT commands flow:
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
rlNÿ
ready
AT+GMR
AT version:0.21.0.0
SDK version:0.9.5
OK
AT+CWJAP?
No AP
OK
AT+CWJAP?
No AP
OK
AT+CWJAP?
No AP
AT+CWMODE=3
OK
AT+CIPMODE=0
OK
AT+CIPMUX=1
OK
AT+CIPSERVER=1,80
OK
AT+CIPSTO=2
OK
0,CONNECT
+IPD,0,248:GET / HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: cs-CZ
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Host: 192.168.4.1
Connection: Keep-Alive
AT+CIPSEND=0,920
OK
> HTTP/1.0 200 OK
Content-Type: text/html
Connection: close
<html><head><style>body{background-color:#2F4F4F;}p{background-color:orange;font-family:verdana;font-size:120%;}small{color:white;}table{background-color:orange;}</style></head><body><p><a href='/'>Wifi config</a> | <a href='ca'>Device config</a> | <a href='cb'>Sketch upload</a> | <a href='t'>Status</a> | <a href='s'>Control</a></p><FORM action='cc' method='GET'><table><tr><th colspan='2'>WIFI config</th></tr><tr><td>Wifi SSID:</td><td><input name='cs' type='text' maxSize='32' value=''/></td></tr><tr><td>Wifi password:</td><td><input name='cp' type='text' maxSize='64' value=''/></td></tr><tr><td>Static IP addr:</td><td><input name='ci' type='text' maxSize='15' value=''/></td></tr><tr><td colspan='2'><input type='submit' value='Configure'/></td></tr></table></form><small>Version: 1.0.0</small></body></html>
SEND OK
AT+CIPCLOSE=0
0,CLOSED
OK
<---------------------- Any AT command is now responded with busy..... -------------------------------->
0,CONNECT
+IPD,0,325:GET /cc?cs=Bob&cp=LukiKukiBuki123456&ci=192.168.1.30 HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: http://192.168.4.1/
Accept-Language: cs-CZ
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Host: 192.168.4.1
Connection: Keep-Alive
AT+CIPSEND=0,638
busy p...
0,CLOSED
Will force to restart!!!
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 user1Statistics: Posted by rgregor — Tue Feb 10, 2015 6:17 am
]]>