Example:
at+cgdcont=3,"IPV4V6","vzwinternet"
.
NOTE: If the command runs successfully, the message
OK
appears.
c.
Configure the Network Control Mode with the
at#ncm
command.
Example:
at#ncm=1,3
.
d.
Activate the Packet Data Protocol with the
at+cgact
command.
Example:
at+cgact=1,3
.
e.
To view the PDP Context Read Dynamic Parameters, that is,
bearer_id
,
apn
,
ip_addr
,
subnet_mask
,
gw_addr
,
DNS_prim_addr
,
DNS_sec_addr
,
P-CSCF_prim_addr
, and
P-CSCF_sec_addr
parameters, run the
at+cgcontrdp
command.
Example:
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.
Exit the Minicom module.
g.
In the Linux terminal configure the connection with the following commands
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
Example:
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.
Log in to the Minicom module using the
minicom -D /dev/ttyACM0
command.
i.
Connect to the mobile network using the
at+cgdata
command.
Example:
at+cgdata="M-RAW_IP",3
NOTE: To view the IMEI and ICCID number use the
AT+IMEISV
command.
To disconnect from the mobile network
a.
Open the Minicom terminal.
b.
Enter the
at+cgdata="M-RAW_IP",3
command.
c.
Close the Minicom terminal.
d.
Enter the
root@WR-IntelligentDevice:~# ifconfig wwan0 down
command.
If the Edge Gateway is shipped with LTE AT&T (DW5813) WWAN card:
a.
Open the
Terminal
window.
b.
In the terminal type
minicom -D /dev/ttyACM0
to open the Minicom terminal.
The Minicom terminal opens with the following text:
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.
Type the AT+cgdcont command with
PDP Context Identifier
, “
Packet Data Protocol type
”, and “
Access Point Name
”
parameters and press Enter.
28