AT+CDNSORIP=0
OK
AT+CIPSPRT=0
OK
AT+CIPHEAD=1
OK
AT+CIPCSGP=1,"CMNET","LHL","123654"
OK
AT+CGDCONT=1,"IP"
OK
AT+CGATT=1
OK
AT+CGACT=1,1
OK
AT+CIPSTART="TCP","222.171.12.***","8080"
OK
AT+CIPSTART="TCP","222.171.12.***","8080"
ERROR
STATE: TCP CONNEC
tiNG
CONNECT FAIL
以上是我连GPRS时在串口助手发送的指令,本人校园网用户,根据花生壳上显示的外网IP地址为"222.171.12.***",用Socket作一个监听端口,端口号为8080,不知为何总是连接失败
一周热门 更多>