[mw_shl_code=c,true]GPRS连接的所有指令:
+CPIN: READY
OK
+COPS: 0,0,"CHN-UNICM"
OK
+CSQ: 16,0
OK
+CBC: 0,90,4060
O
+CCLK: "00/01/04,19:6:57+00"
OK
[1] Will Send CIPCLOSE
ERROR
Sent CIPCLOSE Failed
[2] Will Send CIPSHUT
SHUT OK
Sent CIPSHUT Success
[3] Will Send CGCLASS
OK
Sent CGCLASS Success
[4] Will Send CGDCONT
OK
Sent CGDCONT Success
[5] Will Send CGATT
OK
Sent CGATT Success
[6] Will Send CIPCSGP
OK
Sent CIPCSGP Success
[7] Will Send CIPHEAD
OK
Sent CIPHEAD Success
IP Adress=122.185.118.135 iplen=15
OK
OK
Now Software key=0 key_hard=27
??Into tcpudp_test?? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Will Send DATA_Content p=AT+CIPSTART="TCP","122.185.118.135","1032"
OK
Sent CIPSTART=p Success
[25]Will Send CIPSTATUS
OK
STATE: IP CONFG
[26]Sent CIPSTATUS Success
[C11] Now Countinue TCP Connect Check, for about 999s cyc
[25]Will Send CIPSTATUS
OK
STATE: TCP CONECTING
[26]Sent CIPSTATUS Success
[C11] Now Countinue TCP Connect Check, for about 998s cyc
[25]Will Send CIPSTATUS
OK
STATE: TCP CONECTING
[26]Sent CIPSTATUS Success
[C11] Now Countinue TCP Connect Check, for about 997s cyc
[25]Will Send CIPSTATUS
OK
STATE: TCP CONECTING
[26]Sent CIPSTATUS Success
......
(此处重复若干次 CIPSTATUS查询,得到的结果跟上述一样都是:TCP CONECTING)
[25]Will Send CIPSTATUS
OK
STATE: TCP CONECTING
[26]Sent CIPSTATUS Success
[C11] Now Countinue TCP Connect Check, for about 955s cyc
此时:服务器端已经产生了2个连接了(显示了来自GSM模块的IP地址和端口号:124.160.210.15:19673和124.160.210.15:19673)
[/mw_shl_code]
不明白的是:服务器端都产生了2个连接了,用CIPSTATUS查询终端连接状态,仍然是:STATE: TCP CONECTING而且是:连接上1个后,又开始建立连接了,最后竟然达到接近10个连接。
|