User manual

Wavecom GSM Modem
This confidential document is the property of WAVECOM and may not be copied or circulated without permission
24
Example : 3 failed PIN validations + 1 successful PUK validation
AT+CPIN?
+CPIN: SIM PIN
the application asks for PIN status
the GSM module requires PIN
AT+CPIN="1235"
+CME ERROR: 16
the application enters the PIN
bad PIN
AT+CPIN="1236"
+CME ERROR: 16
Second attempt
bad PIN
AT+CPIN="1238"
+CME ERROR: 16
last attempt
bad PIN
AT+CPIN?
+CPIN: SIM PUK
and now ?
the GSM module requires PUK
AT+CPIN="99999999","5678"
OK
the PUK is entered, the new PIN shall be 5678 PUK
validation is OK. New Pin is 5678
AT+CPIN?
+CPIN: READY
and now ?
GSM module is ready
4.9.1. Remark
In the way Application to GSM, an "h" character shall be added before
the PIN value if cyphering mode (with D.E.S algorithm ) is on. See +EXPKEY
command.
Same remark for +CLCK and +CPWD commands.