Set command

The set command returns information for an active Packet Data Network (PDN) connection.



Response syntax:

+CGCONTRDP: <cid>,<bearer_id>,<apn>[,<local_addr and subnet_mask>[,<gw_addr>[,<DNS_prim_addr>[,<DNS_sec_addr>[,,,,,<IPv4_MTU]]]]]

The set command parameters and their defined values are the following:

0–11 (mandatory)
Integer. Not supported.
String, a logical name for the network
<local_addr and subnet_mask>
String. Not supported.
String. Not supported.
<DNS_prim_addr>, <DNS_sec_addr>
String. DNS server IP address
IPv4 Maximum Transmission Unit (MTU) size
Note: If the PDN connection has dual stack capabilities, at least one pair of lines with information is returned per <cid>: First one line with the IPv4 parameters followed by one line with the IPv6 parameters.

The following command example reads dynamic parameters for an initial PDN connection:

+CGCONTRDP: 0,,"internet","","","","",,,,,1028