Chapter 11 – GPRS Commands
This chapter describes AT Commands that a TE (Terminal Equipment; e.g., an application running on a controlling
PC) may use to control the Multi-Tech wireless modem acting as GPRS Mobile Termination (MT). Please use "Using
GPRS AT Commands (Examples)" as a first guidance.
11.1 AT+CGACT PDP Context Activate or Deactivate
The test command is used for requesting information on the supported PDP context activation
Description:
states.
The read command returns the current activation states for all the defined PDP contexts.
The write command is used to activate or deactivate the specified PDP context(s). After the
command has completed, the MT remains in V.250 command state. If any PDP context is
already in the requested state, the state for that context remains unchanged. If the MT is not
GPRS attached when the activation form of the command is executed, the MT first performs a
GPRS attach and then attempts to activate the specified contexts. If no <cid>s are specified the
activation/deactivation form of the command activates/deactivates all defined contexts.
Test Command Syntax:
Response:
Read Command Syntax:
Response:
Write Command Syntax:
Response:
Parameter Descriptions:
<state>
Indicates the state of PDP context activation.
0
deactivated
1
activated. Default.
<cid>
PDP Context Identifier is a numeric parameter which specifies a particular PDP context definition. The parameter
is local to the TE-MT interface and is used in other PDP context related commands.
1...2
Notes:
•
ATH will deactivate any PDP context.
•
If the MT is in dedicated mode, the write command returns "+CME ERROR: operation temporary not allowed".
•
A maximum of 2 contexts can be activated at the same time, no matter on which interface. Trying to activate
more than 2 contexts will cause "+CME ERROR: operation temporary not allowed". Note that, depending on the
provider, the number of activated contexts may be further restricted.
Remember that contexts may be activated implicitly by using the ATD*98# or ATD*99# GPRS compatibility
commands without specifying a <cid>.
•
If an activated context will be deactivated without using the command AT+CGACT, then the result code "NO
CARRIER" will be issued to indicate the context deactivation. This happens for example if the context
deactivation is forced by the network or if deactivation results from a network deregistration with AT+COPS=2.
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
AT+CGACT=?
+CGACT: (list of supported <state>s)
OK
AT+CGACT?
+CGACT: <cid>, <state>
[+CGACT: <cid>, <state>]
...
OK
AT+CGACT=[<state>[, <cid>[, <cid>]]]
OK
ERROR
+CME ERROR
Chapter 11 – GPRS Commands
171
Need help?
Do you have a question about the MultiModem EDGE and is the answer not in the manual?