Rainbow Electronics GM862-QUAD-PY User Manual

Page 157

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

+CGDCONT - Define PDP Context

SELINT 2

[,<PDP_type>
[,<APN>
[,<PDP_addr>
[,<d_comp>
[,<h_comp>
[,<pd1>
[,…[,pdN]]]]]]]]]


Parameters:
<cid> - (PDP Context Identifier) numeric parameter which specifies a

particular PDP context definition.

1..max - where the value of max is returned by the Test command
<PDP_type> - (Packet Data Protocol type) a string parameter which

specifies the type of packet data protocol

"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.

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>+CGDCONT: <cid>,
<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>
[,<pd1>[,…[,pdN]]][…]]

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

3.5.4.7.6 Quality Of Service Profile (Minimum Acceptable) - +CGQMIN

Advertising