Specifications

ENHANCEDIPSTACKEXTENSIONAT
COMMA
NDS
HSPA+ATCommandsReferenceGuide 258
Syntax
Command Commandtype
AT#GPRS=[<mode>] Execute
AT#GPRS? Read
AT#GPRS=? Test
ParametersandValues
<mode> PDPcontextactivationmode.
0 PDPcontext#1deactivationrequest.
1 PDPcontext#1activationrequest.
IfthePDPcontext#1isactivated,theresultcodeOKisprecededbythe
intermediateresultcode:
+IP:<ip_address_obtained>
reportingthelocalIPaddressobtainedfromthenetwork.
Notes
Itisrecommendedyouusethesamecommand—forexample#GPRS—toactivatethecontext,deactivateitand
interrogateitsstatus.
YoumustassociateatleastasocketidentifierwithPDPcontext#1sothatevery#GPRSactioncanbeeffective.
BydefaultthePDPcontext#1isassociatedwithsocketidentifiers1,2and3,butitispossibletomodify these
associationsthrough#SCFG.Tryingtoissuea#GPRSactionwh
ennosocketidentifierisassociatedwithPDP
context#1raisesanerror.
Thiscommandisnotallow edifGSMcontextis activated.SeeAT#SGACT=0,1.
IfthePDPcontext#1 is activatedissuingAT#GPRS=1,thenifyourequesttodeactivatethePDPcontext#1
duringacallissuingAT#GPRS=0andthen,afterthecalltermination,youwanttoactivatethePDPcontext#1
againthrough#GPRS,youneedtoissuethefollowingsequenceofthreecommands
AT#GPRS=1
OK
AT#GPRS=0
OK
AT#GPRS=1
OK
Examples
PDPContext#1isactivated,IPis129.137.1.1
AT#GPRS=1
+IP: 129.137.1.1
OK
NowPDPContext#1isdeactivated,IPislost.
AT#GPRS=0
OK