Rainbow Electronics GM862-QUAD-PY User Manual

Page 156

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 156 of 434

+CGDCONT - Define PDP Context

SELINT 0 / 1

"IP" - Internet Protocol
<APN> - (Access Point Name) a string parameter which is a logical name

that is used to select the GGSN or the external packet data
network. If the value is empty (“”) or omitted, then the subscription
value will be requested.

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

space applicable to the PDP. The allocated address may be
read using the +CGPADDR command.

<d_comp> - numeric parameter that controls PDP data compression
0 - off (default if value is omitted)
1 - on
<h_comp> - numeric parameter that controls PDP header compression
0 - off (default if value is omitted)
1 - on
<pd1>, …, <pdN> - zero to N string parameters whose meanings are

specific to the <PDP_type>


Note: a special form of the Set command, +CGDCONT=<cid>, causes the
values for context number <cid> to become undefined.

Note: issuing AT+CGDCONT<CR> is the same as issuing the Read
command.

Note: issuing AT+CGDCONT=<CR> returns the OK result code.

AT+CGDCONT?

Read command returns the current settings for each defined context in the
format:

+CGDCONT: <cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,
<h_comp>[,<pd1>[,…[,pdN]]]<CR><LF>[<CR><LF>+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>
[,<pd1>[,…[,pdN]]]<CR><LF>[…]]

AT+CGDCONT=?

Test command returns values supported as a compound value

Example

AT+CGDCONT=1,”IP”,”APN”,”10.10.10.10”,0,0
OK

AT+CGDCONT?
+CGDCONT: 1,”IP”,“APN”,”10.10.10.10”,0,0

OK
AT+CGDCONT=?
+CGDCONT: (1-5),”IP”,,,(0-1),(0-1)


OK

Reference GSM

07.07


+CGDCONT - Define PDP Context

SELINT 2

AT+CGDCONT=
[<cid>

Set command specifies PDP context parameter values for a PDP context
identified by the (local) context identification parameter, <cid>

Advertising