Set command

The set command specifies authentication parameters for a Packet Data Network (PDN) connection specified by parameter <cid>.

Syntax:

+CGAUTH=<cid>[,<auth_prot>[,<userid>[,<password>]]]

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

<cid>
0–11
<auth_prot>
0 – None. Username and password are removed if they have been specified.
1 – PAP
2 – CHAP
<userid>
String
<password>
String

The following command example sets authentication parameters for CID=1 context:

AT+CGAUTH=1,"PAP","username","password"
OK