001-0004-829 Rev00
Page 25 of 84
General Packet Radio Service (GPRS)
Before proceeding, be sure the cellular account SIM is provisioned with GPRS data services and all
necessary initialization commands have been executed. The module must then be attached to the
GPRS service, allowing the device to be accessable by the network, but no data transmission is yet
possible. Before activating the PDP context, network provider specific context parameters have to be
defined. Afterwards the context can be activated and the module can enter the GPRS data mode. At
this point data can be exchanged between module and network.
Listed below are initial settings suggested for using GPRS.
AT+CGREG?
queries the status of GPRS network registration. AT+CREG=1 will enable network
activation.
AT+CGSMS
specifies the service or service preferences the MT shall use when sending MO SMS
messages. AT+CGSMS=0 will select GPRS service.
AT^SGAUTH
sets the authentication type for the PPP connection. The default value is 3 (PAP and
CHAP). To configure the LLC-PDU-length and the GPRS multislot class use AT^SGCONF
The
AT^SCFG
command is used for the following GPRS related settings. Note that AT^SCFG
settings illustrated in the examples are valid only if GSM character set is active.
”GPRS/ATS0/withAttach” (on/off)
Specifies whether or not ME will automatically attempt to perform a GPRS attach after receiving
the command ATS0=<n> with parameter n>0.
”GPRS/RingOnIncomingData (on/off)
Specifies if RING line shall be activated when ME receives GPRS IP packets during CYCLIC SLEEP
mode AT+CFUN=7 or 8. This solution ensures that incoming GPRS IP packets will prompt the
application to wake up from power saving.
”URC/Ringline/ActiveTime” (0/1/2)
:
Specifies duration of RING activation to indicate URCs or
incoming GPRS IP packets.
GPRS Attach/Detach
The
AT+CGATT
command enables the ME to attach (=1) or to detach (=0) from the GPRS
service. If the ME is already in the requested state, the command is ignored and OK response is
returned. Any active PDP Contexts will automatically be deactivated, if the ME detaches from the
GPRS service.
If the ME is not able to attach for more than 5 minutes or to detach for more than 1 minute, the
command returns “ERROR“ or “+CME ERROR: unknown”, but the ME is still trying to attach/
detach.
Summary of Contents for SMC-GPRS Series
Page 2: ...REVISION HISTORY Rev00 Released 10 06 2009 C Pollock...
Page 62: ...001 0004 829 Rev00 Page 62 of 84...
Page 63: ...001 0004 829 Rev00 Page 63 of 84...
Page 64: ...001 0004 829 Rev00 Page 64 of 84...
Page 65: ...001 0004 829 Rev00 Page 65 of 84 Configuring the Modem...
Page 66: ...001 0004 829 Rev00 Page 66 of 84 Create a Dial Up Networking DUN Connection...
Page 67: ...001 0004 829 Rev00 Page 67 of 84...
Page 68: ...001 0004 829 Rev00 Page 68 of 84...
Page 69: ...001 0004 829 Rev00 Page 69 of 84...
Page 70: ...001 0004 829 Rev00 Page 70 of 84...
Page 71: ...001 0004 829 Rev00 Page 71 of 84...
Page 72: ...001 0004 829 Rev00 Page 72 of 84...
Page 74: ...001 0004 829 Rev00 Page 74 of 84...
Page 75: ...001 0004 829 Rev00 Page 75 of 84 Choose the COM port to be connected to the modem...
Page 76: ...001 0004 829 Rev00 Page 76 of 84...
Page 77: ...001 0004 829 Rev00 Page 77 of 84 Configuring the Modem...
Page 79: ...001 0004 829 Rev00 Page 79 of 84...
Page 81: ...001 0004 829 Rev00 Page 81 of 84...
Page 82: ...001 0004 829 Rev00 Page 82 of 84...