001-0004-829 Rev00
Page 26 of 84
Define the GPRS Context
Exact settings of GPRS context and Quality of Service Profiles are provisioned by the network
provider and must be requested before defining the GPRS context. Every PDP context has a
context identifier <cid>. The context identifiers are numbered sequentially and have to start with
value 1.
AT+CGDCONT
is used to define a context ID and specify the PDP type and Access Point Name
(APN). The PDP type describes the protocol to be used between the ME and the network. The
APN specifies the gateway between mobile network and the internet.
GPRS PDP Context activation/ deactivation
The
AT+CGACT=<state>,<cid>
command activates (state=1) and deactivates (state=0) a
specified PDP Context. If a PDP Context is already in the requested state, the state of this
context remains unchanged.
If the ME is not yet attached to the GPRS service, the attach will be done before the context
activation is executed. If no <cid> is specified (e.g. AT+CGACT=1 or AT+CGACT=0), all defined
contexts become activated/deactivated.
In many networks AT+CGACT=1 does not work any longer. Many networks require user name
and password for context activation. However these parameters are only handed to module
during the PPP traffic and not by AT command. Since the PPP traffic only starts when entering
the data mode, it is necessary to enter data mode before the actual PDP context activation
request is sent to the network. Use
ATD*99***<cid>#
to do so.
The command
AT+CGPADDR=<cid>
shows the PDP address, which was assigned to the
module during the activation process. The address may be static or dynamic.
GPRS Data Mode
Use the
ATD*99***<cid>#
command to go into GPRS data mode.
The PDP context (parameter <cid>) must be defined before via AT+CGDCONT.
If ATD*99***<cid># is entered without specifying a parameter, default parameters
will be used.
When entering the GPRS data mode, PPP traffic between the module and the application is
transferred. Therefore the application must be capable of handling PPP protocol.
Entering
+++
will switch from data mode or PPP online mode to command mode
Entering
ATO
or
AT+CGDATA
will switch from command mode to data mode
Содержание LandCell SMC-GPRS Series
Страница 2: ...REVISION HISTORY Rev00 Released 10 06 2009 C Pollock ...
Страница 62: ...001 0004 829 Rev00 Page 62 of 84 ...
Страница 63: ...001 0004 829 Rev00 Page 63 of 84 ...
Страница 64: ...001 0004 829 Rev00 Page 64 of 84 ...
Страница 65: ...001 0004 829 Rev00 Page 65 of 84 Configuring the Modem ...
Страница 66: ...001 0004 829 Rev00 Page 66 of 84 Create a Dial Up Networking DUN Connection ...
Страница 67: ...001 0004 829 Rev00 Page 67 of 84 ...
Страница 68: ...001 0004 829 Rev00 Page 68 of 84 ...
Страница 69: ...001 0004 829 Rev00 Page 69 of 84 ...
Страница 70: ...001 0004 829 Rev00 Page 70 of 84 ...
Страница 71: ...001 0004 829 Rev00 Page 71 of 84 ...
Страница 72: ...001 0004 829 Rev00 Page 72 of 84 ...
Страница 74: ...001 0004 829 Rev00 Page 74 of 84 ...
Страница 75: ...001 0004 829 Rev00 Page 75 of 84 Choose the COM port to be connected to the modem ...
Страница 76: ...001 0004 829 Rev00 Page 76 of 84 ...
Страница 77: ...001 0004 829 Rev00 Page 77 of 84 Configuring the Modem ...
Страница 79: ...001 0004 829 Rev00 Page 79 of 84 ...
Страница 81: ...001 0004 829 Rev00 Page 81 of 84 ...
Страница 82: ...001 0004 829 Rev00 Page 82 of 84 ...
Страница 83: ...001 0004 829 Rev00 Page 83 of 84 ...