User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
13Packet switched data services
Page 154 of 401
13.16PDP context read dynamic parameters +CGCONTRDP
+CGCONTRDP
SARA-R410M-02B SARA-R410M-52B SARA-R410M-63B SARA-R410M-73B SARA-R410M-83B
SARA-R412M
Modules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial No No No - +CME Error
13.16.1Description
Returns the relevant information <bearer_id>, <APN>, <local_addr_and_subnet_mask>, <gw_addr>, <DNS_
prim_addr>, <DNS_sec_addr>, <P-CSCF_prim_addr>, <P-CSCF_sec_addr>, <IM_CN_Signalling_Flag_Ind>,
<LIPA_indication>, <IPv4_MTU> and <WLAN_offload> for an active non secondary PDP context with the
context identifier <cid>.
If the MT indicates more than two IP addresses of P-CSCF servers or more than two IP addresses of DNS
servers, multiple lines of information per <cid> will be returned.
A set command with an undefined <cid> provides an error result code.
If the parameter <cid> is omitted, the relevant information for all active non secondary PDP contexts is
returned.
SARA-R4 / SARA-N4
If the <pdp_type> parameter is set to "IPV4V6", for each IP address both the IPv4 and the IPv6 addresses
are printed. The printing format depends on the parameter:
<local_addr_and_subnet_mask>, <P-CSCF_prim_addr>, <P-CSCF_sec_addr>: the IPv4 address and
the IPv6 addresses are separated by a comma (<IPv4>,<IPv6>).
<gw_addr>, <DNS_prim_addr>, <DNS_sec_addr>: the IPv4 address and the IPv6 addresses are
separated by a space (<IPv4> <IPv6>).
SARA-R4 / SARA-N4
The IPv6 addresses notation depends on the +CGPIAF setting.
13.16.2Syntax
Type Syntax Response Example
Set AT+CGCONTRDP[=<cid>] [+CGCONTRDP: <cid>,<bearer_id>,
<APN>[,<local_addr_and_subnet_
mask>[,<gw_addr>[,<DNS_prim_
addr>[,<DNS_sec_addr>[,<P-CSCF_
prim_addr>[,<P-CSCF_sec_addr>[,
<IM_CN_Signalling_Flag_Ind>[,
<LIPA_indication>[,<IPv4_MTU>[,
<WLAN_offload>[,<Local_Addr_
Ind>]]]]]]]]]]]]
[+CGCONTRDP: <cid>,<bearer_id>,
<APN>[,<local_addr_and_subnet_
mask> [,<gw_addr>[,<DNS_prim_
addr>[,<DNS_sec_addr>[,<P-CSCF_
prim_addr>[,<P-CSCF_sec_addr>[,
<IM_CN_Signalling_Flag_Ind>[,
<LIPA_indication>[,<IPv4_MTU>[,
<WLAN_offload>[,<Local_Addr_
Ind>]]]]]]]]]]]
[...]]
OK
AT+CGCONTRDP=1
+CGCONTRDP: 1,0,"web.omnitel.it",
"109.113.62.238.255.255.255.255",
"109.113.62.201","83.224.70.77",
"83.224.70.54",,,,0,0,0,0
OK
Test AT+CGCONTRDP=? +CGCONTRDP: (list of active non
secondary PDP contexts)
OK
+CGCONTRDP: 1
OK