Users Guide

: 如果成功运行命令,消息 OK 会显示。
c. 使用 at#ncm 命令配置网络控制模式。
示例:at#ncm=1,3
d. 使用 at+cgact 命令激活分组数据协议。
示例:at+cgact=1,3
e. 要查看 PDP 内容读取动态参数,即 bearer_idapnip_addrsubnet_maskgw_addrDNS_prim_addr
DNS_sec_addrP-CSCF_prim_addr P-CSCF_sec_addr 参数,运行 at+cgcontrdp 命令。
示例:at+cgcontrdp=3
+CGCONTRDP: 3,7,"vzwinternet.mnc480.mcc311.gprs","100.106.47.7.255.0.0.0","100.1
06.47.8","198.224.157.135","0.0.0.0","0.0.0.0","0.0.00"
f. 推出 Minicom 模块。
g. Linux 终端使用以下命令配置连接
root@WR-IntelligentDevice:~# ifconfig wwan0 ip_addr netmask subnet_mask up
root@WR-IntelligentDevice:~# route add default gw gw_addr wwan0
root@WR-IntelligentDevice:~# echo nameserver DNS_prim_addr >>/etc/resolv.conf
示例:
root@WR-IntelligentDevice:~# ifconfig wwan0 100.106.47.7 netmask 255.0.0.0 up
root@WR-IntelligentDevice:~# route add default gw 100.106.47.8 wwan0
root@WR-IntelligentDevice:~# echo nameserver 198.224.157.135 >>/etc/resolv.conf
h. 使用 minicom -D /dev/ttyACM0 命令登录到 Minicom
i. 使用 at+cgdata 命令连接到移动网络。
示例:at+cgdata="M-RAW_IP",3
: 使用 AT+IMEISV 命令查看 IMEI ICCID 编号。
要从移动网络断开
a. 打开 Minicom 终端。
b. 输入 at+cgdata="M-RAW_IP",3 命令。
c. 关闭 Minicom 终端。
d. 输入 root@WR-IntelligentDevice:~# ifconfig wwan0 down 命令。
如果
Edge Gateway
随附
LTE AT&T (DW5813) WWAN
卡:
a. 打开终端窗口。
b. 在终端键入 minicom -D /dev/ttyACM0 以打开 Minicom 终端。
Minicom 终端会打开以下文本:
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Dec 17 2015, 16:20:45.
Port /dev/ttyACM0, 21:33:05
Press CTRL-A Z for help on special keys
c. 键入 AT+cgdcont 命令和 PDP
内容识别码
,“
分组数据协议类型
”,以及“
访问点名称
”参数并按回车。
示例:at+cgdcont=3,"IPV4V6","broadband"
: 如果成功运行命令,消息 OK 会显示。
27