nrf9160

Set command

The set command enters the Personal Identification Number (PIN).

Syntax:

+CPIN=<pin>[,<newpin>]

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

<pin>
String of digits
<newpin>
String of digits. Mandatory if the required code is Subscriber Identity Module (SIM) Personal Unblocking Key (PUK) or SIM PUK2.
Note: If no PIN is required, the response code is ERROR.

The following command example enters PIN 1234:

AT+CPIN="1234"
OK