Test command

The test command returns the supported IPv6 address formats.

Response syntax:

+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)

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 following command example reads the current IPv6 address format:

AT+CGPIAF=?
+CGPIAF: (1),(1),(1),(0)
OK