beautypg.com

Examples of full gprs at commands – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual

Page 170

background image

Chapter 15 – GPRS Commands

Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)

170

Examples of Full GPRS AT Commands

Activation of an IP PDP Context

Example 1

AT +CGDCONT=1, "IP", "internet"; +GCDCONT=2, "IP", "abc.com"
OK
ATD*99***1#
CONNECT

Example 2

AT +CGCLASS=”CG”
OK
+CGREG: 1
AT +CGDCONT=1, "IP", "internet"
OK
AT +CGQREQ=1,1,4,5,2,14
OK
AT +CGQMIN=1,1,4,5,2,14
OK
AT +CGATT=1
OK
AT +CGACT=1,1
OK
//Remark about +CGDATA: the goal of this command is the same as ATD*99***
AT +CGDATA=1
CONNECT
…….

Data transfer

…….
+CGEV: NW DETACH

Network Request

AT+CGAUTO=0
OK
+CRING: GPRS "IP", "211.45.89.152"
AT+CGANS=1
CONNECT

……. Data transfer

This manual is related to the following products: