|
SIM300 GPRS上网 CONNECT FAIL
[复制链接]
我现在用的是sim300 gprs at命令上网,命令发送过程如下:
AT+CGATT=1
OK
AT+CGATT?
+CGATT:1
OK
AT+CGDCONT=1,"IP","CMNET"
OK
AT+CGDCONT?
+CGDCONT:1,"IP","CMNET",0,0
OK
AT+CGACT=1,1 AT+CGACT?
OK
++CGACT:1,0
OK
AT+CIPSTART="TCP","116.205.45.1107","80"
OK
STATE: TCP CONNECTING
CONNECT FAIL
如果把AT+CIPSTART="TCP","116.205.45.1107","80" 改成 AT+CIPSTART="UDP","116.205.45.1107","80" 的话
就显示:
AT+CIPSTART="TCP","116.205.45.1107","80"
OK
CONNECT OK
请问,这是为什么呀?我用的是中国移动的SIM卡,已经打电话问电信公司了,支持CMNET的。我在网上找了好久,也没有找到原因,请高手指教啊!!!
|
|