9 show pdp address - +cgpaddr – Rainbow Electronics GM862-QUAD-PY User Manual

Page 163

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 163 of 434

+CGACT - PDP Context Activate Or Deactivate

SELINT 2

AT+CGACT=
[<state>[,<cid>
[,<cid>[,…]]]]

Execution command is used to activate or deactivate the specified PDP
context(s)

Parameters:
<state> - indicates the state of PDP context activation
0 - deactivated
1 - activated
<cid> - a numeric parameter which specifies a particular PDP context

definition (see +CGDCONT command)


Note: if no <cid>s are specified the activation/deactivation form of the
command activates/deactivates all defined contexts.

AT+CGACT?

Read command returns the current activation state for all the defined PDP
contexts in the format:
+CGACT: <cid>,<state>[<CR><LF>+CGACT: <cid>,<state>[…]]

AT+CGACT=?

Test command reports information on the supported PDP context activation
states parameters in the format:

+CGACT: (0,1)

Example

AT+CGACT=1,1
OK
AT+CGACT?
+CGACT: 1,1


OK

Reference GSM

07.07

3.5.4.7.9 Show PDP Address - +CGPADDR

+CGPADDR - Show PDP Address

SELINT 0 / 1

AT+CGPADDR=
[<cid>[,<cid>
[,…]]]

Execution command returns a list of PDP addresses for the specified
context identifiers in the format:

+CGPADDR: <cid>,<PDP_addr><CR><LF>[<CR><LF>
+CGPADDR: <cid>,<PDP_addr><CR><LF>[…]]


Parameters:
<cid> - a numeric parameter which specifies a particular PDP context

definition (see +CGDCONT command). If no <cid> is specified, the
addresses for all defined contexts are returned.

<PDP_addr> - a string that identifies the terminal in the address space

applicable to the PDP. The address may be static or
dynamic. For a static address, it will be the one set by the
+CGDCONT command when the context was defined. For a
dynamic address it will be the one assigned during the last
PDP context activation that used the context definition

Advertising