Read command

The read command checks if a Personal Identification Number (PIN) is needed.

Response syntax:

+CPIN: <code>

The read command parameter and its defined values are the following:

READY – no PIN required
SIM PIN – PIN code required
SIM PUK – PUK code required
SIM PIN2 – PIN2 code required
SIM PUK2 – PUK2 code required

The following command example shows how to check if a PIN code is needed with the response that a PIN code is required: