User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
13Packet switched data services
Page 130 of 401
Entering OnLine Command Mode (OLCM) during LCP handshake phase is strongly discouraged because
the handshake procedure could be broken and should be restarted from the beginning.
13.3Printing IP address format +CGPIAF
+CGPIAF
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
full Yes No No - +CME Error
13.3.1Description
Defines the printing format of IPv6 address parameters of the other AT commands. See RFC 4291 [74] for
details of the IPv6 address format.
SARA-R4 / SARA-N4
The affected parameters are:
In +CGDCONT the <PDP_addr> parameter
In +CGPADDR the <PDP_addr_1> and <PDP_addr_2> parameters
In +CGCONTRDP, the <local_address_and_subnet_mask>, <dns_prim_addr>, <dns_sec_addr>, <P_
CSCF_prim_addr> and <P_CSCF_sec_addr> parameters
13.3.2Syntax
Type Syntax Response Example
Set AT+CGPIAF=[<IPv6_
AddressFormat>[,<IPv6_
SubnetNotation>[,<IPv6_
LeadingZeros>[,<IPv6_
CompressZeros>]]]]
OK AT+CGPIAF=1,1,1,1
OK
Read AT+CGPIAF? +CGPIAF: <IPv6_AddressFormat>,
<IPv6_SubnetNotation>,
<IPv6_LeadingZeros>,<IPv6_
CompressZeros>
OK
+CGPIAF: 0,0,0,0
OK
Test AT+CGPIAF=? +CGPIAF: (list of supported
<IPv6_AddressFormat>s),
(list of supported <IPv6_
SubnetNotation>s),(list of
supported <IPv6_LeadingZeros>s),
(list of supported <IPv6_
CompressZeros>s)
OK
+CGPIAF: (0-1),(0-1),(0-1),(0-1)
OK
13.3.3Defined values
Parameter Type Description
<IPv6_
AddressFormat>
Number Defines the IPv6 address format:
0 (default value): IPv4-like dot-notation used. IP address and subnetwork mask if
applicable, are dot-separated
1: IPv6-like colon-notation used. IP address and subnetwork mask if applicable and
when given explicitly, are separated by a space
<IPv6_
SubnetNotation>
Number Defines the subnet-notation for <remote_address_and_subnet_mask>. The setting
does not apply if <IPv6_AddressFormat>=0:
0 (default value): both IP address and subnet mask are explicitly stated, separated
by a space
1: the printout format is applying / (forward slash) subnet-prefix Classless Inter-
Domain Routing (CIDR)