通过串口发送AT指令,gprs模块没反应。。
send (AT+CGDCONT=1,"IP","CMNET"^M)expect (OK)
^M
上面是串口打印的信息,上面显示的应该是连上了的。但为什么我发送AT模块没反应了。。 nocrtscts 是没有硬件流控的。求助哇!!!
^M
OKOK
-- got it
send (AT+CGQMIN=1,0,0,0,0,31^M)
expect (OK)
^M
^M
OKOK
-- got it
send (AT+CGACT=1,1^M)
expect (OK)
^M
^M
OKOK
-- got it
send (ATDT*99***1#^M)
timeout set to 60 seconds
Waiting for connect...
expect (CONNECT)
^M
^M
CONNECTCONNECT
-- got it
send (^M)
Connect Success!
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/tq2440_serial2
not replacing existing default route via 192.168.1.2
localIP address 10.14.13.108
remote IP address 10.0.0.1
primary DNS address 211.136.20.203
secondary DNS address 211.136.17.107
OK AT+CGACT=1
AT
AT
AT+COPS?\r\n
页:
[1]