nrf9160

Set command

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

Syntax:

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

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

<cid>
Integer, 0–10.
<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,1,"username","password"
OK