Siemens M1 User Manual
Page 41
40
gsm-m1-e.fm
GSM M1 Module, English: A24859-N4000-A100-1-7677
Technical reference section
26.2.96
Example:
You enter the correct PIN:
Enter:
AT+CPIN=“1234“
GSM module:
OK
You enter an incorrect PIN:
Enter:
AT+CPIN=“1234“
GSM module:
+CME: ERROR: WRONG PASSWORD
Phase 2 includes SIM cards with an FDN phonebook. You can activate a block on the
card in order to restrict the telephone numbers that can be called to those contained
in this directory. To modify these entries, you must enter PIN2 with the aid of the
AT+CPIN2 command. All entries are similar to those for the AT+CPIN command. This
command is accepted only if the card also supports this functionality.
Please note: PIN2 protects the FDN phonebook. In order to modify the FDN phonebook
by means of the AT+CPBW=... command, you must first enter PIN2. If you have not yet
done so, an error message is returned. After entering PIN2, you can read or write any
number of directory entries without having to enter PIN2 each time. As soon as you use
a command that is not related to the phonebook, PIN2 is “forgotten”
. It is also forgotten
if you do not access the phonebook for a period of 5 minutes.
AT+CPIN2 - Enter PIN2 and query PIN2 blocks
AT+CPIN2
Command
Result
AT+CPIN2?
Queries whether PIN2 has already been entered, must still
be entered or is blocked.
AT+CPIN2=
PIN2 entry. PIN2 can comprise up to 8 positions.
If PUK2 must be entered, PIN2 is entered at the same time.
It is then stored as a new PIN2.
AT+CPIN2?
Result code
Meaning
+CPIN: READY
M1 does not expect PIN2; it has already been entered.
+CPIN: SIM PIN2
M1 expects PIN2 for the SIM card.
+CPIN: SIM PUK2
M1 expects PUK2 for the SIM card, including PIN2.