Notes, Gprs context activation #gprs – Synaccess Networks NP-0801DTM User Manual
Page 257

ENHANCED IP STACK EXTENSIONAT COMMANDS
257
HSPA+ AT Commands Reference Guide
<secondary>
String type, manual secondary DNS server, in the format “xxx.xxx.xxx.xxx” used
for the specified cid. Use this value instead of the secondary DNS server from the
network. Default: “0.0.0.0”.
Notes
If <primary> is ”0.0.0.0” and <secondary> is not “0.0.0.0”, then issuing AT#DNS=… raises an error.
If <primary> is ”0.0.0.0” you are using the primary DNS server from the network as consequence of a context
activation.
If <primary> is not ”0.0.0.0” and <secondary> is “0.0.0.0”, then only the manual primary DNS server is used.
If the PDP context <cid> being specified in the #DNS command is not previously defined using the +CGDCONT
command the #DNS command results in ERROR indication.
If the PDP context <cid> being specified in the #DNS command is currently active (in use) the #DNS command
results in ERROR.
If connection results in an error:
AT#SGACT=1,1
#SGACT: 155.163.85.125
OK
AT#DNS=1,4.2.2.1,4.2.2.2
+CME ERROR: 4
Disconnect then command works:
AT#SGACT=1,0
OK
AT#DNS=1,4.2.2.1,4.2.2.2
OK
GPRS Context Activation #GPRS
Execute command deactivates or activates the PDP context #1. Eventually the authentication proceeds by using
the parameters given with #PASSW and #USERID.
Read command reports the current status of the PDP context #1, in the format:
#GPRS: <status>
where:
<status>
0
PDP context #1 deactivated.
1
PDP context #1 activated.
2
PDP context #1 activation pending.
Test command returns the allowed values for parameter <mode>.