Read command

The read command returns the IPv6 address format.

Response syntax:

+CGPIAF: <IPv6_AddressFormat>,<IPv6_SubnetNotation>,<IPv6_LeadingZeros>,<IPv6_CompressZeros>

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

<IPv6_AddressFormat>
1 – Use IPv6-like colon notation
<IPv6_SubnetNotation>
1 – Use / (forward slash) subnet prefix Classless Inter-domain Routing (CIDR) notation
<IPv6_LeadingZeros>
1 – Leading zeros are included
<IPv6_CompressZeros>
0 – No zero compression

The example command reads the current IPv6 address format:

AT+CGPIAF?
+CGPIAF: 1,1,1,0
OK