> 11.14 | AT^SGACT Query all PDP context activations

> Syntax

> Test Command AT^SGACT=?
> Response(s)
> ^SGACT: (range of supported <ifc>s) , (range of supported <state>s)
> OK

> Read Command AT^SGACT?
> Response(s)
> [^SGACT: <ifc>, <cid>, <state>]
> [^SGACT: <ifc>, <cid>, <state>]
> [^SGACT: ...]
> OK

> Exec Command AT^SGACT
> Response(s)
> ^SGACT: <sum>
> OK

> Reference(s) |  | PIN |  | ASC0 | ASC1 | USB | MUX1 | MUX2 | MUX3 |  |  | Charge | Q | Last
> SIEMENS |  | + |  | + | + | + | + | + | + |  |  | - | + | -

> Command Description
> The test command returns supported interfaces and states.
> The read command lists the activation states for all activated PDP contexts of the ME. Contexts, which are created internally by the GPRS modem compatibility commands, will displayed only, if they are activated. The Output of this command is unsorted.
> The exec command returns the sum of all activated PDP contexts of the ME.
> Parameter Description

> <ifc>(num)

> Interface
> Indicates the interface on which a particular PDP context was defined. Every PDP context defined with the command AT+CGDCONT or internally by the GPRS modem compatibility commands is identified one-to-one by its (local) context identifier and the interface on which it was defined. The range of supported interfaces is returned by the test command.
> 0
> ASC0 or Multiplex channel 1
> 1
> ASC1 or Multiplex channel 2
> 2
> USB or Multiplex channel 3

> <cid>(num)

> PDP context identifier
> The interface local identifier which was used to define a PDP context using the command AT+CGDCONT or which was created internally by using the GPRS modem compatibility commands ATD*98# or ATD*99#. The range of supported values is returned by the AT+CGDCONT test command. Values 3 and 4 will be used by the GPRS modem compatibility commands ATD*98# or ATD*99# if no context identifier was specified as the command was invoked.

> <state>(num)

> PDP context activation state
> Indicates the state of the PDP context activation.
> 0
> Deactivated
> 1
> Activated

> <sum>(num)

> The sum of all activated PDP contexts of the ME.