Chapter 15 – GPRS Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 150
Syntax: Command Syntax: AT+CGDCONT
Command Possible responses
AT+CGDCONT=[<cid> [,<PDP_type>
[,<APN> [,<PDP_addr> [,<d_comp>
[,<h_comp>]]]]]]
OK
ERROR
AT+CGDCONT? +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
AT+CGDCONT=? +CGDCONT: (range of supported <cid>s),
<PDP_type>,,,(list of supported <d_comp>s),
(list of supported <h_comp>s)
[<CR><LF>+CGDCONT: (range of supported <cid>s),
<PDP_type>,,,(list of supported <d_comp>s),(list of
supported <h_comp>s)
[...]]
OK
AT+CGDCONT: 1, “IP” “internet”;
AT+CGCONT=2, “IP”, “abc.com” OK
AT+CGDCONT=?
+CGCONT: (1-4), “IP”,,,(0-1),(0-1)
+CGCONT: (1-4), “PPP”,,,0,0,0
OK
AT+CGCONT? +CGCONT: 1, “IP”,”internet”,,0,0
+CGCONT: 2, “IP”,”abc.com”,,0,0
OK