User Guide

AT Command Set
MC35_ATC_01_V05.00 Page 162 of 256 15.07.2002
6.1.4 AT+CGDCONT Define PDP Context
Test command
AT+CGDCONT=?
The test command returns values supported as a compound value. If the
MT supports several PDP types, the parameter value ranges for each
<PDP_type> are returned on a separate line.
Response
+CGDCONT: (range of supported <cid>s), <PDP_type>,,,(list of supported
<d_comp>s), (list of supported <h_comp>s) [<CR><LF>+CGDCONT: ...]
OK/ERROR/+CME ERROR
Parameter
<cid> See write command
<PDP_type> See write command
<d_comp> numeric parameter that controls PDP data compres-
sion
0 off
<h_comp> numeric parameter that controls PDP header com-
pression
0 off
Read command
AT+CGDCONT?
The read command returns the current settings for each defined context. If
there is no context define simply OK will be returned.
Response
+CGDCONT: <cid>, <PDP_type>, <APN>, <PDP_addr>, <data_comp>,
<head_comp> [<CR><LF>+CGDCONT: ...]
OK/ERROR/+CME ERROR
Parameter
<cid> See write command
<PDP_type> See write command
<APN> See write command
<PDP_addr> See write command
<d_comp> See test command
<h_comp> See test command
Write command
AT+CGDCONT=[<cid>
[,<PDP_type>[,<APN>
[,<PDP_addr>]]]]
This command specifies PDP context parameter values for a PDP context
identified by the (local) context identification parameter, <cid>. A special
form of the set command, +CGDCONT= <cid> causes the values for con-
text number <cid> to become undefined. AT&F and ATZ will undefine
every context which is not active or not online.
Parameter
<cid> This PDP Context Identifier is a numeric parameter
which specifies a particular PDP context definition.
The parameter is local to the TE-MT interface and is
also used in other PDP context-related commands. If
no cid is given, nothing will be changed (neither con-
text definition nor undefinition).
1
2