nrf9160

Set command

The set command changes the password for the facility lock.

Syntax:

+CPWD=<fac>,<oldpwd>,<newpwd>

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

<fac>
SC – Subscriber Identity Module (SIM) Personal Identification Number (PIN)
P2 – SIM PIN2
<oldpwd>,<newpwd>
String. Password.
Note: Currently only SC is supported.

The following command example changes the SIM PIN:

AT+CPWD="SC","1234","5678"
OK