Cinterion
®
EHS6 AT Command Set
11.6 AT+CGDCONT
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 292 of 513
11.6 AT+CGDCONT Define PDP Context
The AT+CGDCONT write command specifies the parameters for a PDP context identified by the context identifier
<cid>. The number of contexts that may be in a defined state at the same time is given by the range indicated
in the test command response. A special form of the write command (AT+CGDCONT=<cid>) causes the values
for context <cid> to become undefined.
The AT+CGDCONT read command returns the current settings for each defined PDP context.
The AT+CGDCONT test command returns supported values as a compound value.
Check of ACL (APN Control List):
The ACL will be checked only if a USIM is inserted. Before performing of context definition it will be checked if
the ACL-service is enabled and activated (3GPP TS 31.102 version 9.3.0 , sections 4.2.8 and 4.2.47). If yes all
APNs from ACL of EFACL of USIM will be read out and compared with the requested APN.
• If the requested APN is listed in the ACL the context definition will be performed.
• If the requested APN is empty ("") and ACL contains "network provided APN" the context definition will also
be requested.
• If the APN is not listed in the ACL the command returns CME ERROR: 4 or CME ERROR: Operation not sup-
ported.
• If the ACL-service is not enabled or not activated in the USIM or a GSM-SIM is inserted the context definition
will be performed without any checks.
Syntax
Test Command
AT+CGDCONT=?
Response(s)
+CGDCONT: (range of supported<cid>s), <PDP_type>, , , (list of supported <d_comp>s), (list of supported
<h_comp>s)
OK
ERROR
+CME ERROR: <err>
Read Command
AT+CGDCONT?
Response(s)
[+CGDCONT: <cid>, <PDP_type>, <APN>, <PDP_addr>, <d_comp>, <h_comp>]
[+CGDCONT: ...]
OK
ERROR
+CME ERROR: <err>
Write Command
AT+CGDCONT=[<cid>[, <PDP_type>[, <APN>[, <PDP_addr>]]]]
Response(s)
OK
ERROR
+CME ERROR: <err>
PIN Last Reference(s)
+ + - 3GPP TS 27.007 [45]