M10 AT Commands Set
M10_ATC_V1.01
- 107 -
5.2.2 AT+CGDCONT Define PDP Context
AT+CGDCONT Define PDP Context
Test Command
AT+CGDCONT
=?
Response
+CGDCONT:
(range of supported <
cid
>s), <
PDP_type
>, <
APN
>,
<
PDP_addr
>, (list of supported <
data_comp
>s), <list of supported
<
head_comp
>s)
OK
Parameters
See Write Command
Read Command
AT+CGDCONT
?
Response
+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<head_comp>
<CR><LF>+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<head_comp>
…
OK
Parameters
See Write Command
Write Command
AT+CGDCONT
=<cid>[,<PDP_ty
pe>,[APN>[,<PD
P_addr>[,<d_co
mp>[,<h_comp>]
]]]]
Response
OK
ERROR
Parameters
<cid>
(PDP Context Identifier) a numeric parameter which
specifies a particular PDP context definition. The parameter
is local to the TE-MT interface and is used in other PDP
context-related commands. The range of permitted values
(minimum value=1) is returned by the test form of the
command.
<PDP_type>
(Packet Data Protocol type) a string parameter which
specifies the type of packet data protocol X25
ITU-T/CCITT X.25 layer 3 IP Internet Protocol (IETF STD
5) OSPIH Internet Hosted Octet Stream Protocol PPP Point
to Point Protocol (IETF STD 51)
<APN>
(Access Point Name) a string parameter that is a logical
name that is used to select the GGSN or the external packet
data network. If the value is null or omitted, then the
subscription value will be requested.
<PDP_addr>
a string parameter that identifies the MT in the address
space applicable to the PDP. If the value is null or omitted,
then a value may be provided by the TE during the PDP
startup procedure or, failing that, a dynamic address will be
Quectel