- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
SIM300连GPRS为什么总是连接失败,求高人指教?
录入:edatop.com 点击:
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 CONNECTING
CONNECT FAIL
以上是我连GPRS时在串口助手发送的指令,本人校园网用户,根据花生壳上显示的外网IP地址为"222.171.12.***",用Socket作一个监听端口,端口号为8080,不知为何总是连接失败
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 CONNECTING
CONNECT FAIL
以上是我连GPRS时在串口助手发送的指令,本人校园网用户,根据花生壳上显示的外网IP地址为"222.171.12.***",用Socket作一个监听端口,端口号为8080,不知为何总是连接失败
你检测到的IP是否为经路由器分配的IP
上一篇:各位大侠求救,关于ZIGBEE
下一篇:模拟电子200问(一)