Specifications
3GPPTS27.007ATCOMMANDS
HSPA+ATCommandsReferenceGuide 100
Notes
Thesettingissavedinnon‐volatilememoryandavailableafterareboot.
GPRSAttachorDetach+CGATT
Executecommandattachestheterminalto,ordetachestheterminalfrom,theGPRSservicedependingonthe
parameter<state>.
ReadcommandreturnsthecurrentGPRSservicestate.
TestcommandrequestsinformationonthesupportedGPRSservicestates.
Syntax
Command Commandtype
AT+CGATT=[<state>] Execute
AT+CGATT? Read
AT+CGATT=? Test
ParametersandValues
<state> StateofGPRSattachment.
0 Detached.
1 Attached.
Notes
Reference:3GPPTS27.007
Examples
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=?
+CGATT: (0,1)
OK
AT+CGATT=1
OK
GPRSEventReporting+CGEREP
Setcommandenablesordisablessendingofunsolicitedresultcodes+CGEV:XXXfromTAtoTEinthecaseof
certaineventsoccurringintheTAorthenetwork.FormoreinformationseethesectionUnsolicitedResultCodes.
Readcomma
ndreturnsthecurrent<mode> and<bfr>settings,intheformat:
+CGEREP: <mode>,<bfr>
Testcommandreportsthesupportedrangeofvaluesforthe+CGEREPcommandparameters.