AT Commands Modem Terminated
194
5.13.2 Commands
AT+CGDCONT
Define PDP Context
Description:
Specifies the PDP context parameter values for a PDP context identified by the <cid>
parameter.
Set command:
AT+CDGCONT=
[<cid>[,<pdp_type>[,<APN>[,<pdp_addr>[,<d_comp>
[,<h_comp>[,<pd1>[,...[,<pd
N
>]]]]]]]]]
Read command:
AT+CGDCONT?
Displays the current parameter settings.
Read command
response:
+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]]]
<CR><LF>
[...]]
Test command:
AT+CGDCONT=?
Shows if the command is supported.
Test command
response:
+CGDCONT: (range of supported <cid>s),<pdp_type>,(list of supported
<d_comp>s),(list of supported <h_comp>s)[,(list of supported <pd1>s),(list of
supported <pd2>s),...,(list of supported <pdN>s)]
Parameters:
<cid>:
Integer; Specifies the particular PDP context definition. The parameter is local to the
TA-TE interface and is used in other PDP-context related commands. The range of
permitted values (minimum value=’1’) is returned by the test command.
<pdp_type>:
<pdp_type>
Description
“X25”
ITU-T/CCIT X.25 layer 3
“IP”
Internet Protocol
“OSPIH”
Internet Hosted Octet Stream Protocol
“PPP”
Point-to-Point Protocol
<APN>:
String; used to select the GGSN or the external packet data network. If the value is
null or is omitted, the subscription value will be requested.
<pdp_address>:
String; identifies the MT in the address space applicable to the PDP. If the value is null
or is omitted, a value may be provided by the TE during the PDP start-up procedure
or, if that fails, a dynamic address will be requested.
<d_comp>:
<d_comp>
Description
0
PDP data compression OFF
Default setting
1
PDP data compression ON
2-255
Reserved
<h_comp>:
<h_comp>
Description
0
PDP header compression OFF
Default setting
1
PDP header compression ON
2-255
Reserved